Skip to content

Upgrade maven-scm to 2.2.1 and drop the CVS tests - #944

Merged
slachiewicz merged 3 commits into
apache:masterfrom
slachiewicz:wagon-scm-maven-scm-2-master
Aug 20, 2026
Merged

Upgrade maven-scm to 2.2.1 and drop the CVS tests#944
slachiewicz merged 3 commits into
apache:masterfrom
slachiewicz:wagon-scm-maven-scm-2-master

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Forward-ports #942 to master, where wagon-scm was on maven-scm 1.13.0.

maven-scm removed every CVS provider in 2.0.0-M1, so the CVS tests and the CVS site examples go with the upgrade; the exclusion on maven-scm-manager-plexus moves to maven-scm-provider-gittest, which still reaches plexus-container-default through maven-plugin-testing-harness 3.3.0. See #942 for the full reasoning; the only resolution this port needed was the mavenScmVersion property.

Verified: mvn -pl wagon-providers/wagon-scm -am test → 28 tests green in wagon-scm.

This change was created with AI assistance.

maven-scm removed every CVS provider in 2.0.0-M1, so the suite has no
future once wagon-scm moves off maven-scm 1.x. It already covered less
than the git suite, which drives the same ScmWagon code: three cases were
stubbed out and getIfNewer was unsupported.

(cherry picked from commit 2f17732)
2.x dropped plexus-container-default from maven-scm-manager-plexus, so the
exclusion no longer belongs on that dependency. It moves to
maven-scm-provider-gittest, where maven-scm-test still pulls the old
container in through maven-plugin-testing-harness. That path is tracked as
apache/maven-scm#1394 and is already fixed for maven-scm 2.2.2.

GitScmTestUtils.setDefaultUser became setDefaultGitConfig and now throws
IOException.

(cherry picked from commit ee8532c)
maven-scm has had no CVS provider since 2.0.0-M1, so the CVS deployment
example described a setup nobody can assemble. The section becomes the
generic Git-server example; the gh-pages section stays as the GitHub
variant that adds the branch configuration.

(cherry picked from commit 9dc97ef)
@slachiewicz slachiewicz added dependencies Pull requests that update a dependency file maintenance breaking Pull requests that break existing features labels Aug 19, 2026
@slachiewicz
slachiewicz merged commit 2c101bc into apache:master Aug 20, 2026
1 of 3 checks passed
@github-actions github-actions Bot added this to the 4.0.0-M1 milestone Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Pull requests that break existing features dependencies Pull requests that update a dependency file maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant