Community
Participate
Working Groups
This is my settings below. The imagesfrom "directory>${target.web.resources}/extjs/resources/ext-theme-classic/images</directory>" do not get initially copied to target, but if I go add an image to ${src.webapp.to.war} (another resource entry below), then it wake-up and handle the files of the first resource. <plugin> <artifactId>maven-war-plugin</artifactId> <configuration> <webResources> <resource> <filtering>false</filtering> <directory>${target.web.resources}/extjs/resources/ext-theme-classic/images</directory> <targetPath>resources/images</targetPath> </resource> <resource> <filtering>false</filtering> <directory>${src.webapp.to.war}</directory> <excludes> <exclude>index.html</exclude> </excludes> </resource> <resource> <filtering>false</filtering> <directory>${project.build.directory}/apiDoc</directory> <targetPath>apiDoc</targetPath> </resource> <resource> <filtering>true</filtering> <directory>${src.webapp.to.war}</directory> <includes> <include>index.html</include> </includes> </resource> </webResources> <webappDirectory>${project.build.directory}/war-exploded</webappDirectory> </configuration> </plugin>
Can you please create a sample project showing this behavior?