You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2017/04/17 14:10:41 UTC
[jira] [Updated] (MDEP-446) make available on
command line for dependency:copy
[ https://issues.apache.org/jira/browse/MDEP-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MDEP-446:
--------------------------------
Description:
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:
{code:xml}
<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>
{code}
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
was:
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
> make <destFileName> available on command line for dependency:copy
> -----------------------------------------------------------------
>
> Key: MDEP-446
> URL: https://issues.apache.org/jira/browse/MDEP-446
> Project: Maven Dependency Plugin
> Issue Type: Improvement
> Components: copy
> Affects Versions: 2.8
> Reporter: Thomas Wabner
> Fix For: more-investigation
>
>
> 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:
> {code:xml}
> <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>
> {code}
> 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.3.15#6346)