Hi,

I would like some help about the following SNAPSHOT resolution issue using 
Maven 2.2.1.

The artifact org.nuxeo:nuxeo-ecm:5.7-SNAPSHOT:pom has been deployed in two 
repositories :

  * in public-snapshot at 1h37
  * in internal-snapshots at 9h40

The issue is Maven resolves the version 5.7-20130107.013731-138 from repository 
public-snapshot which is older than the
5.7-20130107.094030-43 one from repository internal-snapshots. Even if the 
issue still looks like MNG-5008, I don't know
if it has something to do with it.

I don't know how to deeper analyze the problem. Any help is very welcome.

Here are a stacktrace extract and the two corresponding metadata files.

$ mvn validate -X

...
[DEBUG] Retrieving parent-POM: org.nuxeo:nuxeo-ecm:pom:5.7-SNAPSHOT for 
project: null:nuxeo-addons-parent:pom:null from
the repository.
[DEBUG] Skipping disabled repository internal-releases
*[INFO] snapshot org.nuxeo:nuxeo-ecm:5.7-SNAPSHOT: checking for updates from 
internal-snapshots*
[DEBUG] Using Wagon implementation lightweight from default mapping for 
protocol http
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'internal-snapshots' with url:
'http://maven.in.nuxeo.com/nexus/content/groups/internal-snapshots'.
[DEBUG] Using Wagon implementation lightweight from default mapping for 
protocol http
[DEBUG] Skipping disabled repository public
*[INFO] snapshot org.nuxeo:nuxeo-ecm:5.7-SNAPSHOT: checking for updates from 
public-snapshot*
[DEBUG] Using Wagon implementation lightweight from default mapping for 
protocol http
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'public-snapshot' with url: 
'http://maven.nuxeo.org/nexus/content/groups/public-snapshot'.
[DEBUG] Using Wagon implementation lightweight from default mapping for 
protocol http
[DEBUG] Skipping disabled repository central
*[DEBUG] nuxeo-ecm: resolved to version 5.7-20130107.013731-138 from repository 
public-snapshot*
...


~/.m2/repository/org/nuxeo/nuxeo-ecm/5.7-SNAPSHOT/maven-metadata-*internal-snapshots*.xml
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>org.nuxeo</groupId>
  <artifactId>nuxeo-ecm</artifactId>
  <version>5.7-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <timestamp>*20130107.094030*</timestamp>
      <buildNumber>*43*</buildNumber>
    </snapshot>
    <lastUpdated>20130108004356</lastUpdated>
  </versioning>
</metadata>


~/.m2/repository/org/nuxeo/nuxeo-ecm/5.7-SNAPSHOT/maven-metadata-*public-snapshot*.xml
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>org.nuxeo</groupId>
  <artifactId>nuxeo-ecm</artifactId>
  <version>5.7-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <timestamp>*20130107.013731*</timestamp>
      <buildNumber>*138*</buildNumber>
    </snapshot>
    <lastUpdated>20130108004356</lastUpdated>
  </versioning>
</metadata>

Thanks,

Reply via email to