This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-parent.git
The following commit(s) were added to refs/heads/master by this push: new afaee53 Disable annotation processing during compile afaee53 is described below commit afaee538da180ff93310af88342ffa68a5fd7598 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Nov 19 09:46:01 2024 -0500 Disable annotation processing during compile - Background: https://www.oracle.com/java/technologies/javase/23-relnote-issues.html#JDK-8321314 - Background: https://xdev.software/en/news/detail/discovering-the-perfect-java-supply-chain-attack-vector-and-how-it-got-fixed --- pom.xml | 6 ++++++ src/changes/changes.xml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/pom.xml b/pom.xml index a7733fc..daaef3f 100644 --- a/pom.xml +++ b/pom.xml @@ -492,6 +492,12 @@ <!-- the following are only needed if fork is true --> <compilerVersion>${commons.compiler.compilerVersion}</compilerVersion> <executable>${commons.compiler.javac}</executable> + <compilerArgs> + <!-- Disable annotation processing during compile --> + <!-- Background: https://www.oracle.com/java/technologies/javase/23-relnote-issues.html#JDK-8321314 --> + <!-- Background: https://xdev.software/en/news/detail/discovering-the-perfect-java-supply-chain-attack-vector-and-how-it-got-fixed --> + <arg>-proc:none</arg> + </compilerArgs> </configuration> </plugin> <plugin> diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 10eb16b..2f7d13f 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -59,6 +59,9 @@ The <action> type attribute can be add,update,fix,remove. <body> <release version="79" date="YYYY-MM-DD" description="Version 79: This is a feature and maintenance release. Java 8 or later is required."> <!-- FIX --> + <action type="fix" dev="ggregory" due-to="Gary Gregory">Disable annotation processing during compile. + Background: https://www.oracle.com/java/technologies/javase/23-relnote-issues.html#JDK-8321314 + Background: https://xdev.software/en/news/detail/discovering-the-perfect-java-supply-chain-attack-vector-and-how-it-got-fixed</action> <!-- ADD --> <action type="add" dev="ggregory" due-to="Gary Gregory">Add org.junit-pioneer:junit-pioneer to dependencyManagement.</action> <!-- UPDATE -->