Thank you Jon for the clarification. For reference, here's what I did to get it working (excludes three packages and a source file):
<project> <build> <finalName>myWebApp</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <excludes> <exclude>somepackage/actions/</exclude> <exclude>somepackage/dao/mysql/</exclude> <exclude>somepackage/beans/obsolete/</exclude> <exclude>somepackage/servlets/SomeServlet.java</exclude> </excludes> </configuration> </plugin> </plugins> </build> </project> -- View this message in context: http://www.nabble.com/Excluding-Build-Resources-Within-POM-File-tp24604045p24605695.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