You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2014/07/23 20:34:10 UTC

[jira] (MDEP-311) Parameter for "dependency:copy-dependencies" could not provided from command line

     [ https://jira.codehaus.org/browse/MDEP-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MDEP-311.
-------------------------------

    Resolution: Not A Bug
      Assignee: Robert Scholte

When called from the commandline, you always need to use the *User property*, i.e {{mdep.copyPom}} (see [copy-dependencies-mojo.html#copyPom|http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#copyPom])

> Parameter for "dependency:copy-dependencies" could not provided from command line
> ---------------------------------------------------------------------------------
>
>                 Key: MDEP-311
>                 URL: https://jira.codehaus.org/browse/MDEP-311
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: copy-dependencies
>    Affects Versions: 2.2
>            Reporter: Conny Kreyssel
>            Assignee: Robert Scholte
>
> I have to try to make a offline repository for our multi project.
> But if i call "mvn dependency:copy-dependencies -DoutputDirectory=... -DcopyPom=true -DuseRepositoryLayout=true" it exports all artifacts in flat mode without poms.
> If i set this plugin params in the project master pom, it exports all artifact in repository layout and inclusive poms.
> I think this could happen on more than the provided params.



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