Skip to content

Commit

Permalink
Drop Google Error Prone with java8-parent (#418)
Browse files Browse the repository at this point in the history
Error Prone >= 2.11.0 requires Java >= 11.
  • Loading branch information
freemanjp committed Feb 20, 2022
1 parent b4abb2c commit e85ffab
Showing 1 changed file with 0 additions and 47 deletions.
47 changes: 0 additions & 47 deletions java8-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,51 +50,4 @@
</plugins>
</build>

<profiles>
<profile>
<id>error-prone</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<fork>true</fork>
<compilerArgs>
<arg>-XDcompilePolicy=simple</arg>
<!-- Suppress UnusedVariable check until https://github.com/google/error-prone/issues/1266 is fixed -->
<!-- Suppress SameNameButDifferent check until https://github.com/google/error-prone/issues/2120 is fixed -->
<!-- Suppress ReferenceEquality check until https://github.com/google/error-prone/issues/447 is fixed -->
<!-- Suppress ParameterName check until https://github.com/google/error-prone/issues/780 is fixed -->
<!-- Suppress MissingSummary check until https://github.com/google/error-prone/issues/1444 is fixed -->
<arg>-Xplugin:ErrorProne -Xep:UnusedVariable:OFF -Xep:SameNameButDifferent:OFF -Xep:ReferenceEquality:OFF -Xep:ParameterName:OFF -Xep:MissingSummary:OFF -XepDisableWarningsInGeneratedCode</arg>
<arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</arg>
</compilerArgs>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<annotationProcessorPaths>
<path>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>${error-prone.version}</version>
</path>
<path>
<groupId>org.mockito</groupId>
<artifactId>mockito-errorprone</artifactId>
<version>${mockito.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>

</project>

0 comments on commit e85ffab

Please sign in to comment.