<exclude name="WEB-INF/classes/**/*.class"/>
Ultimately I plan to split the war generation into two phases
Phase 1: Build the structure of the war in target/war Phase 2: Compact it all into a war file
Thus, users will be able to pre and post goal these targets to more finely control the build process. You would also be able to point your container at this directory for a faster build / compile cycle.
Cheers,
Ben
Angus Chan wrote:
I put the class files to webapp/WEB-INF/classes for development. But when I do war:war the target war file contains duplicate entry for *.class since it adds both webapp/**/* and target/**/* to the war file.
I think an exclude rule <exclude name="WEB-INF/classes/**/*"/> should be added under <fileset dir="${maven.war.src}"> to fix this problem
--------------------------------------------------------------------- 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]
