I have a project that comprises a dozen or so subprojects.  The eventual
web app has on the order of 200 dependencies, but at the 'low end' of the
subprojects there's an API jar file that by rights should have exactly one
dependency.

When I upload the API artifact to nexus, the pom.xml that is generated
contains the complete set of project dependencies, not simply the API
dependencies.

Some trial and error shows that the sub-project's dependency list is used
for compiling and running unit tests, but POM generation and eclipse
.classpath generation seem to use the union of all the subproject
dependencies.

Is this a bug ?  I'm currently working around the issue using the
'pom.content' method to hand-build the exported pom.xml file, but IWBNI
there was a better way.


I'm running buildr 1.5.8 on ruby 2.4.

Thanks in advance,
Robin

Reply via email to