This is an automated email from the ASF dual-hosted git repository.
wuzhiguo pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 4947817660 AMBARI-25733 Make JDK8 the minimum requirement (#3367)
4947817660 is described below
commit 49478176605d960df0bca7b2cf4ecf6b45f91e06
Author: Wei-Chiu Chuang <[email protected]>
AuthorDate: Thu Sep 29 14:33:29 2022 +0800
AMBARI-25733 Make JDK8 the minimum requirement (#3367)
---
ambari-agent/pom.xml | 4 ++--
ambari-funtest/pom.xml | 3 ---
ambari-server-spi/pom.xml | 1 -
ambari-server/pom.xml | 1 -
ambari-serviceadvisor/pom.xml | 4 ++--
ambari-utility/pom.xml | 4 ++--
contrib/views/pig/pom.xml | 4 ++--
contrib/views/wfmanager/pom.xml | 4 ++--
contrib/views/wfmanager/src/main/resources/ui/pom.xml | 4 ++--
pom.xml | 5 +++--
10 files changed, 15 insertions(+), 19 deletions(-)
diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index 03fcc0c36b..7a056e8654 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -214,8 +214,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
- <source>1.7</source>
- <target>1.7</target>
+ <source>${jdk.version}</source>
+ <target>${jdk.version}</target>
</configuration>
</plugin>
<plugin>
diff --git a/ambari-funtest/pom.xml b/ambari-funtest/pom.xml
index 8918c04d2f..9c334e3e4c 100644
--- a/ambari-funtest/pom.xml
+++ b/ambari-funtest/pom.xml
@@ -21,9 +21,6 @@
<packaging>jar</packaging>
<name>Ambari Functional Tests</name>
<description>Ambari Functional Tests</description>
- <properties>
- <jdk.version>1.8</jdk.version>
- </properties>
<build>
<plugins>
<plugin>
diff --git a/ambari-server-spi/pom.xml b/ambari-server-spi/pom.xml
index 221be74726..b11a783d36 100644
--- a/ambari-server-spi/pom.xml
+++ b/ambari-server-spi/pom.xml
@@ -30,7 +30,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<xlint>none</xlint>
- <jdk.version>1.8</jdk.version>
</properties>
<build>
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 6dbdb86fe7..0bc73e4ecb 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -53,7 +53,6 @@
<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>
diff --git a/ambari-serviceadvisor/pom.xml b/ambari-serviceadvisor/pom.xml
index 67b85ab6e7..c68c6604e7 100644
--- a/ambari-serviceadvisor/pom.xml
+++ b/ambari-serviceadvisor/pom.xml
@@ -104,8 +104,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
- <source>1.7</source>
- <target>1.7</target>
+ <source>${jdk.version}</source>
+ <target>${jdk.version}</target>
</configuration>
</plugin>
<plugin>
diff --git a/ambari-utility/pom.xml b/ambari-utility/pom.xml
index 4d0adfeadf..9b333707df 100644
--- a/ambari-utility/pom.xml
+++ b/ambari-utility/pom.xml
@@ -139,8 +139,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
- <source>1.8</source>
- <target>1.8</target>
+ <source>${jdk.version}</source>
+ <target>${jdk.version}</target>
<useIncrementalCompilation>false</useIncrementalCompilation>
</configuration>
</plugin>
diff --git a/contrib/views/pig/pom.xml b/contrib/views/pig/pom.xml
index 4441780760..27126240f2 100644
--- a/contrib/views/pig/pom.xml
+++ b/contrib/views/pig/pom.xml
@@ -295,8 +295,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
- <source>1.6</source>
- <target>1.6</target>
+ <source>${jdk.version}</source>
+ <target>${jdk.version}</target>
</configuration>
</plugin>
<plugin>
diff --git a/contrib/views/wfmanager/pom.xml b/contrib/views/wfmanager/pom.xml
index b6548b37ce..e416815104 100644
--- a/contrib/views/wfmanager/pom.xml
+++ b/contrib/views/wfmanager/pom.xml
@@ -224,8 +224,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
- <source>1.7</source>
- <target>1.7</target>
+ <source>${jdk.version}</source>
+ <target>${jdk.version}</target>
</configuration>
</plugin>
<plugin>
diff --git a/contrib/views/wfmanager/src/main/resources/ui/pom.xml
b/contrib/views/wfmanager/src/main/resources/ui/pom.xml
index cb23438c1c..87ce0370ee 100644
--- a/contrib/views/wfmanager/src/main/resources/ui/pom.xml
+++ b/contrib/views/wfmanager/src/main/resources/ui/pom.xml
@@ -104,8 +104,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
- <source>1.7</source>
- <target>1.7</target>
+ <source>${jdk.version}</source>
+ <target>${jdk.version}</target>
</configuration>
</plugin>
<plugin>
diff --git a/pom.xml b/pom.xml
index 1bb6f9a671..736aad5c0d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,6 +82,7 @@
<revision>3.0.0.0-SNAPSHOT</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<clover.license>${user.home}/clover.license</clover.license>
+ <jdk.version>1.8</jdk.version>
<buildnumber-maven-plugin-version>1.2</buildnumber-maven-plugin-version>
<deb.publisher>Hortonworks</deb.publisher>
<deb.section>universe/admin</deb.section>
@@ -225,8 +226,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
- <source>1.7</source>
- <target>1.7</target>
+ <source>${jdk.version}</source>
+ <target>${jdk.version}</target>
</configuration>
</plugin>
<plugin>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]