[jboss-dev-forums] [Design of JBoss internal QA (Test Suite)] - Maven annoyances
anil.saldhana@jboss.com
do-not-reply at jboss.com
Tue Sep 19 16:30:31 EDT 2006
Ok, the default maven jar plugin adds lots of junk to the created jar file like META-INF/maven/pom.xml etc (reasoning: jar files are self describing about the maven versioning or something like that)
| You will need to define:
| <plugins>
| <plugin>
| <groupId>org.apache.maven.plugins</groupId>
| <artifactId>maven-jar-plugin</artifactId>
| <version>2.1</version>
| <configuration>
| <archive>
| <addMavenDescriptor>false</addMavenDescriptor>
| </archive>
| </configuration>
| </plugin>
| </plugins>
|
in your build element in the pom.xml
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972724#3972724
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972724
More information about the jboss-dev-forums
mailing list