Hi,
I would like to change the dependencies generated when
installing/uploading maven artifacts. First, the example given in the 0.9
docs don't work (the whenConfigured option) because it fails with not
finding `installer`:
[installer, deployer]*.pom*.whenConfigured {pom ->
pom.dependencies.find {dep -> dep.groupId == 'group3' && dep.artifactId
== 'runtime' }.optional = true
}
But, what I would like to do is basically exclude all the test scoped
dependencies from the pom generated. Also, I would like to change the scope
of some compile ones to runtime (and make them optional). What is the
simplest way to achieve that?
Cheers,
Shay
--
View this message in context:
http://old.nabble.com/maven-pom-generation-tp28119288p28119288.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email