You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Torben Knerr (JIRA)" <ji...@codehaus.org> on 2015/03/05 13:26:23 UTC

[jira] (MDEP-187) dependency:copy fails when invoked from m2e with workspace resolution enabled, or more generally when copying within reactor for phases earlier than package

    [ https://jira.codehaus.org/browse/MDEP-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=364538#comment-364538 ] 

Torben Knerr commented on MDEP-187:
-----------------------------------

Also having this issue. Updating maven-dependency-plugin to >= 2.5 gives me the improved error message, however I do not get rid of the warning.

No matter which phase I'm using, it will be always there after doing "Maven -> Update Project..."

@Warren: the error disappears after a "mvn clean", but it comes back right after "Maven -> Update Project..."...


> dependency:copy fails when invoked from m2e with workspace resolution enabled, or more generally when copying within reactor for phases earlier than package
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MDEP-187
>                 URL: https://jira.codehaus.org/browse/MDEP-187
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: copy, copy-dependencies
>    Affects Versions: 2.1
>            Reporter: Igor Fedorenko
>         Attachments: MDEP-187b.diff, MDEP-187c.diff, MDEP-187.diff
>
>
> m2e resolves workspace artifacts to their output folders but dependency:copy expects all artifacts to be files. I will provide trivial patch shortly.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)