Oliver Schmidtmer created PDFBOX-5180:
-----------------------------------------

             Summary: Snapshot Deploy not working
                 Key: PDFBOX-5180
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5180
             Project: PDFBox
          Issue Type: Bug
    Affects Versions: 2.0.24
            Reporter: Oliver Schmidtmer


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.

[https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox/2.0.24-SNAPSHOT/maven-metadata.xml]
{code:java}
<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>
{code}
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]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to