Geroniomo is having problems getting up to date activemq snapshots from the repo. I think the problem might be that the metadata from the people.apache.org files based repo and the metadata from the nexus based repo aren't getting merged properly:

nexus hosted repo:

https://repository.apache.org/content/repositories/snapshots/org/apache/activemq/activemq-camel/5.3-SNAPSHOT/maven-metadata.xml
has
<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>org.apache.activemq</groupId>
  <artifactId>activemq-camel</artifactId>
  <version>5.3-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <buildNumber>1</buildNumber>

    </snapshot>
    <lastUpdated>20090615193531</lastUpdated>
  </versioning>
</metadata>

antique file based repo:

https://repository.apache.org/content/repositories/apache-legacy-snapshots/org/apache/activemq/activemq-core/5.3-SNAPSHOT/maven-metadata.xml
has
<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>org.apache.activemq</groupId>
  <artifactId>activemq-core</artifactId>
  <version>5.3-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <timestamp>20090417.072917</timestamp>

      <buildNumber>167</buildNumber>
    </snapshot>
    <lastUpdated>20090417073310</lastUpdated>
  </versioning>
</metadata>

merged repo
https://repository.apache.org/content/groups/snapshots-group/org/apache/activemq/activemq-core/5.3-SNAPSHOT/maven-metadata.xml
has
<?xml version="1.0" encoding="UTF-8"?>
<metadata xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd " xmlns="http://maven.apache.org/METADATA/1.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <groupId>org.apache.activemq</groupId>
  <artifactId>activemq-core</artifactId>
  <version>5.3-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <timestamp>20090417.072917</timestamp>
      <buildNumber>167</buildNumber>
    </snapshot>
    <lastUpdated>20090417073310</lastUpdated>
  </versioning>
</metadata>


which matches the older version better.

Note that activemq is using non-unique snapshots.

What is the best way to fix this?

- remove obsolete snapshots from peopel.apache.org repo?
- use unique (timestamped) snapshots ?
- both ?
- something else ???

thanks
david jencks

Reply via email to