Update for sparky-be to work on Java 11 82/117982/2
authorwr148d <wr148d@att.com>
Wed, 17 Feb 2021 15:33:25 +0000 (10:33 -0500)
committerwr148d <wr148d@att.com>
Wed, 17 Feb 2021 16:07:21 +0000 (11:07 -0500)
Issue-ID: AAI-3011
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Id105baed6bff4eebd22eec4ed1a1dfac76c95f1d
Signed-off-by: wr148d <wr148d@att.com>
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>