I use maven-jar-plugin like below. In this case, the test jar and jar will have the same configuration. How can I set them separately?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<inherited>false</inherited>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>test-jar</goal>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<outputDirectory>target/</outputDirectory>
<excludes>
<exclude>**/*.properties</exclude>
<exclude>**/images/**</exclude>
<exclude>**/protocols/**</exclude>
<exclude>**/report/**</exclude>
</excludes>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>ui.Starter</mainClass>
<packageName>UI
DEMO</packageName>
</manifest>
<manifestEntries>
<mode>development</mode>
</manifestEntries>
</archive>
</configuration>
</plugin>
--
View this message in context:
http://www.nabble.com/How-to-set-jar-and-test-jar-separately--tp20111475p20111475.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
