[ 
https://issues.apache.org/jira/browse/MDEP-291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise closed MDEP-291.
------------------------------------
    Resolution: Implemented

using maven-dependency-plugin version 2.10 you will get an error message like 
this:
{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-dependency-plugin:2.10:copy-dependencies (issue) 
on project issue-module2: Artifact has not been packaged yet. When used on 
reactor artifact, copy should be executed after packaging: see MDEP-187. -> 
[Help 1]
{code}

> Error when copying within reactor for phases earlier than package
> -----------------------------------------------------------------
>
>                 Key: MDEP-291
>                 URL: https://issues.apache.org/jira/browse/MDEP-291
>             Project: Maven 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
>         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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to