Address warnings and Maven 4 incompatibilities.

RELNOTES=n/a
PiperOrigin-RevId: 969977222
This commit is contained in:
cpovirk authored and Google Java Core Libraries committed 2026-08-24 11:38:29 -07:00
1 parent e9832f5e65
commit d161969db3
8 files changed
+26 -10

No files matched your search

+8
View File
@@ -66,6 +66,14 @@
<build>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.4</version>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
+1 -1
View File
@@ -81,7 +81,7 @@
<execution>
<id>default-compile</id>
<configuration>
<compilerArgs combine.children="append" combine.self="append">
<compilerArgs combine.children="append">
<arg>-XDignore.symbol.file</arg>
</compilerArgs>
</configuration>
+3 -3
View File
@@ -86,8 +86,8 @@
</executions>
<configuration>
<instructions>
<!-- Silence a warning that claims that META-INF/versions/9/... is the "wrong directory" for our classes. -->
<_fixupmessages>^Classes found in the wrong directory: .*</_fixupmessages>
<!-- Silence a warning that claims the default package is a "split package" because both Guava and JSpecify have a root `module-info.class`. -->
<_fixupmessages>^Split package, multiple jars provide the same package:.*</_fixupmessages>
<Export-Package>
!com.google.common.base.internal,
!com.google.common.util.concurrent.internal,
@@ -110,7 +110,7 @@
<execution>
<id>default-compile</id>
<configuration>
<compilerArgs combine.children="append" combine.self="append">
<compilerArgs combine.children="append">
<arg>-XDignore.symbol.file</arg>
</compilerArgs>
</configuration>
+1 -1
View File
@@ -215,7 +215,7 @@
<target>1.8</target>
<encoding>UTF-8</encoding>
<parameters>true</parameters>
<compilerArgs combine.children="override">
<compilerArgs>
<!-- https://errorprone.info/docs/installation#maven -->
<arg>-XDcompilePolicy=simple</arg>
<arg>--should-stop=ifError=FLOW</arg>
+8
View File
@@ -71,6 +71,14 @@
<build>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.4</version>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
+1 -1
View File
@@ -81,7 +81,7 @@
<execution>
<id>default-compile</id>
<configuration>
<compilerArgs combine.children="append" combine.self="append">
<compilerArgs combine.children="append">
<arg>-XDignore.symbol.file</arg>
</compilerArgs>
</configuration>
+3 -3
View File
@@ -79,8 +79,8 @@
</executions>
<configuration>
<instructions>
<!-- Silence a warning that claims that META-INF/versions/9/... is the "wrong directory" for our classes. -->
<_fixupmessages>^Classes found in the wrong directory: .*</_fixupmessages>
<!-- Silence a warning that claims the default package is a "split package" because both Guava and JSpecify have a root `module-info.class`. -->
<_fixupmessages>^Split package, multiple jars provide the same package:.*</_fixupmessages>
<Export-Package>
!com.google.common.base.internal,
!com.google.common.util.concurrent.internal,
@@ -103,7 +103,7 @@
<execution>
<id>default-compile</id>
<configuration>
<compilerArgs combine.children="append" combine.self="append">
<compilerArgs combine.children="append">
<arg>-XDignore.symbol.file</arg>
</compilerArgs>
</configuration>
+1 -1
View File
@@ -216,7 +216,7 @@
<target>1.8</target>
<encoding>UTF-8</encoding>
<parameters>true</parameters>
<compilerArgs combine.children="override">
<compilerArgs>
<!-- https://errorprone.info/docs/installation#maven -->
<arg>-XDcompilePolicy=simple</arg>
<arg>--should-stop=ifError=FLOW</arg>