duplicated SNAPSHOT dependencies
--------------------------------

                 Key: MDEP-209
                 URL: http://jira.codehaus.org/browse/MDEP-209
             Project: Maven 2.x Dependency Plugin
          Issue Type: Bug
          Components: copy-dependencies
    Affects Versions: 2.1
         Environment: Maven version: 2.0.10
Java version: 1.6.0_12
OS name: "linux" version: "2.6.27-gentoo-r8" arch: "i386" Family: "unix"

and

Maven version: 2.0.9
Java version: 1.6.0_07
OS name: "freebsd" version: "7.0-release-p3" arch: "i386" Family: "unix"


            Reporter: Reto Bachmann-Gmür
            Assignee: Brian Fox


Copying dependencies with the following directive:

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.1</version>
        <executions>
                <execution>
                        <goals>
                                <goal>copy-dependencies</goal>
                        </goals>
                        <id>copy-security-as-framework-bundles</id>
                        <configuration>
                        <useRepositoryLayout>true</useRepositoryLayout> 
<outputDirectory>${basedir}/target/framework-bundles</outputDirectory>  
<includeArtifactIds>org.trialox.platform.security</includeArtifactIds>
                </configuration>
                </execution>
</plugin>

The created directory (after executing "mvn clean package")

target/framework-bundles/org/trialox/org.trialox.platform.security/0.2-SNAPSHOT/

contains two files representing the same snapshot version

org.trialox.platform.security-0.2-20090416.175419-944.jar
org.trialox.platform.security-0.2-SNAPSHOT.jar

The problem only occurs when <useRepositoryLayout>true</useRepositoryLayout> is 
used


-- 
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


Reply via email to