this skips compilation of main code and of tests:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.1</version> <configuration> <excludes> <exclude>**/*.*</exclude> </excludes> <testExcludes> <exclude>**/*.*</exclude> </testExcludes> </configuration> </plugin> -- View this message in context: http://maven-users.828.n2.nabble.com/Re-How-to-disable-maven-compiler-plugin-for-jar-packaging-tp685021p7269676.html Sent from the maven users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org