Repository navigation
Build against Maven 3.9.16 and keep Maven 3.6.3 as the prerequisite - #1429
Merged
Merged
Conversation
The provided Maven 3.6.3 API brought maven-core, maven-compat, maven-shared-utils 3.2.1 and Guava 25 into the dependency graph, with critical advisories. The plugin still requires only Maven 3.6.3.
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.
The provided Maven API was still 3.6.3, which put
maven-coreandmaven-compat3.6.3,maven-shared-utils3.2.1 and Guava 25.1 into the dependency graph: 17 of the open Dependabot alerts, eight of them critical, across all four modules. This movesmavenVersionto 3.9.16 andmavenResolverVersionfrom 1.4.1 to 1.9.27, the resolver of Maven 3.9.16.The plugin's
<prerequisites>becomes a literal3.6.3instead of${mavenVersion}, andminimalMavenBuildVersionstays at 3.6.3, so the Maven versions the plugin runs on and builds with do not change.Two consequences of the newer API:
jsr305, so the five@Nonnulland@Nullableannotations inversions-commongo; nothing checked them.setuse an unresolved${revision}on purpose, soProjectMojoExtensionbuilds test projects with minimal validation.Verified:
mvn clean install -Dinvoker.skip→ all modules pass, 297 tests in the plugin, 0 Checkstyle violations. I have not run the ITs locally; CI runs them on Maven 3.10.0 and 4.0.0-rc-7. Nothing runs the plugin on Maven 3.6.3, so compatibility with the prerequisite rests on the code not calling API newer than 3.6.3, as before.