We're pulling down dependencies from a snapshot repository in Artifactory
using Maven2 protocol from Gradle 1.8. It's responding with the first
snapshot uploaded instead of the most recent. Is this normal behavior? We
would much prefer to receive the last one. Can we change that?
It may not be updating the maven-metadata.xml properly. It inserts the entry
into the snapshotVersions and updates the versioning->snapshot->timestamp,
but doesn't update the actual version field.
Here's our maven-metadata.xml. Can anyone tell me what's going wrong?
<metadata>
<groupId>GroupID</groupId>
<artifactId>ArtifactName</artifactId>
<version>0.0.3-20131105.182553-1</version>
<versioning>
<snapshot>
<timestamp>20131105.185050</timestamp>
<buildNumber>3</buildNumber>
</snapshot>
<lastUpdated>20131105185052</lastUpdated>
<snapshotVersions>
<snapshotVersion>
<extension>pom</extension>
<value>0.0.3-20131105.185050-3</value>
<updated>20131105185050</updated>
</snapshotVersion>
<snapshotVersion>
<classifier>javadoc</classifier>
<extension>jar</extension>
<value>0.0.3-20131105.185050-3</value>
<updated>20131105185050</updated>
</snapshotVersion>
<snapshotVersion>
<classifier>sources</classifier>
<extension>jar</extension>
<value>0.0.3-20131105.185050-3</value>
<updated>20131105185050</updated>
</snapshotVersion>
<snapshotVersion>
<extension>jar</extension>
<value>0.0.3-20131105.185050-3</value>
<updated>20131105185050</updated>
</snapshotVersion>
</snapshotVersions>
</versioning>
</metadata>
Repository settings:
Repository Layout: maven-2-default
Checksum Policy: Verify against client checksums
Maven snapshot version behavior: Unique
Maven Max Unique Snapshots: 10
Handle Releases: No
Handle Snapshots: No
Blacked Out: No
Suppress POM consistency checks: No
--
View this message in context:
http://forums.jfrog.org/Artifactory-returns-oldest-snapshot-instead-of-newest-tp7579400.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users