Skip to content

Commit

Permalink
fixup! -Xlint:-removal on jdk8
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Gammon <sam@elide.ventures>
  • Loading branch information
sgammon committed Mar 9, 2024
1 parent 462413b commit f8280d0
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions guava-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,6 @@
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-testCompile</id>
<configuration>
<compilerArgs>
<compilerArg>-Xlint:-removal</compilerArg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
Expand Down Expand Up @@ -140,4 +130,25 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>jvm11plus</id>
<activation>
<jdk>[11,]</jdk>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs combine.self="append" combine.children="append">
<arg>-Xlint:-removal</arg>
<arg>-Xlint:-options</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit f8280d0

Please sign in to comment.