Merge "Update for sparky-be to work on Java 11"
authorVenkata Harish Kajur <vk250x@att.com>
Thu, 18 Feb 2021 01:51:01 +0000 (01:51 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 18 Feb 2021 01:51:01 +0000 (01:51 +0000)
sparkybe-onap-application/pom.xml
sparkybe-onap-service/pom.xml

index 79d3c70..7b4996f 100644 (file)
@@ -14,7 +14,7 @@
        <packaging>jar</packaging>
 
     <properties>
-        <java.version>1.8</java.version>
+        <java.version>1.11</java.version>
         <frontEndGroupdId>org.onap.aai</frontEndGroupdId>
         <frontEndArtifactId>sparky-fe</frontEndArtifactId>
         <frontEndVersion>1.5.0</frontEndVersion>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>
                     <configuration>
-                        <source>1.8</source>
-                        <target>1.8</target>
+                        <release>11</release>
                     </configuration>
                 </plugin>
             </plugins>
index f8b76b6..b4fd702 100644 (file)
@@ -13,7 +13,7 @@
        <packaging>jar</packaging>
 
        <properties>
-               <java.version>1.8</java.version>
+               <java.version>1.11</java.version>
                <frontEndGroupdId>org.onap.aai</frontEndGroupdId>
                <frontEndArtifactId>sparky-fe</frontEndArtifactId>
                <frontEndVersion>1.3.0</frontEndVersion>
@@ -389,8 +389,7 @@ some of the depedencies should probably have a scope of provided so they don't a
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-compiler-plugin</artifactId>
                                        <configuration>
-                                               <source>1.8</source>
-                                               <target>1.8</target>
+                                               <release>11</release>
                                        </configuration>
                                </plugin>