maven-pmd-plugin icon indicating copy to clipboard operation
maven-pmd-plugin copied to clipboard

#200 [core] `Migrate to Java 21`

Open Pankraz76 opened this issue 9 months ago • 11 comments

#200 [core] Migrate to Java 21

  • https://github.com/pmd/pmd/pull/5714

[INFO] BUILD SUCCESS

Pankraz76 avatar Apr 30 '25 19:04 Pankraz76

will release maven-pmd-plugin:4.0.0 - Migrate to Java 21 to be used in:

  • https://github.com/pmd/pmd/pull/5714

Pankraz76 avatar Apr 30 '25 20:04 Pankraz76

You need also to adjust CI/CD pipeline

slachiewicz avatar May 02 '25 19:05 slachiewicz

You need also to adjust CI/CD pipeline

is it located in this repo, please? where to find this?

Pankraz76 avatar May 02 '25 19:05 Pankraz76

You need also to adjust CI/CD pipeline

is it located in this repo, please? where to find this?

maven-verify.yaml

slachiewicz avatar May 02 '25 21:05 slachiewicz

you mean this? https://github.com/apache/maven-pmd-plugin/blob/master/.github/workflows/maven-verify.yml I did not found any java version in this and googled: https://github.com/apache/maven-build-cache-extension/pull/211 This looks more adjustable.

Pankraz76 avatar May 03 '25 08:05 Pankraz76

Yes this file. Documentation for our gha can be found here

https://github.com/apache/maven-gh-actions-shared

slachiewicz avatar May 03 '25 09:05 slachiewicz

@slachiewicz Why are you entertaning this and wasting your time? I'd close it straight away.

michael-o avatar May 03 '25 19:05 michael-o

yes if not fully agreed upon nor approved efforts should be kept small before investing.

Pankraz76 avatar May 03 '25 19:05 Pankraz76

@michael-o i don't think that helping contributors to explain how our ci/cd works is wasting my time. Every new energy is valuable to OSS community. Also vote to migrate to Maven 21 was open on user/dev mailing list.

Also OSS recipes like https://docs.openrewrite.org/recipes/java/migrate/upgradetojava21 could see how much work is to migrate to Java 21.

slachiewicz avatar May 04 '25 14:05 slachiewicz

@michael-o i don't think that helping contributors to explain how our ci/cd works is wasting my time. Every new energy is valuable to OSS community. Also vote to migrate to Maven 21 was open on user/dev mailing list.

Also OSS recipes like https://docs.openrewrite.org/recipes/java/migrate/upgradetojava21 could see how much work is to migrate to Java 21.

The waste of time is trying to migrate this plugin to 21.

michael-o avatar May 04 '25 14:05 michael-o

The version 3.x of plugin is dedicated to Maven 3.x which is JDK 8 .... so it will still be a JDK 8

First we need to migrate API to Maven 4.x

slawekjaranowski avatar May 05 '25 06:05 slawekjaranowski