copyPom with useRepositoryLayout copies pom to wrong location
-------------------------------------------------------------
Key: MDEP-312
URL: http://jira.codehaus.org/browse/MDEP-312
Project: Maven 2.x Dependency Plugin
Issue Type: Bug
Environment: Apache Maven 2.2.1 (rdebian-4)
Java version: 1.5.0_22
Java home: /usr/local/jdk1.5.0_22/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.35-24-server" arch: "amd64" Family: "unix"
Reporter: Cody Casterline
Assignee: Brian Fox
When I use copyPom with useRepositoryLayout, the JAR gets copied to the correct
repository location, but the pom does not.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.2</version>
<configuration>
<outputDirectory>${basedir}/mavenRepo</outputDirectory>
<useRepositoryLayout>true</useRepositoryLayout>
<copyPom>true</copyPom>
</configuration>
</plugin>
results:
$ find mavenRepo/
mavenRepo/
mavenRepo/commons-io
mavenRepo/commons-io/commons-io
mavenRepo/commons-io/commons-io/1.4
mavenRepo/commons-io/commons-io/1.4/commons-io-1.4.jar
mavenRepo/commons-io/commons-io/maven-metadata-local.xml
mavenRepo/commons-io-1.4.pom
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira