Update ITs for stricter validation in Maven 3.10.x (PR apache/maven#1542) - #441
Open
gnodet wants to merge 1 commit into
Open
Update ITs for stricter validation in Maven 3.10.x (PR apache/maven#1542)#441gnodet wants to merge 1 commit into
gnodet wants to merge 1 commit into
Conversation
Adjust version ranges to account for Maven 3.10.x using VALIDATION_LEVEL_MAVEN_3_1 as the strict validation level, which promotes several checks from WARNING to ERROR: - Duplicate plugin/dependency declarations - Banned characters in version and repository IDs - Reserved repository ID 'local' - System scope dependency validation Tests affected: - MavenITmng4005: duplicate dependency -> ERROR for 3.10.0+ - MavenITmng1701: duplicate plugin -> ERROR for 3.10.0+ - MavenITmng3719: skip for 3.10.0+ (relies on duplicate plugin merge) - MavenITmng4379: skip for 3.10.0+ (system scope path validation) - MavenITmng4590: skip for 3.10.0+ (system scope in imported POM) - MavenITmng3586: skip for 3.10.0+ (system scope plugin dependency) - MavenIT0085: skip for 3.10.0+ (transitive system scope)
Contributor
Author
|
Main PR: apache/maven#1542 |
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.
Companion PR for apache/maven#1542 which changes
VALIDATION_LEVEL_STRICTfromMAVEN_3_0toMAVEN_3_1, promoting several checks from WARNING to ERROR.Changes:
MavenITmng4005/MavenITmng1701: adjust WARNING→ERROR version boundary to3.10.0-alpha-1MavenITmng3719: exclude for 3.10.0+ (relies on duplicate plugin merge, now rejected)MavenITmng4379,MavenITmng4590,MavenITmng3586,MavenIT0085: exclude for 3.10.0+ (system scope validation now stricter)See apache/maven#1542 for details.