maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] (MASSEMBLY-218) repository does not handle classified artifacts properly
Date Fri, 02 Nov 2012 09:59:13 GMT

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

Dennis Lundberg updated MASSEMBLY-218:
--------------------------------------

    Description: 
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: shared
{noformat}
|-- 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.

  was:
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
{noformat}
|-- 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.

    
> repository does not handle classified artifacts properly
> --------------------------------------------------------
>
>                 Key: MASSEMBLY-218
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-218
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: St├ęphane 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: shared
> {noformat}
> |-- 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, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message