You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2025/10/27 09:35:56 UTC

(maven-compiler-plugin) branch maven-compiler-plugin-3.x updated (b9ffa20 -> f69346d)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch maven-compiler-plugin-3.x
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git


    from b9ffa20  Bump org.ow2.asm:asm from 9.8 to 9.9 (#981)
     new ea0a89b  Enable Java 25 and Maven 4 in CI
     new 5ecf235  test all
     new 760c599  Use maven-resources-plugin 3.x version from parent
     new aab10b3  Fix for Kotlin 2.x (#978)
     new a75cc5f  add proc full for jdk 21+
     new f69346d  rm annotationProcessors

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/maven-verify.yml                 |  8 +++++--
 src/it/MCOMPILER-538/code/pom.xml                  | 21 +++++++++++++++++
 src/it/MCOMPILER-567-kt/pom.xml                    |  8 +++++--
 src/it/jdk16-annotation/pom.xml                    | 26 ++++++++++++++++++++++
 .../multirelease-patterns/packaging-plugin/pom.xml |  6 +++++
 5 files changed, 65 insertions(+), 4 deletions(-)


(maven-compiler-plugin) 04/06: Fix for Kotlin 2.x (#978)

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch maven-compiler-plugin-3.x
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git

commit aab10b324f2aa8360fd99d7961c20225336e33f7
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Mon Oct 6 13:52:37 2025 +0200

    Fix for Kotlin 2.x (#978)
    
    By default, it starts a daemon, but uses IT local repo, hence m-clean-p fails on Windows.
    
    Kotlin was upped here: 52d922f9215fe52de51853d3635cbbc91b56f68a
    Ref: https://kotlinlang.org/docs/kotlin-daemon.html
    
    (cherry picked from commit dc33a10ac65b963595aaf1376e457643813b9fc1)
---
 src/it/MCOMPILER-567-kt/pom.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/it/MCOMPILER-567-kt/pom.xml b/src/it/MCOMPILER-567-kt/pom.xml
index 3959b57..079015d 100644
--- a/src/it/MCOMPILER-567-kt/pom.xml
+++ b/src/it/MCOMPILER-567-kt/pom.xml
@@ -27,6 +27,10 @@
   <packaging>jar</packaging>
   <version>1.0-SNAPSHOT</version>
 
+  <properties>
+    <kotlin.compiler.daemon>false</kotlin.compiler.daemon>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.jetbrains.kotlin</groupId>


(maven-compiler-plugin) 05/06: add proc full for jdk 21+

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch maven-compiler-plugin-3.x
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git

commit a75cc5f287a1e412ec3e6cc1532c2f351ba3dbfd
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Mon Oct 13 08:04:20 2025 +0200

    add proc full for jdk 21+
---
 src/it/MCOMPILER-538/code/pom.xml | 21 +++++++++++++++++++++
 src/it/jdk16-annotation/pom.xml   | 26 ++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/src/it/MCOMPILER-538/code/pom.xml b/src/it/MCOMPILER-538/code/pom.xml
index 2dd9744..14019cd 100644
--- a/src/it/MCOMPILER-538/code/pom.xml
+++ b/src/it/MCOMPILER-538/code/pom.xml
@@ -90,4 +90,25 @@
       </plugin>
     </plugins>
   </build>
+
+  <profiles>
+    <profile>
+      <id>jdk21</id>
+      <activation>
+        <jdk>[21,)</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+              <proc>full</proc>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>
diff --git a/src/it/jdk16-annotation/pom.xml b/src/it/jdk16-annotation/pom.xml
index 6a12ad7..98e472e 100644
--- a/src/it/jdk16-annotation/pom.xml
+++ b/src/it/jdk16-annotation/pom.xml
@@ -52,4 +52,30 @@ under the License.
       <scope>test</scope>
     </dependency>
   </dependencies>
+
+  <profiles>
+    <profile>
+      <id>jdk21</id>
+      <activation>
+        <jdk>[21,)</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <version>@project.version@</version>
+            <executions>
+              <execution>
+                <id>default-testCompile</id>
+                <configuration>
+                  <proc>full</proc>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>


(maven-compiler-plugin) 02/06: test all

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch maven-compiler-plugin-3.x
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git

commit 5ecf2352f6567c85bfda56130799a214d2f91fb3
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Oct 5 22:11:45 2025 +0200

    test all
---
 .github/workflows/maven-verify.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index 49a76bb..19828f9 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -30,6 +30,7 @@ jobs:
       jdk-distribution-matrix: '[ "temurin", "zulu", "microsoft", "adopt-openj9" ]'
       jdk-matrix: '[ "8", "21", "25" ]'
       maven4-enabled: true
+      verify-fail-fast: false
       matrix-exclude: '[
           { "jdk": "8", "distribution": "microsoft" },
           { "jdk": "8", "distribution": "temurin", "os": "macos-latest" },


(maven-compiler-plugin) 01/06: Enable Java 25 and Maven 4 in CI

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch maven-compiler-plugin-3.x
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git

commit ea0a89b3c838699958794ab2e9726604a80957c9
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Thu Oct 2 22:17:25 2025 +0200

    Enable Java 25 and Maven 4 in CI
---
 .github/workflows/maven-verify.yml     | 7 +++++--
 src/it/MCOMPILER-538/processor/pom.xml | 3 +++
 src/it/MCOMPILER-567-kt/pom.xml        | 4 ++--
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index deaaabd..49a76bb 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -28,9 +28,12 @@ jobs:
     with:
       # maven-args: "-Dinvoker.parallelThreads=2" cannot do this as this generate some concurrent download issues
       jdk-distribution-matrix: '[ "temurin", "zulu", "microsoft", "adopt-openj9" ]'
-      jdk-matrix: '[ "8", "11", "17", "21" ]'
+      jdk-matrix: '[ "8", "21", "25" ]'
+      maven4-enabled: true
       matrix-exclude: '[
           { "jdk": "8", "distribution": "microsoft" },
           { "jdk": "8", "distribution": "temurin", "os": "macos-latest" },
-          { "jdk": "8", "distribution": "adopt-openj9", "os": "macos-latest" }
+          { "jdk": "8", "distribution": "adopt-openj9", "os": "macos-latest" },
+          { "jdk": "25", "distribution": "adopt-openj9" },
+          { "jdk": "25", "distribution": "microsoft"}
         ]'
diff --git a/src/it/MCOMPILER-538/processor/pom.xml b/src/it/MCOMPILER-538/processor/pom.xml
index a666cad..ae0fda2 100644
--- a/src/it/MCOMPILER-538/processor/pom.xml
+++ b/src/it/MCOMPILER-538/processor/pom.xml
@@ -36,6 +36,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
           <proc>none</proc>
+          <annotationProcessors>
+            <annotationProcessor>foo.MyProcessor</annotationProcessor>
+          </annotationProcessors>
         </configuration>
       </plugin>
     </plugins>
diff --git a/src/it/MCOMPILER-567-kt/pom.xml b/src/it/MCOMPILER-567-kt/pom.xml
index a4cf61d..3959b57 100644
--- a/src/it/MCOMPILER-567-kt/pom.xml
+++ b/src/it/MCOMPILER-567-kt/pom.xml
@@ -31,7 +31,7 @@
     <dependency>
       <groupId>org.jetbrains.kotlin</groupId>
       <artifactId>kotlin-stdlib</artifactId>
-      <version>1.9.21</version>
+      <version>2.2.20</version>
     </dependency>
   </dependencies>
 
@@ -41,7 +41,7 @@
       <plugin>
         <groupId>org.jetbrains.kotlin</groupId>
         <artifactId>kotlin-maven-plugin</artifactId>
-        <version>1.9.21</version>
+        <version>2.2.20</version>
         <executions>
           <execution>
             <id>compile</id>


(maven-compiler-plugin) 03/06: Use maven-resources-plugin 3.x version from parent

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch maven-compiler-plugin-3.x
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git

commit 760c59935d533d3d12aa97950a03f27e340576c4
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun Oct 12 23:10:46 2025 +0200

    Use maven-resources-plugin 3.x version from parent
---
 src/it/multirelease-patterns/packaging-plugin/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/it/multirelease-patterns/packaging-plugin/pom.xml b/src/it/multirelease-patterns/packaging-plugin/pom.xml
index 88fde2d..5410c52 100644
--- a/src/it/multirelease-patterns/packaging-plugin/pom.xml
+++ b/src/it/multirelease-patterns/packaging-plugin/pom.xml
@@ -30,6 +30,12 @@
   <build>
     <pluginManagement>
       <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-resources-plugin</artifactId>
+          <!-- use version from parent for 3.x -->
+          <version>@version.maven-resources-plugin@</version>
+        </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>


(maven-compiler-plugin) 06/06: rm annotationProcessors

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch maven-compiler-plugin-3.x
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git

commit f69346d6c4ff0d8bd06bd3ed6d2ead6554ff5bed
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Mon Oct 13 08:22:21 2025 +0200

    rm annotationProcessors
---
 src/it/MCOMPILER-538/processor/pom.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/it/MCOMPILER-538/processor/pom.xml b/src/it/MCOMPILER-538/processor/pom.xml
index ae0fda2..a666cad 100644
--- a/src/it/MCOMPILER-538/processor/pom.xml
+++ b/src/it/MCOMPILER-538/processor/pom.xml
@@ -36,9 +36,6 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
           <proc>none</proc>
-          <annotationProcessors>
-            <annotationProcessor>foo.MyProcessor</annotationProcessor>
-          </annotationProcessors>
         </configuration>
       </plugin>
     </plugins>