[
https://issues.apache.org/jira/browse/PDFBOX-5180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17334846#comment-17334846
]
Oliver Schmidtmer commented on PDFBOX-5180:
-------------------------------------------
Most likely there are changes between 2.0 and trunk in the POMs, which cause
this to be resolved.
Theres a blog post,
[https://www.robinhowlett.com/blog/2019/05/15/solved-when-the-maven-deploy-plugin-silently-fails-to-deploy/]
, where this problem was caused by differences between the root POM and the
sub POMs. When I have time for that, I will try to find out which changes
between 2.0 to trunk might be the cause.
> 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
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]