Hi
I'm trying to use the assembly plugin to build a product distribution. I
include a parent POM declaration in my POM. The parent POM has many
dependencies (mixed scope: compile, provided and test)
When I execute make-assembly the resulting distribution does not contain the
dependent artifacts defined in my parent POM.
Looking at the 'effective POM' I can see the parent POM dependencies, yet the
assembly plugin does not include them in the distribution.
Is this a bug in the assembly-plugin or am I doing something wrong?
assembly.xml:
<assembly
<id>distro</id>
<formats>
<format>dir</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>src/main/resources</directory>
<outputDirectory>/</outputDirectory>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
</dependencySet>
</dependencySets>
</assembly>
pom.xml:
<snip>
<parent>
<artifactId>my-parent.pom</artifactId>
<groupId>com.name.product</groupId>
<version>5.0.0-SNAPSHOT</version>
</parent>
<snip>
If I explicitly add dependencies to my POM then the assembly plugin correctly
adds them to the lib folder of my distribution.
TIA
Simon Temple