Hi Rose,
A solution appears to require modifying both make-pom to generate the <type> element as well as requiring such dependencies to explicitly declare the type/packaging like:
"org.mongodb" %% "casbah" % "2.4.0" type("pom")
(with some non-reserved substitute for type). 'type' can currently be done like:
artifacts( Artifact("casbah", "pom", "pom") )
or similar, but a `type` convenience method would make it a bit nicer. Please open a bug for this.
> How can I fix my build file so that the Casbah dependency shows correctly
> with* **<type>pom</type>* in my artifacts?
The immediate workaround is to post-process the pom.xml. The `pomPostProcess` setting is a transformation scala.xml.Node => scala.xml.Node that is called on the final pom.xml produced by make-pom.
pomPostProcess := { (pomXML: scala.xml.Node) =>
...
}
-Mark
> Thanks,
> Rose
>
> --
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/simple-build-tool/-/MLlyfd6p0O8J.
> To post to this group, send email to
simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to
simple-build-t...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/simple-build-tool?hl=en.
>