62 lines
3.0 KiB
XML
62 lines
3.0 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<parent>
|
||
|
<groupId>com.baeldung</groupId>
|
||
|
<artifactId>static-analysis</artifactId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
|
||
|
<artifactId>error-prone-project</artifactId>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>${maven-compiler-plugin.version}</version>
|
||
|
<configuration>
|
||
|
<release>17</release>
|
||
|
<encoding>UTF-8</encoding>
|
||
|
<fork>true</fork>
|
||
|
<compilerArgs>
|
||
|
<arg>-XDcompilePolicy=simple</arg>
|
||
|
<arg>-Xplugin:ErrorProne</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>
|
||
|
</compilerArgs>
|
||
|
<annotationProcessorPaths>
|
||
|
<path>
|
||
|
<groupId>com.google.errorprone</groupId>
|
||
|
<artifactId>error_prone_core</artifactId>
|
||
|
<version>${error-prone.version}</version>
|
||
|
</path>
|
||
|
<path>
|
||
|
<groupId>com.baeldung</groupId>
|
||
|
<artifactId>my-bugchecker-plugin</artifactId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
</path>
|
||
|
</annotationProcessorPaths>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<properties>
|
||
|
<maven.compiler.source>17</maven.compiler.source>
|
||
|
<maven.compiler.target>17</maven.compiler.target>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
</properties>
|
||
|
|
||
|
</project>
|