You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl-Heinz Marbaise (JIRA)" <ji...@codehaus.org> on 2014/09/06 15:35:10 UTC
[jira] (MDEP-446) make available on command line for
dependency:copy
[ https://jira.codehaus.org/browse/MDEP-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=352413#comment-352413 ]
Karl-Heinz Marbaise commented on MDEP-446:
------------------------------------------
There is one little thing cause the destFileName is part of artifactItem which can be exist multiple times and then is the question to which should the given thing on command belong to?
> make <destFileName> available on command line for dependency:copy
> -----------------------------------------------------------------
>
> Key: MDEP-446
> URL: https://jira.codehaus.org/browse/MDEP-446
> Project: Maven Dependency Plugin
> Issue Type: Improvement
> Components: copy
> Affects Versions: 2.8
> Reporter: Thomas Wabner
>
> It would be nice to be able to specify the destFileName as parameter on commandline, to copy a dependency.
> This is currently only supported in the pom.xml configuration section for the dependency plugin like:
> <artifactItems>
> <artifactItem>
> <groupId>${project.groupId}</groupId>
> <artifactId>${project.artifactId}</artifactId>
> <version>${project.version}</version>
> <type>${project.packaging}</type>
> <destFileName>${project.build.finalName}.${project.packaging}</destFileName>
> <overWrite>true</overWrite>
> </artifactItem>
> </artifactItems>
> We want to have a option on command line, to specify the destFileName with a parameter.
> For example:
> mvn dependency:copy -Dartifact=groupid:artifactId:version:war -Dmdep.stripVersion=true -DoutputDirectory=/temp/ -Dartifact.destFileName=result.war
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)