Yes, we are filtering some resources using maven-resources-plugin, but not those resources that are being overwriten.
I have already found a working solution. First of all, I defined in yui compressor alternative output directory in /target. For example /target/preassembly. Then I defined in maven-war-plugin alternative source directory /target/preassembly. Here is the configuration (without irrelevant rows): <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <webResources> <resource> <directory> ${project.build.directory}/preassembly</directory> </resource> </webResources> </configuration> </plugin> <plugin> <groupId>net.sf.alchim</groupId> <artifactId>yuicompressor-maven-plugin</artifactId > <configuration> <webappDirectory> ${project.build.directory}/preassembly</webappDirectory> </configuration> </plugin> Thanks for your interest Wayne. David Benes From: Wayne Fay <wayne...@gmail.com> To: Maven Users List <users@maven.apache.org> Date: 23.11.2009 17:51 Subject: Re: phase war:war->"Copying webapp resources" overwrites already processed resources >Are you using any filtering while processing your resources, or no? Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org