1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From: Vladimir Petko <vladimir.petko@canonical.com>
Date: Tue, 17 Feb 2026 15:12:46 +0100
Subject: Enable full annotation processing for Java 25
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108579
Forwarded: not-needed
Last-Update: 2026-01-26
Java 25 has annotation processing disabled by default.
Add maven-compiler-plugin compiler argument to enable
annotation processing. The patch is not needed upstream
as the build uses Java 8.
---
tools/java/java-build/pom.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/java/java-build/pom.xml b/tools/java/java-build/pom.xml
index 2548ac5..78a6e17 100644
--- a/tools/java/java-build/pom.xml
+++ b/tools/java/java-build/pom.xml
@@ -49,6 +49,9 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
+ <compilerArgs>
+ <arg>-proc:full</arg>
+ </compilerArgs>
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
|