repository does not handle classified artifacts properly
--------------------------------------------------------

                 Key: MASSEMBLY-218
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-218
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.2-beta-1
            Reporter: Stephane Nicoll


I am creating a simple repository with a project that contains classified 
dependencies (obfuscated jars):

{code:xml}
<repositories>
      <repository>
        <includeMetadata>true</includeMetadata>
        <scope>test</scope>
        <outputDirectory>repo</outputDirectory>
      </repository>
</repositories>
{code}

The assembly plugins generates a weird structure based on that:

{noformat}
shared
|-- bar
|   `-- foo-bar
|       |-- 5.10.4-20070613.122033-2
|       |   |-- foo-bar-5.10.4-20070613.122033-2-obfuscated.jar
|       |   |-- foo-bar-5.10.4-20070613.122033-2-obfuscated.jar.md5
|       |   `-- foo-bar-5.10.4-20070613.122033-2-obfuscated.jar.sha1
|       |-- 5.10.4-SNAPSHOT
|       |   |-- foo-bar-5.10.4-SNAPSHOT.pom
|       |   |-- foo-bar-5.10.4-SNAPSHOT.pom.md5
|       |   `-- foo-bar-5.10.4-SNAPSHOT.pom.sha1
|       |-- maven-metadata-central.xml
|       |-- maven-metadata-central.xml.md5
|       |-- maven-metadata-central.xml.sha1
|       |-- maven-metadata.xml
|       |-- maven-metadata.xml.md5
|       `-- maven-metadata.xml.sha1
{noformat}

Non classified dependencies are stored properly.



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