Skip to content

Drop two properties the build does not need - #495

Merged
slachiewicz merged 1 commit into
masterfrom
drop-inherited-settings
Aug 18, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
drop-inherited-settings

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

sisuMavenPluginVersion was declared and never read — lines 114 and 119, the two places that version sisu artifacts, use eclipse.sisu.version directly. It would have gone stale silently.

minimalMavenBuildVersion held the build floor at mavenVersion, 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. mavenVersion itself stays — it versions the maven-artifact and maven-core dependencies 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.version looks 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 with maven-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 verify green across the reactor, working tree clean afterwards.

This change was created with AI assistance.

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.
@slachiewicz slachiewicz added the maintenance Cleanup, refactoring or other internal change label Aug 18, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review August 18, 2026 11:33
@slachiewicz
slachiewicz merged commit e6f9d16 into master Aug 18, 2026
36 checks passed
@slachiewicz
slachiewicz deleted the drop-inherited-settings branch August 18, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Cleanup, refactoring or other internal change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant