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

Hannes Kogler commented on MDEP-187:
------------------------------------

@Warren
but I need to download my artifact in a phase before package. the phase I want 
to use this is initialize.
and Maven itself does it without any problems, but only when using the m2e 
plugin ("Maven update project" in Eclipse instead of "run as Maven install") 
the error that the downloaded artifact is invalid occurs 

> 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)

Reply via email to