You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2007/07/07 00:21:13 UTC

[jira] Updated: (MASSEMBLY-218) repository does not handle classified artifacts properly

     [ http://jira.codehaus.org/browse/MASSEMBLY-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MASSEMBLY-218:
---------------------------------

         Assignee: John Casey
      Description: 
I am creating a simple repository with a project that contains classified dependencies (obfuscated jars): <repositories> <repository> <includeMetadata>true</includeMetadata> <scope>test</scope> <outputDirectory>repo</outputDirectory> </repository> </repositories> 
The assembly plugins generates a weird structure based on that: 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

Non classified dependencies are stored properly.

  was:
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.



    Fix Version/s: 2.2-beta-2

> 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
>            Assignee: John Casey
>             Fix For: 2.2-beta-2
>
>
> I am creating a simple repository with a project that contains classified dependencies (obfuscated jars): <repositories> <repository> <includeMetadata>true</includeMetadata> <scope>test</scope> <outputDirectory>repo</outputDirectory> </repository> </repositories> 
> The assembly plugins generates a weird structure based on that: 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
> 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