Skip to content

Stop wagon-http from publishing a dependency-reduced POM - #974

Merged
slachiewicz merged 1 commit into
masterfrom
agent/wagon-http-dependency-reduced-pom-master
Sep 3, 2026
Merged

Stop wagon-http from publishing a dependency-reduced POM#974
slachiewicz merged 1 commit into
masterfrom
agent/wagon-http-dependency-reduced-pom-master

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Master carries the same shade configuration as wagon-3.x, so it produces the same broken wagon-http POM. This is the master counterpart of #973. See #972 for the full analysis.

Verified on this branch: mvn install on the module → the installed 4.0.0-M1-SNAPSHOT POM declares wagon-http-shared, httpclient and httpcore again; both the plain and -shaded jars are still produced; no dependency-reduced-pom.xml in the basedir, so #750 stays fixed. spotless:check passes.

This change was created with AI assistance.

The shaded jar is attached under a classifier, so the main jar keeps
needing wagon-http-shared and httpclient; reducing the POM stripped them
and left HttpWagon unloadable. Do not restore dependencyReducedPomLocation
to fix WAGON-636 / #750 -- disabling the reduced POM outright means none
is written to the basedir either.
@slachiewicz slachiewicz added bug Something isn't working build Pull requests that change the build process labels Sep 3, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review September 3, 2026 22:12
@slachiewicz
slachiewicz merged commit 339ea98 into master Sep 3, 2026
12 of 13 checks passed
@slachiewicz
slachiewicz deleted the agent/wagon-http-dependency-reduced-pom-master branch September 3, 2026 23:01
@github-actions github-actions Bot added this to the 4.0.0-M1 milestone Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working build Pull requests that change the build process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant