Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshot artifacts contain wrong metadata #1098

Closed
vlotarev opened this issue May 21, 2013 · 1 comment
Closed

Snapshot artifacts contain wrong metadata #1098

vlotarev opened this issue May 21, 2013 · 1 comment

Comments

@vlotarev
Copy link

Please see below an example of maven-metadata-snapshots.xml. IDEA maven plugin (as well as Gradle) are not able to use it since they uses timestamp and version provided in the root element that do not match with the ones specified below in (per artifacts).

<metadata modelVersion="1.1.0">
  <groupId>org.atmosphere</groupId>
  <artifactId>atmosphere-runtime</artifactId>
  <version>1.1.0-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <timestamp>20130519.020405</timestamp>
      <buildNumber>206</buildNumber>
    </snapshot>
    <lastUpdated>20130519020405</lastUpdated>
    <snapshotVersions>
      <snapshotVersion>
        <extension>jar</extension>
        <value>1.1.0-20130519.020353-205</value>
        <updated>20130519020405</updated>
      </snapshotVersion>
      <snapshotVersion>
        <extension>pom</extension>
        <value>1.1.0-20130519.020353-205</value>
        <updated>20130519020405</updated>
      </snapshotVersion>
      <snapshotVersion>
        <classifier>javadoc</classifier>
        <extension>jar</extension>
        <value>1.1.0-20130519.020353-205</value>
        <updated>20130519020405</updated>
      </snapshotVersion>
      <snapshotVersion>
        <classifier>sources</classifier>
        <extension>jar</extension>
        <value>1.1.0-20130519.020353-205</value>
        <updated>20130519020405</updated>
      </snapshotVersion>
    </snapshotVersions>
  </versioning>
</metadata>
@jfarcand
Copy link
Member

Not sure how I can fix that :-( Seems Maven wrongly generated that information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants