You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Leon Franzen (JIRA)" <ji...@codehaus.org> on 2011/01/22 00:00:59 UTC

[jira] Issue Comment Edited: (MNG-4452) Metadata for snapshots should include classifier

    [ http://jira.codehaus.org/browse/MNG-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252396#action_252396 ] 

Leon Franzen edited comment on MNG-4452 at 1/21/11 4:59 PM:
------------------------------------------------------------

Then I think perhaps I am not configuring my settings.xml properly to work around the problem.  I am still referencing a repository group but have tried to include a direct repo reference to my snapshot repository.  

<settings>
   <mirrors>
      <mirror>
         <id>nexus</id>
         <mirrorOf>*,!snapshots</mirrorOf>
         <url>http://nexus:8081/nexus/content/groups/public</url> <!-- My problematic repo-group -->
      </mirror>
   </mirrors>
   <profiles>
      <profile>
      <id>nexus</id>
      <repositories>
         <repository>
            <id>snapshots</id>
            <url>http://nexus:8081/nexus/content/repositories/snapshots</url>  <!-- My snapshot repo -->
            <releases>
               <enabled>false</enabled>
            </releases>
            <snapshots>
               <enabled>true</enabled>
            </snapshots>
         </repository>
...

Andrei, how were you specifically able to work around the issue?  Are you not using a group?

      was (Author: leon_franzen):
    Then I think perhaps I am not configuring my settings.xml properly to work around the problem.  I am still referencing a repository group but have tried to include a direct repo reference to my snapshot repository.  

<settings>
  <mirrors>
    <mirror>
      <id>nexus</id>
      <mirrorOf>*,!snapshots</mirrorOf>
      <url>http://nexus.ula.comcast.net:8081/nexus/content/groups/public</url> <!-- My problematic repo-group -->
    </mirror>
  </mirrors>
  <profiles>
    <profile>
      <id>nexus</id>
      <repositories>
        <repository>
          <id>snapshots</id>
          <url>http://nexus.cvs.ula.comcast.net:8081/nexus/content/repositories/snapshots</url>  <!-- My snapshot repo -->
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </repository>
...

Andrei, how were you specifically able to work around the issue?  Are you not using a group?
  
> Metadata for snapshots should include classifier
> ------------------------------------------------
>
>                 Key: MNG-4452
>                 URL: http://jira.codehaus.org/browse/MNG-4452
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>    Affects Versions: 2.2.1, 3.0-alpha-4
>            Reporter: Paul Benedict
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0
>
>         Attachments: nar-artifact-list.txt, nar-maven-metadata.xml, output
>
>
> Please see the whole conversation here:
> http://old.nabble.com/Multi-Platform-snapshots-td25295999.html
> Essentially, an artifact's classifier isn't included in the repository's metadata of a snapshot. This makes it difficult (impossible?) to deploy multiply snapshots with different classifiers. The primary use case is to continuously build an artifact for different environments.

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