Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5180

Snapshot Deploy not working

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.23
    • Fix Version/s: 2.0.24
    • Component/s: None
    • Labels:
      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.

      https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox/2.0.24-SNAPSHOT/maven-metadata.xml

      <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

        Attachments

        1. pom.xml
          20 kB
          Oliver Schmidtmer

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              Schmidor Oliver Schmidtmer
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: