Update pom.xml

This commit is contained in:
Greg 2020-03-17 10:47:54 -04:00 committed by GitHub
parent 1593704112
commit 5861ebd633
1 changed files with 43 additions and 43 deletions

View File

@ -104,23 +104,23 @@
<artifactId>velocity-engine-core</artifactId> <artifactId>velocity-engine-core</artifactId>
<version>${velocity-engine-core.version}</version> <version>${velocity-engine-core.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.uber.nullaway</groupId> <groupId>com.uber.nullaway</groupId>
<artifactId>nullaway</artifactId> <artifactId>nullaway</artifactId>
<version>0.3.0</version> <version>0.3.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.codehaus.plexus</groupId> <groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac-errorprone</artifactId> <artifactId>plexus-compiler-javac-errorprone</artifactId>
<version>2.8</version> <version>2.8</version>
</dependency> </dependency>
<!-- override plexus-compiler-javac-errorprone's dependency on <!-- override plexus-compiler-javac-errorprone's dependency on
Error Prone with the latest version --> Error Prone with the latest version -->
<dependency> <dependency>
<groupId>com.google.errorprone</groupId> <groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId> <artifactId>error_prone_core</artifactId>
<version>2.1.3</version> <version>2.1.3</version>
</dependency> </dependency>
</dependencies> </dependencies>
<repositories> <repositories>
@ -158,32 +158,32 @@
</dependencies> </dependencies>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.5</version> <version>3.5</version>
<configuration> <configuration>
<compilerId>javac-with-errorprone</compilerId> <compilerId>javac-with-errorprone</compilerId>
<forceJavacCompilerUse>true</forceJavacCompilerUse> <forceJavacCompilerUse>true</forceJavacCompilerUse>
<source>1.8</source> <source>1.8</source>
<target>1.8</target> <target>1.8</target>
<showWarnings>true</showWarnings> <showWarnings>true</showWarnings>
<annotationProcessorPaths> <annotationProcessorPaths>
<path> <path>
<groupId>com.uber.nullaway</groupId> <groupId>com.uber.nullaway</groupId>
<artifactId>nullaway</artifactId> <artifactId>nullaway</artifactId>
<version>0.3.0</version> <version>0.3.0</version>
</path> </path>
</annotationProcessorPaths> </annotationProcessorPaths>
<compilerArgs> <compilerArgs>
<!-- NullAway will warn by default, uncomment the next line to make the build fail --> <!-- NullAway will warn by default, uncomment the next line to make the build fail -->
<!-- <arg>-Xep:NullAway:ERROR</arg> --> <!-- <arg>-Xep:NullAway:ERROR</arg> -->
<arg>-XepExcludedPaths:(.*)/test/.*|(.*)/streamex/.*</arg> <arg>-XepExcludedPaths:(.*)/test/.*|(.*)/streamex/.*</arg>
<arg>-XepOpt:NullAway:AnnotatedPackages=com.baeldung.nullaway</arg> <arg>-XepOpt:NullAway:AnnotatedPackages=com.baeldung.nullaway</arg>
</compilerArgs> </compilerArgs>
</configuration> </configuration>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.codehaus.plexus</groupId> <groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac-errorprone</artifactId> <artifactId>plexus-compiler-javac-errorprone</artifactId>
<version>2.8</version> <version>2.8</version>