You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2017/07/05 15:54:51 UTC
[09/17] ambari git commit: AMBARI-21380. Force to use JDK 8 for
Ambari Server maven build (oleewere)
AMBARI-21380. Force to use JDK 8 for Ambari Server maven build (oleewere)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a740b50f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a740b50f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a740b50f
Branch: refs/heads/branch-feature-AMBARI-20859
Commit: a740b50fd2866a317840f09859cc703ebdd4a26b
Parents: 5f04b30
Author: oleewere <ol...@gmail.com>
Authored: Mon Jul 3 14:01:21 2017 +0200
Committer: oleewere <ol...@gmail.com>
Committed: Mon Jul 3 14:13:32 2017 +0200
----------------------------------------------------------------------
ambari-server/pom.xml | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/a740b50f/ambari-server/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 4b75d9b..f3eb66f 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -51,6 +51,7 @@
<empty.dir>src/main/package</empty.dir> <!-- any directory in project with not very big amount of files (not to waste-load them) -->
<el.log>ALL</el.log> <!-- log level for EclipseLink eclipselink-staticweave-maven-plugin -->
<xlint>none</xlint> <!-- passed to Java compiler -Xlint: flag -->
+ <jdk.version>1.8</jdk.version>
</properties>
<build>
<plugins>
@@ -111,6 +112,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
+ <source>${jdk.version}</source>
+ <target>${jdk.version}</target>
<useIncrementalCompilation>false</useIncrementalCompilation>
<compilerArgs>
<arg>-Xlint:${xlint}</arg>