This is an automated email from the ASF dual-hosted git repository.

brahma pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 61780240d4 AMBARI-25818: Use java 1.8 in ambari-serviceadvisor module 
(#3618)
61780240d4 is described below

commit 61780240d43cd6700e4e9ea03061b13799e68173
Author: Mohammad Arshad <[email protected]>
AuthorDate: Mon Dec 26 23:23:20 2022 +0530

    AMBARI-25818: Use java 1.8 in ambari-serviceadvisor module (#3618)
    
    Signed-off-by: Brahma Reddy Battula <[email protected]>
---
 ambari-serviceadvisor/pom.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/ambari-serviceadvisor/pom.xml b/ambari-serviceadvisor/pom.xml
index e8fc4f8287..1e13566fec 100644
--- a/ambari-serviceadvisor/pom.xml
+++ b/ambari-serviceadvisor/pom.xml
@@ -29,6 +29,9 @@
   <name>Ambari Service Advisor</name>
   <version>1.0.0.0-SNAPSHOT</version>
   <description>Service Advisor</description>
+  <properties>
+    <jdk.version>1.8</jdk.version>
+  </properties>
 
   <dependencies>
     <!-- Log Factory logging
@@ -104,8 +107,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]

Reply via email to