Details
Description
In my project there's an artifact, which can be resolved by 2 different paths (scopes in brackets)
a) Project->projA(compile)->projB(compile)->myArtifact(runtime) b) Project->projB(test)->myArtifact(runtime)
The relevant part of the distribution descriptor is the following
<formats> <format>zip</format> </formats> <dependencySets> <dependencySet> <outputDirectory>/lib</outputDirectory> <useProjectArtifact>true</useProjectArtifact> <unpack>false</unpack> <scope>runtime</scope> </dependencySet> </dependencySets>
So when I run assembly:assembly I wonder, why myArtifact isn't included in my zip. I now think, that assembly favours the shorter path b) despite the test-scope over the longer but correct path a).
Since test-scope dependencies should have nothing to do with distribution (if not included explicitly) myArtifact should have be included in my zip.
Attachments
Issue Links
- is related to
-
MASSEMBLY-395 Module dependencies not included
- Closed