copy-resources does not work with multi-module maven project ------------------------------------------------------------
Key: MRESOURCES-103 URL: http://jira.codehaus.org/browse/MRESOURCES-103 Project: Maven 2.x Resources Plugin Issue Type: Bug Affects Versions: 2.4 Environment: Maven version: 2.0.9 Java version: 1.6.0_16 Reporter: Jan Tietjens Having a multi-module project the copy-resources task does run. It works in version 2.3. Example config: {noformat} <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.3</version> <executions> <execution> <id>copy-resources</id> <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>target/extracted-config/</outputDirectory> <resources> <resource> <directory>target/dependency/WEB-INF//</directory> <includes> <include>bla.xml</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin> {noformat} Error message: {noformat} [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] 'copy-resources' was specified in an execution, but not found in the plugin [INFO] ------------------------------------------------------------------------ {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira