You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by youhaodeyi <yo...@gmail.com> on 2008/10/26 08:40:31 UTC
About assembly
This is my maven-jar-plugin configuration. I added a 1.0 classifier
execution. When I run "mvn assembly:assembly", it will not generate the 1.0
classifier jar. But when I run "mvn package", the 1.0 classifier jar will be
created. Why doesn't assembly include package?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<inherited>false</inherited>
<executions>
<execution>
<id>jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>1.0</classifier>
<outputDirectory>target/</outputDirectory>
<excludes>
<exclude>i18n/**</exclude>
<exclude>images/**</exclude>
<exclude>protocols/**</exclude>
<exclude>report/**</exclude>
</excludes>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
<manifestEntries>
<mode>development</mode>
</manifestEntries>
</archive>
</configuration>
</execution>
--
View this message in context: http://www.nabble.com/About-assembly-tp20171038p20171038.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org