Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.23
-
None
-
None
Description
When building and deploying snapshots, the build number is higher than the last uploaded snapshot. So the dependency resolution to 2.0.24-SNAPSHOT does not work.
It seems the deploy plugin is triggered twice, but only once there are uploads. The other sub projects are also affected.
<metadata modelVersion="1.1.0">
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>2.0.24-SNAPSHOT</version>
<versioning>
<snapshot>
<timestamp>20210426.180431</timestamp>
<buildNumber>154</buildNumber>
</snapshot>
<lastUpdated>20210426180431</lastUpdated>
<snapshotVersions>
<snapshotVersion>
<extension>jar</extension>
<value>2.0.24-20210426.180213-153</value>
<updated>20210426180431</updated>
</snapshotVersion>
<snapshotVersion>
<extension>pom</extension>
<value>2.0.24-20210426.180213-153</value>
<updated>20210426180431</updated>
</snapshotVersion>
</snapshotVersions>
</versioning>
</metadata>
In trunk / 3.0 this doesn't happen:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox/3.0.0-SNAPSHOT/maven-metadata.xml