Upgrade maven-scm to 2.2.1 and drop the CVS tests - #944
Merged
slachiewicz merged 3 commits intoAug 20, 2026
Conversation
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Forward-ports #942 to master, where
wagon-scmwas 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-plexusmoves tomaven-scm-provider-gittest, which still reachesplexus-container-defaultthroughmaven-plugin-testing-harness3.3.0. See #942 for the full reasoning; the only resolution this port needed was themavenScmVersionproperty.Verified:
mvn -pl wagon-providers/wagon-scm -am test→ 28 tests green in wagon-scm.This change was created with AI assistance.