Skip to content

Bump org.apache.jackrabbit:jackrabbit-webdav from 2.14.4 to 2.20.17 - #897

Merged
slachiewicz merged 1 commit into
apache:masterfrom
slachiewicz:bump-jackrabbit-webdav-2.20.17
Aug 7, 2026
Merged

Bump org.apache.jackrabbit:jackrabbit-webdav from 2.14.4 to 2.20.17#897
slachiewicz merged 1 commit into
apache:masterfrom
slachiewicz:bump-jackrabbit-webdav-2.20.17

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Bumps jackrabbit-webdav in wagon-webdav-jackrabbit from 2.14.4 (released 2018) to 2.20.17, and removes an exclusion that the bump makes obsolete.

Why 2.20.17 and not 2.22.x

2.20.17 is the last release of the 2.20.x line, which is the newest Jackrabbit line still targeting Java 8. The switch to Java 11 landed in 2.21.23jackrabbit-parent goes from <java.version>1.8</java.version> (2.21.22) to <javaTargetVersion>11</javaTargetVersion> with maven.compiler.release (2.21.23), and the published jars follow:

version max class-file major
2.20.17 52 Java 8
2.21.20 – 2.21.22 52 Java 8
2.21.23 55 Java 11
2.22.0 – 2.22.4 55 Java 11

So 2.22.x is out until Wagon raises its own baseline. 2.21.22 is technically the highest Java 8 build, but 2.21.x is Jackrabbit's unstable line, so 2.20.17 is the right target.

Dropping the commons-httpclient exclusion

2.14.4 still declared a dependency on the long-retired commons-httpclient:3.1 (the HttpClient 3 API), which this module excluded. 2.20.x drops it entirely and depends only on httpclient 4.5.14 / httpcore 4.4.16, so the exclusion is now dead configuration. The commons-logging exclusion is kept — that one still comes in via httpclient 4.5.14.

The resulting dependency tree gains no new artifacts beyond commons-codec:1.11 under httpclient.

Verification

  • Full reactor builds clean.
  • wagon-webdav-jackrabbit tests: 283 run, 0 failures, 0 errors, 0 skipped.
  • Enforcer's enforce-bytecode-version rule passes, confirming 2.20.17 satisfies the Java 8 baseline.

Note: mvn verify currently fails the drop-legacy-dependencies enforcer rule on plexus-container-default:2.1.1 coming from wagon-provider-test. I confirmed that failure is pre-existing on an unmodified master and unrelated to this change.


  • Your pull request should address just one issue, without pulling in other changes.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied. — N/A, dependency bump covered by the existing suite.
  • Run mvn verify to make sure basic checks pass.
  • I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004

2.20.17 is the last release of the 2.20.x line, which is the newest
Jackrabbit line still targeting Java 8. From 2.21.23 onwards the jars
are compiled for Java 11 (jackrabbit-parent switched java.version 1.8
to javaTargetVersion 11), so 2.22.x cannot be used while Wagon builds
for Java 8.

This also drops the commons-httpclient exclusion: 2.14.4 still declared
a dependency on the long-retired commons-httpclient 3.1, while 2.20.x
depends only on httpclient 4.5.14 / httpcore 4.4.16. The exclusion is
now dead configuration.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@slachiewicz

Copy link
Copy Markdown
Member Author

CI is green on all 8 cells, including the three JDK 8 ones — which directly confirms 2.20.17 is fine for the Java 8 baseline.

The drop-legacy-dependencies enforcer failure I mentioned above did not occur in CI; it only reproduces locally where enforcer resolves to 3.6.3. Please disregard that note.

@slachiewicz slachiewicz added the dependencies Pull requests that update a dependency file label Aug 7, 2026
@slachiewicz
slachiewicz requested a lite review from Copilot August 7, 2026 19:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the wagon-webdav-jackrabbit provider’s Jackrabbit WebDAV dependency to a newer Java 8–compatible release, and removes an exclusion that is no longer needed with the updated dependency graph.

Changes:

  • Bump org.apache.jackrabbit:jackrabbit-webdav from 2.14.4 to 2.20.17.
  • Remove the now-obsolete commons-httpclient exclusion while keeping the commons-logging exclusion.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@slachiewicz
slachiewicz merged commit 44514d8 into apache:master Aug 7, 2026
8 checks passed
@github-actions github-actions Bot added this to the 4.0.0-M1 milestone Aug 7, 2026
@slachiewicz
slachiewicz deleted the bump-jackrabbit-webdav-2.20.17 branch August 7, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants