This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch maven-resolver-1.9.x
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git
The following commit(s) were added to refs/heads/maven-resolver-1.9.x by this
push:
new 31ce71632 [1.9.x] Silence the obsolete Java 8 target warning
31ce71632 is described below
commit 31ce71632983abe765e748520126501929e4e936
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sat Nov 7 23:00:49 2026 +0100
[1.9.x] Silence the obsolete Java 8 target warning
---
pom.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/pom.xml b/pom.xml
index efa842a80..090b29687 100644
--- a/pom.xml
+++ b/pom.xml
@@ -503,6 +503,16 @@
</plugins>
</pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <compilerArgs>
+ <!-- Java 8 stays the target of this line; javac 21+ warns about
it on every module -->
+ <compilerArg>-Xlint:-options</compilerArg>
+ </compilerArgs>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>