[ http://jira.codehaus.org/browse/MDEP-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241432#action_241432 ]
Anders Hammar commented on MDEP-291: ------------------------------------ Here's the error output: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.1:copy-dependencies (issue) on project issue-module2: Error copying artifact from /Users/anders/Documents/workspace-3.6/issue-parent/issue-module1/target/classes to /Users/anders/Documents/workspace-3.6/issue-parent/issue-module2/target/dependency/classes: /Users/anders/Documents/workspace-3.6/issue-parent/issue-module1/target/classes (No such file or directory) -> [Help 1] > Error when copying within reactor for phases earlier than package > ----------------------------------------------------------------- > > Key: MDEP-291 > URL: http://jira.codehaus.org/browse/MDEP-291 > Project: Maven 2.x Dependency Plugin > Issue Type: Bug > Components: copy-dependencies > Affects Versions: 2.1 > Environment: MacOS 10.6.4 (also seen on Windows XP) > Maven 3.0 > Mac Java 1.6 (also seen on SUN JDK 1.6.0_18 on Windows) > Reporter: Anders Hammar > Assignee: Brian Fox > Attachments: issue-parent.zip > > > For a multi-module project where a module executes > dependency:copy-dependencies on another module in the build, this does not > work when building within the reactor (i.e. executing a phase earlier than > package). > This can be recreated with the attached project: > In the aggregating project, execute "mvn prepare-package". -- 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