You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2007/06/14 09:23:58 UTC

[jira] Created: (MASSEMBLY-219) repository stores SNAPSHOTs in a wrong location

repository stores SNAPSHOTs in a wrong location
-----------------------------------------------

                 Key: MASSEMBLY-219
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-219
             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 SNAPSHOTs

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

The assembly plugins stores SNAPSHOTs in a wrong location (see the name of the directory with the timestamp)

{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 snapshot artifacts 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

        

[jira] Commented: (MASSEMBLY-219) repository stores SNAPSHOTs in a wrong location

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104159 ] 

Stephane Nicoll commented on MASSEMBLY-219:
-------------------------------------------

FYI; still applicable with the latest snapshot. I've track this down.

If I do mvn install for the related snapshot it's ok (-> goes in a X.Y.Z-SNAPSHOT directory with the right name). If I do mvn deploy I get the timestamped version in the repository created by the assembly plugin



> repository stores SNAPSHOTs in a wrong location
> -----------------------------------------------
>
>                 Key: MASSEMBLY-219
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-219
>             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 SNAPSHOTs <repositories> <repository> <includeMetadata>true</includeMetadata> <scope>test</scope> <outputDirectory>repo</outputDirectory> </repository> </repositories> 
> The assembly plugins stores SNAPSHOTs in a wrong location (see the name of the directory with the timestamp) 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 snapshot artifacts 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

        

[jira] Updated: (MASSEMBLY-219) repository stores SNAPSHOTs in a wrong location

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MASSEMBLY-219:
---------------------------------

         Assignee: John Casey
      Description: 
I am creating a simple repository with SNAPSHOTs <repositories> <repository> <includeMetadata>true</includeMetadata> <scope>test</scope> <outputDirectory>repo</outputDirectory> </repository> </repositories> 
The assembly plugins stores SNAPSHOTs in a wrong location (see the name of the directory with the timestamp) 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 snapshot artifacts are stored properly

  was:
I am creating a simple repository with SNAPSHOTs

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

The assembly plugins stores SNAPSHOTs in a wrong location (see the name of the directory with the timestamp)

{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 snapshot artifacts are stored properly



    Fix Version/s: 2.2-beta-2

> repository stores SNAPSHOTs in a wrong location
> -----------------------------------------------
>
>                 Key: MASSEMBLY-219
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-219
>             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 SNAPSHOTs <repositories> <repository> <includeMetadata>true</includeMetadata> <scope>test</scope> <outputDirectory>repo</outputDirectory> </repository> </repositories> 
> The assembly plugins stores SNAPSHOTs in a wrong location (see the name of the directory with the timestamp) 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 snapshot artifacts 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

        

[jira] (MASSEMBLY-219) repository stores SNAPSHOTs in a wrong location

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MASSEMBLY-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MASSEMBLY-219:
--------------------------------------

    Description: 
I am creating a simple repository with SNAPSHOTs
{code:xml}
<repositories>
  <repository>
    <includeMetadata>true</includeMetadata>
    <scope>test</scope>
    <outputDirectory>repo</outputDirectory>
  </repository>
</repositories> 
{code}

The assembly plugins stores SNAPSHOTs in a wrong location (see the name of the directory with the timestamp) 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 snapshot artifacts are stored properly

  was:
I am creating a simple repository with SNAPSHOTs <repositories> <repository> <includeMetadata>true</includeMetadata> <scope>test</scope> <outputDirectory>repo</outputDirectory> </repository> </repositories> 
The assembly plugins stores SNAPSHOTs in a wrong location (see the name of the directory with the timestamp) 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 snapshot artifacts are stored properly

    
> repository stores SNAPSHOTs in a wrong location
> -----------------------------------------------
>
>                 Key: MASSEMBLY-219
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-219
>             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 SNAPSHOTs
> {code:xml}
> <repositories>
>   <repository>
>     <includeMetadata>true</includeMetadata>
>     <scope>test</scope>
>     <outputDirectory>repo</outputDirectory>
>   </repository>
> </repositories> 
> {code}
> The assembly plugins stores SNAPSHOTs in a wrong location (see the name of the directory with the timestamp) 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 snapshot artifacts 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

       

[jira] Updated: (MASSEMBLY-219) repository stores SNAPSHOTs in a wrong location

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MASSEMBLY-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benson Margulies updated MASSEMBLY-219:
---------------------------------------

    Fix Version/s:     (was: 2.3)

> repository stores SNAPSHOTs in a wrong location
> -----------------------------------------------
>
>                 Key: MASSEMBLY-219
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-219
>             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 SNAPSHOTs <repositories> <repository> <includeMetadata>true</includeMetadata> <scope>test</scope> <outputDirectory>repo</outputDirectory> </repository> </repositories> 
> The assembly plugins stores SNAPSHOTs in a wrong location (see the name of the directory with the timestamp) 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 snapshot artifacts are stored properly

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MASSEMBLY-219) repository stores SNAPSHOTs in a wrong location

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MASSEMBLY-219:
---------------------------------

    Fix Version/s:     (was: 2.2)
                   2.2-beta-5

reviewing repository-related issues for beta-5

> repository stores SNAPSHOTs in a wrong location
> -----------------------------------------------
>
>                 Key: MASSEMBLY-219
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-219
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: Stephane Nicoll
>             Fix For: 2.2-beta-5
>
>
> I am creating a simple repository with SNAPSHOTs <repositories> <repository> <includeMetadata>true</includeMetadata> <scope>test</scope> <outputDirectory>repo</outputDirectory> </repository> </repositories> 
> The assembly plugins stores SNAPSHOTs in a wrong location (see the name of the directory with the timestamp) 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 snapshot artifacts 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