HBASE-12695 JDK 1.8 compilation broken
Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
e5ca773f78
commit
b2eea8cac6
|
@ -40,14 +40,14 @@
|
|||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
|
|
@ -47,14 +47,14 @@
|
|||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||
</configuration>
|
||||
|
@ -45,7 +45,7 @@
|
|||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||
</configuration>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||
</configuration>
|
||||
|
@ -50,7 +50,7 @@
|
|||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||
</configuration>
|
||||
|
|
|
@ -40,7 +40,7 @@ limitations under the License.
|
|||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||
</configuration>
|
||||
|
@ -48,7 +48,7 @@ limitations under the License.
|
|||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||
</configuration>
|
||||
|
|
|
@ -123,14 +123,14 @@
|
|||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
|
|
@ -39,14 +39,14 @@
|
|||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||
</configuration>
|
||||
|
@ -64,7 +64,7 @@
|
|||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||
</configuration>
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||
</configuration>
|
||||
|
@ -60,7 +60,7 @@
|
|||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<compilerId>${java.default.compiler}</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||
</configuration>
|
||||
|
|
10
pom.xml
10
pom.xml
|
@ -1021,6 +1021,7 @@
|
|||
<!-- Build dependencies -->
|
||||
<maven.min.version>3.0.3</maven.min.version>
|
||||
<java.min.version>${compileSource}</java.min.version>
|
||||
<java.default.compiler>javac-with-errorprone</java.default.compiler>
|
||||
<!-- Dependencies -->
|
||||
<hadoop-two.version>2.5.1</hadoop-two.version>
|
||||
<hadoop-three.version>3.0.0-SNAPSHOT</hadoop-three.version>
|
||||
|
@ -2398,6 +2399,15 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>javac</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<properties>
|
||||
<java.default.compiler>javac</java.default.compiler>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
<!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
|
||||
<reporting>
|
||||
|
|
Loading…
Reference in New Issue