Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Snapshots resolutions fails #5

Open
fsimmend opened this issue Feb 20, 2012 · 0 comments
Open

Snapshots resolutions fails #5

fsimmend opened this issue Feb 20, 2012 · 0 comments

Comments

@fsimmend
Copy link

The snapshots metadata resolution fails if there are multiple non unique timestamps for elements deployed with one snapshot version. As there is no need to provide more than one snapshot entry via a repository is should be easy to use the timestamp of the last build and not the lastmodified of the file.

<metadata modelVersion="1.1.0">
  <groupId>xx.yy</groupId>
  <artifactId>zz</artifactId>
  <version>1-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <timestamp>20120220.140329</timestamp>
      <buildNumber>12</buildNumber>
    </snapshot>
    <lastUpdated>20120220140329</lastUpdated>
    <snapshotVersions>
      <snapshotVersion>
        <extension>war</extension>
        <value>1-20120220.140329-12</value>
        <updated>20120220140329</updated>
      </snapshotVersion>
      <snapshotVersion>
        <extension>pom</extension>
        <value>1-20120220.140329-12</value>
        <updated>20120220140329</updated>
      </snapshotVersion>
    </snapshotVersions>
  </versioning>
</metadata>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant