diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7d0d63f6..02a29c6d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -27,8 +27,7 @@ jobs: name: Build it uses: codehaus-plexus/.github/.github/workflows/maven.yml@master with: - matrix-exclude: '[ {"jdk": "8"}, {"jdk": "11"}, {"jdk": "25", "distribution": "microsoft"} ]' - jdk-distribution-matrix: '["zulu", "temurin", "microsoft", "liberica", "corretto"]' + matrix-exclude: '[ {"jdk": "8"}, {"jdk": "11"} ]' maven_args: 'verify javadoc:javadoc -e -B -V -fae' deploy: diff --git a/AGENTS.md b/AGENTS.md index eadd6619..1999cfee 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -20,7 +20,7 @@ reactor contains `plexus-compiler-api`, `plexus-compiler-manager`, `plexus-compi project runs `clean test-compile`. The projects are test fixtures: keep them as they are unless you are changing what they cover. On GitHub Actions the `ci-skip-its` profile sets `invoker.skip`, and `ci-run-its` turns it off for - the Linux, JDK 21, Zulu cell only, so the ITs run once per build (they download from Central, and + the Linux, JDK 21 cell only, so the ITs run once per build (they download from Central, and running them in every cell got HTTP 429). A local build always runs them. - The parent POM pins the AspectJ, Error Prone and Eclipse Sisu versions used by the compiler implementations in properties; change them there. diff --git a/plexus-compiler-its/pom.xml b/plexus-compiler-its/pom.xml index dd36d4b3..4bfd6382 100644 --- a/plexus-compiler-its/pom.xml +++ b/plexus-compiler-its/pom.xml @@ -85,7 +85,7 @@ + (Linux, JDK 21); a local build always runs them. --> ci-skip-its @@ -104,10 +104,6 @@ Linux - - java.vendor - Azul Systems, Inc. - false diff --git a/plexus-compilers/plexus-compiler-javac/src/test/java/org/codehaus/plexus/compiler/javac/JavacCompilerTest.java b/plexus-compilers/plexus-compiler-javac/src/test/java/org/codehaus/plexus/compiler/javac/JavacCompilerTest.java index 7bee39fe..b641d985 100644 --- a/plexus-compilers/plexus-compiler-javac/src/test/java/org/codehaus/plexus/compiler/javac/JavacCompilerTest.java +++ b/plexus-compilers/plexus-compiler-javac/src/test/java/org/codehaus/plexus/compiler/javac/JavacCompilerTest.java @@ -117,6 +117,9 @@ private static Stream testParseModernStream_withAnnotationProcessingE "JAVA_1_5, 1.4, false", "JAVA_1_8, 1.8, true", "JAVA_1_8, 22.0.2-something, true", + "JAVA_9, 21.0.13, true", + "JAVA_9, 21.0.13.1, true", + "JAVA_9, 1.8.0_512, false", "JAVA_1_8, unknown, true" }) void javaVersionPrefixes(JavaVersion version, String otherVersion, boolean expected) { @@ -124,7 +127,14 @@ void javaVersionPrefixes(JavaVersion version, String otherVersion, boolean expec } @ParameterizedTest(name = "extract {0} -> {1}") - @CsvSource({"javac 11.0.22, 11.0", "11.0.22, 11.0", "javac 21, 21", "javac 1.8.0_432, 1.8"}) + @CsvSource({ + "javac 11.0.22, 11.0", + "11.0.22, 11.0", + "javac 21, 21", + "javac 1.8.0_432, 1.8", + "21.0.13, 21.0", + "21.0.13.1, 21.0" + }) void extractMajorAndMinorVersion(String text, String expected) { assertEquals(expected, JavacCompiler.extractMajorAndMinorVersion(text)); }