[DMAAP-DR] Upgrade DataRouter to java 17 04/135504/2
authordavid.mcweeney <david.mcweeney@est.tech>
Wed, 19 Jul 2023 08:38:05 +0000 (09:38 +0100)
committerdavid.mcweeney <david.mcweeney@est.tech>
Fri, 21 Jul 2023 08:37:44 +0000 (09:37 +0100)
Change-Id: I82fb919be9abd9a3110dfdd96ee43576de069e76
Issue-ID: DMAAP-1895
Signed-off-by: david.mcweeney <david.mcweeney@est.tech>
datarouter-node/src/main/resources/docker/Dockerfile
datarouter-prov/src/main/resources/docker/Dockerfile
datarouter-subscriber/src/main/resources/docker/Dockerfile
pom.xml
version.properties

index 38ea3b9..7c2cf3f 100644 (file)
@@ -19,7 +19,7 @@
 #  limitations under the License.
 #  ============LICENSE_END====================================================
 #
-FROM nexus3.onap.org:10001/onap/integration-java11:10.0.0
+FROM nexus3.onap.org:10001/onap/integration-java17:12.0.0
 
 COPY /opt /opt
 
index 38ea3b9..7c2cf3f 100644 (file)
@@ -19,7 +19,7 @@
 #  limitations under the License.
 #  ============LICENSE_END====================================================
 #
-FROM nexus3.onap.org:10001/onap/integration-java11:10.0.0
+FROM nexus3.onap.org:10001/onap/integration-java17:12.0.0
 
 COPY /opt /opt
 
index f3ad036..a3016c4 100644 (file)
@@ -19,7 +19,7 @@
 #  limitations under the License.
 #  ============LICENSE_END====================================================
 #
-FROM nexus3.onap.org:10001/onap/integration-java11:10.0.0
+FROM nexus3.onap.org:10001/onap/integration-java17:12.0.0
 
 COPY /opt /opt
 
diff --git a/pom.xml b/pom.xml
index c461c9b..529e7c6 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
@@ -5,6 +5,7 @@
   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
   * Modifications Copyright (C) 2018 Nokia. All rights reserved.
   * Copyright (d) 2023 J. F. Lucas.  All rights reserved.
+  * Copyright © 2023 Nordix Foundation Property. All rights reserved.
   * ===========================================================================
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
     </parent>
     <properties>
         <!--revision must also be set in the version.properties file at project root-->
-        <revision>2.1.14-SNAPSHOT</revision>
+        <revision>2.1.15-SNAPSHOT</revision>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <maven.compiler.source>11</maven.compiler.source>
-        <maven.compiler.target>11</maven.compiler.target>
+        <maven.compiler.source>17</maven.compiler.source>
+        <maven.compiler.target>17</maven.compiler.target>
 
         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
                         <exclude>IntegrationSuite.java</exclude>
                     </excludes>
                     <argLine>
-                        ${surefireArgLine} --illegal-access=permit
+                        --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
+                        --add-opens=java.base/sun.security.util=ALL-UNNAMED
+                        --add-opens=java.base/sun.security.jca=ALL-UNNAMED
+                        --add-opens=java.base/java.util.regex=ALL-UNNAMED
+                        --add-opens=java.base/java.nio.file=ALL-UNNAMED
+                        --add-opens java.base/java.lang=ALL-UNNAMED
+                        --add-opens=java.base/java.util=ALL-UNNAMED
+                        --add-opens=java.base/java.text=ALL-UNNAMED
+                        --add-opens=java.base/java.net=ALL-UNNAMED
+                        --add-opens=java.base/java.nio=ALL-UNNAMED
+                        --add-opens=java.base/java.io=ALL-UNNAMED
                     </argLine>
                 </configuration>
             </plugin>
                 <artifactId>maven-failsafe-plugin</artifactId>
                 <configuration>
                     <argLine>
-                        --illegal-access=permit
+                        --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
+                        --add-opens=java.base/sun.security.util=ALL-UNNAMED
+                        --add-opens=java.base/sun.security.jca=ALL-UNNAMED
+                        --add-opens=java.base/java.util.regex=ALL-UNNAMED
+                        --add-opens=java.base/java.nio.file=ALL-UNNAMED
+                        --add-opens java.base/java.lang=ALL-UNNAMED
+                        --add-opens=java.base/java.util=ALL-UNNAMED
+                        --add-opens=java.base/java.text=ALL-UNNAMED
+                        --add-opens=java.base/java.net=ALL-UNNAMED
+                        --add-opens=java.base/java.nio=ALL-UNNAMED
+                        --add-opens=java.base/java.io=ALL-UNNAMED
                     </argLine>
                 </configuration>
             </plugin>
index 7ec099f..eaa9ae1 100644 (file)
@@ -5,16 +5,16 @@
 # Copyright (C) 2017 AT&T Intellectual Property. All rights\r
 #                             reserved.\r
 # ================================================================================\r
-# Licensed under the Apache License, Version 2.0 (the "License"); \r
-# you may not use this file except in compliance with the License. \r
+# Licensed under the Apache License, Version 2.0 (the "License");\r
+# you may not use this file except in compliance with the License.\r
 # You may obtain a copy of the License at\r
-# \r
+#\r
 # http://www.apache.org/licenses/LICENSE-2.0\r
-# \r
-# Unless required by applicable law or agreed to in writing, software \r
-# distributed under the License is distributed on an "AS IS" BASIS, \r
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. \r
-# See the License for the specific language governing permissions and \r
+#\r
+# Unless required by applicable law or agreed to in writing, software\r
+# distributed under the License is distributed on an "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+# See the License for the specific language governing permissions and\r
 # limitations under the License.\r
 # ============LICENSE_END============================================\r
 # ===================================================================\r
@@ -27,7 +27,7 @@
 \r
 major=2\r
 minor=1\r
-patch=14\r
+patch=15\r
 \r
 base_version=${major}.${minor}.${patch}\r
 \r