[
https://jira.codehaus.org/browse/MDEP-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284622#comment-284622
]
Aaron Digulla commented on MDEP-233:
------------------------------------
The bug is that the copy task will put the JAR and the POM in different folders
(see MDEP-312), that is the code which implements {{copyPom}} doesn't honor the
value of {{useRepositoryLayout}}. All POMs will end up in the
{{outputDirectory}} and the JARs will be in subfolders.
> dependency:copy goal should accept copyPom and useRepositoryLayout properties
> -----------------------------------------------------------------------------
>
> Key: MDEP-233
> URL: https://jira.codehaus.org/browse/MDEP-233
> Project: Maven 2.x Dependency Plugin
> Issue Type: Improvement
> Components: copy
> Affects Versions: 2.2
> Reporter: Antonio Manuel Muñiz Martín
> Assignee: Brian Fox
> Priority: Minor
>
> dependency:copy goal should accept copyPom and useRepositoryLayout properties:
> {code}
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-dependency-plugin</artifactId>
> <version>2.1</version>
> <configuration>
> </artifactItems>
> <artifactItem>
> <groupId>javax.transaction</groupId>
> <artifactId>jta</artifactId>
> <version>1.0.1B</version>
> <outputDirectory>target/lib/jta</outputDirectory>
> </artifactItem>
> </artifactItems>
> <copyPom>true</copyPom>
> <useRepositoryLayout>true</useRepositoryLayout>
> </configuration>
> </plugin>
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira