Skip to content

Commit

Permalink
fix: minimizing pom configs
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhatha committed Sep 9, 2024
1 parent d5c2dc1 commit dda3b5a
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions java/c/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,34 +95,10 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration combine.self="override">
<fork>true</fork>
<source>${minimalJavaBuildVersion}</source>
<target>${minimalJavaBuildVersion}</target>
<encoding>UTF-8</encoding>
<configuration combine.children="append">
<compilerArgs>
<arg>-XDcompilePolicy=simple</arg>
<arg>-Xplugin:ErrorProne -XepAllErrorsAsWarnings</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
<arg>-Werror</arg>
</compilerArgs>
<annotationProcessorPaths combine.children="append">
<path>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>${error_prone_core.version}</version>
<!-- Use the same version as the dependency -->
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit dda3b5a

Please sign in to comment.