Repository navigation
Drop two properties the build does not need - #495
Merged
Merged
Conversation
sisuMavenPluginVersion was declared and never read - the two places that
version sisu artifacts, lines 114 and 119, use eclipse.sisu.version
directly. It would have gone stale silently.
minimalMavenBuildVersion held the build floor at mavenVersion, 3.8.1.
Inheriting it instead puts this project on the same floor as the rest of
the organisation: 3.6.3 today, 3.9.0 once plexus-pom 27 is released.
mavenVersion stays - it is the version of the maven-artifact and
maven-core dependencies in plexus-compiler-test, which is a different
thing from the Maven required to run the build. One property was serving
both roles.
maven.compiler.version is deliberately kept although the parent manages
the same plugin version: plexus-compiler-its interpolates
@maven.compiler.version@ into eight standalone IT projects that do not
inherit the parent. Once this project is on 27 it can be defined as
${version.maven-compiler-plugin} so the two cannot drift.
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.
sisuMavenPluginVersionwas declared and never read — lines 114 and 119, the two places that version sisu artifacts, useeclipse.sisu.versiondirectly. It would have gone stale silently.minimalMavenBuildVersionheld the build floor atmavenVersion, 3.8.1. Inheriting it puts this project on the same floor as the rest of the org: 3.6.3 today, 3.9.0 once plexus-pom 27 lands.mavenVersionitself stays — it versions themaven-artifactandmaven-coredependencies in plexus-compiler-test, which is a different thing from the Maven needed to run the build. One property was serving both roles.maven.compiler.versionlooks equally redundant, since the parent manages that plugin at the same 3.15.0, but it is deliberately kept: plexus-compiler-its interpolates@maven.compiler.version@into eight standalone IT projects that do not inherit the parent. Dropping it fails the ITs withmaven-compiler-plugin:@maven.compiler.version@— I tried. Once this project is on 27 it can be defined as${version.maven-compiler-plugin}so the two cannot drift.Verified:
mvn clean verifygreen across the reactor, working tree clean afterwards.This change was created with AI assistance.