|
|
@@ -258,12 +258,59 @@ |
|
|
|
|
|
|
|
<plugin> |
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|
<version>3.5.1</version> |
|
|
|
<version>3.6.0</version> |
|
|
|
<configuration> |
|
|
|
<encoding>UTF-8</encoding> |
|
|
|
<source>1.8</source> |
|
|
|
<target>1.8</target> |
|
|
|
</configuration> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>default-compile</id> |
|
|
|
<phase>compile</phase> |
|
|
|
<goals> |
|
|
|
<goal>compile</goal> |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<includes> |
|
|
|
<include>org/eclipse/jgit/transport/InsecureCipherFactory.java</include> |
|
|
|
</includes> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
<execution> |
|
|
|
<id>compile-with-errorprone</id> |
|
|
|
<phase>compile</phase> |
|
|
|
<goals> |
|
|
|
<goal>compile</goal> |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<compilerId>javac-with-errorprone</compilerId> |
|
|
|
<forceJavacCompilerUse>true</forceJavacCompilerUse> |
|
|
|
<excludes> |
|
|
|
<exclude>org/eclipse/jgit/transport/InsecureCipherFactory.java</exclude> |
|
|
|
</excludes> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
<dependencies> |
|
|
|
<dependency> |
|
|
|
<groupId>org.codehaus.plexus</groupId> |
|
|
|
<artifactId>plexus-compiler-javac</artifactId> |
|
|
|
<version>2.8.1</version> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>org.codehaus.plexus</groupId> |
|
|
|
<artifactId>plexus-compiler-javac-errorprone</artifactId> |
|
|
|
<version>2.8.1</version> |
|
|
|
</dependency> |
|
|
|
<!-- override plexus-compiler-javac-errorprone's dependency on |
|
|
|
Error Prone with the latest version --> |
|
|
|
<dependency> |
|
|
|
<groupId>com.google.errorprone</groupId> |
|
|
|
<artifactId>error_prone_core</artifactId> |
|
|
|
<version>2.0.14</version> |
|
|
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
</plugin> |
|
|
|
|
|
|
|
<plugin> |