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

Robert Scholte closed MDEP-340.
-------------------------------

    Resolution: Not A Bug
      Assignee: Robert Scholte

See 
http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#useRepositoryLayout

The name {{useRepositoryLayout}} can be used for the plugin configuration.
For the commandline parameters you _always_ have to use the expression, so in 
this case {{mdep.useRepositoryLayout}}.

Your command should be {{mvn dependency:copy-dependencies 
-Dmdep.useRepositoryLayout=true}}


                
> useRepositoryLayout doesn't work from command line
> --------------------------------------------------
>
>                 Key: MDEP-340
>                 URL: https://jira.codehaus.org/browse/MDEP-340
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: copy-dependencies
>    Affects Versions: 2.2, 2.4
>            Reporter: Jan Völker
>            Assignee: Robert Scholte
>            Priority: Minor
>
> mvn dependency:copy-dependencies -DuseRepositoryLayout=true will not produce 
> a repository layout while the same pom only with
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-dependency-plugin</artifactId>
>   <version>2.4</version> <!-- same with 2.2 -->
>   <configuration>
>     <useRepositoryLayout>true</useRepositoryLayout>
>   </configuration>
> </plugin>
> will do it!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to