<build> <finalName>op-balance-job-service</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.7</version> <executions> <execution> <id>copy-resources</id> <phase>compile</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory> ${project.parent.basedir}/op-job-bundler/src/main/webapp/WEB-INF/classes </outputDirectory> <resources> <resource> <directory>${project.build.outputDirectory}</directory> <!--<includes>--> <!--<include>**/com/pingan/isc/**</include>--> <!--</includes>--> <excludes> <exclude> **/webroot/** </exclude> <exclude> **/META-INF/** </exclude> <exclude> **/com/pab/** </exclude> </excludes> </resource> </resources> </configuration> </execution> </executions> </plugin> </plugins> </build>