maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <j...@codehaus.org>
Subject [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
Date Wed, 02 Apr 2014 00:54:10 GMT

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

Herve Boutemy edited comment on MDEP-187 at 4/1/14 7:52 PM:
------------------------------------------------------------

error message improved in [r1368246|http://svn.apache.org/viewvc?rev=1368246&view=rev],
for 2.5 release of the plugin
this doesn't fix the problem (which cannot be fixed IMHO) but at least makes it easier to
track

notice that another corner case to take care is when the dependency to copy has a classifier:
we can't even imagine the content before the artifact has been packaged


was (Author: hboutemy):
error message improved in [r1368246|http://svn.apache.org/viewvc?rev=1368246&view=rev]
this doesn't fix the problem (which cannot be fixed IMHO) but at least makes it easier to
track

notice that another corner case to take care is when the dependency to copy has a classifier:
we can't even imagine the content before the artifact has been packaged

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

Mime
View raw message