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>
I don't see a problem with removing it. We will have poms in our repository; they can get it from there.