Max is right use the exludes configuration with the compiler plugin please see http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html , this will filter out undesired classes ;) .
cheers, Javed On 6/15/06, Max Cooper <[EMAIL PROTECTED]> wrote:
Since it is a class file (as opposed to src/main/webapp content), I suspect that you need to exclude it from the compile, rather than trying to exclude it from the webapp. -Max Mark Reynolds wrote: > Just wondering if anyone knows the answer to this. Not sure if it is a > bug or if I am just not doing it right. > > Thanks. > > -- Mark Reynolds > > Mark Reynolds wrote: >> I have a single class I want to exclude from the my WAR file. It is >> named Install.class and is in the root package (no package). >> >> I have tried this: >> >> <plugin> >> <artifactId>maven-war-plugin</artifactId> >> <configuration> >> <excludes> >> <exclude>**/Install*</exclude> >> </excludes> >> </configuration> >> </plugin> >> >> and this: >> >> <plugin> >> <artifactId>maven-war-plugin</artifactId> >> <configuration> >> <excludes>**/Install*</excludes> >> </configuration> >> </plugin> >> >> but neither work. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]