Skip to content

chore: Replace java.version with maven.compiler.release in pom files - #7170

Merged
adangel merged 1 commit into
pmd:mainfrom
adangel:chore/remove-unnecessary-java.version
Oct 15, 2026
Merged

adangel merged 1 commit into
pmd:mainfrom
adangel:chore/remove-unnecessary-java.version

Conversation

@adangel

@adangel adangel commented Oct 8, 2026

Copy link
Copy Markdown
Member

Describe the PR

This is another small cleanup.

Related issues

  • None

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

- Removes duplicate `<java.version>` property declarations from
  module POMs. These were probably left-overs from PMD 7, when
  only some of the modules where using Java 8 and Java 8 had been
  used for tests.
- This also simplifies kotlin configuration: kotlin-compiler-plugin
  directly uses maven.compiler.release
  (https://kotlinlang.org/docs/maven-configure-project.html#jvm-target-version)
@adangel adangel added this to the 7.29.0 milestone Oct 8, 2026
@adangel adangel added the in:pmd-internals Affects PMD's internals label Oct 8, 2026
@pmd-actions-helper

Copy link
Copy Markdown
Contributor

Documentation Preview

No relevant source code has been changed, pmdtester skipped.

(comment created at 2026-10-08 15:17:32+00:00 for 2cf8e12)

Comment thread pom.xml Resolved
@adangel
adangel merged commit 7252a41 into pmd:main Oct 15, 2026
12 checks passed
@adangel
adangel deleted the chore/remove-unnecessary-java.version branch October 15, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:pmd-internals Affects PMD's internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants