Adding blank outputFileNameMapping entry to the dependencySet to avoid unpacking into ${artifactId} subdirectories, and binding the assembly:single goal to the package phase to automatically make/attach the -dep artifact.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@477314 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2006-11-20 20:16:08 +00:00
parent 8b0f212ffa
commit 33e6497989
2 changed files with 10 additions and 0 deletions

View File

@ -33,6 +33,15 @@
<configuration>
<descriptor>src/main/assembly/dep.xml</descriptor>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

View File

@ -15,6 +15,7 @@
<dependencySets>
<dependencySet>
<outputDirectory>/</outputDirectory>
<outputFileNameMapping></outputFileNameMapping>
<unpack>true</unpack>
<scope>runtime</scope>
<excludes>