Code changes needed to resolve openjdk17 issues 02/133602/1
authorDan Timoney <dtimoney@att.com>
Thu, 9 Mar 2023 15:20:51 +0000 (10:20 -0500)
committerDan Timoney <dtimoney@att.com>
Thu, 9 Mar 2023 15:20:51 +0000 (10:20 -0500)
Upgraded groovy maven plugin for openjdk17.  Changed parent version
to latest snapshot to pick up grpc upgrade needed to allow local
compiles on newer macbooks, based on apple silicon.

Issue-ID: CCSDK-3861
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Ie11456682a3a038892a35a5ec3b3e0f2e8847b13

cds-ui/application/pom.xml
cds-ui/server/pom.xml
ms/blueprintsprocessor/application/pom.xml
ms/blueprintsprocessor/application/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/uat/BlueprintsAcceptanceTest.kt
ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/load/BluePrintCatalogLoadService.kt
ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/load/ModelTypeLoadService.kt
ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/load/ResourceDictionaryLoadService.kt
ms/command-executor/pom.xml
ms/py-executor/pom.xml
ms/sdclistener/distribution/pom.xml
pom.xml

index 3a305a0..4f09b0c 100644 (file)
@@ -40,9 +40,9 @@ limitations under the License.
     <build>
         <plugins>
             <plugin>
-                <groupId>org.codehaus.groovy.maven</groupId>
-                <artifactId>gmaven-plugin</artifactId>
-                <version>1.0</version>
+                <groupId>org.codehaus.gmaven</groupId>
+                <artifactId>groovy-maven-plugin</artifactId>
+                <version>2.1.1</version>
                 <executions>
                     <execution>
                         <phase>validate</phase>
index d07ea3a..b0d1559 100644 (file)
@@ -109,9 +109,9 @@ limitations under the License.
                 </executions>
             </plugin>
             <plugin>
-                <groupId>org.codehaus.groovy.maven</groupId>
-                <artifactId>gmaven-plugin</artifactId>
-                <version>1.0</version>
+                <groupId>org.codehaus.gmaven</groupId>
+                <artifactId>groovy-maven-plugin</artifactId>
+                <version>2.1.1</version>
                 <executions>
                     <execution>
                         <phase>validate</phase>
index c0df4d9..319272a 100755 (executable)
                 </executions>
             </plugin>
             <plugin>
-                <groupId>org.codehaus.groovy.maven</groupId>
-                <artifactId>gmaven-plugin</artifactId>
-                <version>1.0</version>
+                <groupId>org.codehaus.gmaven</groupId>
+                <artifactId>groovy-maven-plugin</artifactId>
+                <version>2.1.1</version>
                 <executions>
                     <execution>
                         <phase>validate</phase>
index 4a8da53..6349b44 100644 (file)
@@ -66,7 +66,7 @@ class BlueprintsAcceptanceTest(
                 .map { file ->
                     arrayOf(
                         file.nameWithoutExtension,
-                        FileSystems.newFileSystem(file.canonicalFile.toPath(), null)
+                        FileSystems.newFileSystem(file.canonicalFile.toPath(), null as? ClassLoader)
                     )
                 }
         }
index ceeeb05..813eeb5 100644 (file)
@@ -53,7 +53,7 @@ open class BluePrintCatalogLoadService(private val controllerBlueprintsCatalogSe
                 deferredResult.await()
             }
 
-            if (!errorBuilder.isEmpty) {
+            if (!errorBuilder.isEmpty()) {
                 log.error(errorBuilder.toString())
             }
         }
index e96daf9..5206e36 100644 (file)
@@ -98,7 +98,7 @@ open class ModelTypeLoadService(private val modelTypeHandler: ModelTypeHandler)
                 deferred.awaitAll()
             }
 
-            if (!errorBuilder.isEmpty) {
+            if (!errorBuilder.isEmpty()) {
                 log.error(errorBuilder.toString())
             }
         } catch (e: Exception) {
index 9447136..22163b1 100755 (executable)
@@ -83,9 +83,9 @@
                 </executions>
             </plugin>
             <plugin>
-                <groupId>org.codehaus.groovy.maven</groupId>
-                <artifactId>gmaven-plugin</artifactId>
-                <version>1.0</version>
+                <groupId>org.codehaus.gmaven</groupId>
+                <artifactId>groovy-maven-plugin</artifactId>
+                <version>2.1.1</version>
                 <executions>
                     <execution>
                         <phase>validate</phase>
index 5fdcfcf..860b8a6 100644 (file)
@@ -82,9 +82,9 @@
                 </executions>
             </plugin>
             <plugin>
-                <groupId>org.codehaus.groovy.maven</groupId>
-                <artifactId>gmaven-plugin</artifactId>
-                <version>1.0</version>
+                <groupId>org.codehaus.gmaven</groupId>
+                <artifactId>groovy-maven-plugin</artifactId>
+                <version>2.1.1</version>
                 <executions>
                     <execution>
                         <phase>validate</phase>
index 289e0a6..b5a6483 100755 (executable)
                 </executions>
             </plugin>
             <plugin>
-                <groupId>org.codehaus.groovy.maven</groupId>
-                <artifactId>gmaven-plugin</artifactId>
-                <version>1.0</version>
+                <groupId>org.codehaus.gmaven</groupId>
+                <artifactId>groovy-maven-plugin</artifactId>
+                <version>2.1.1</version>
                 <executions>
                     <execution>
                         <phase>validate</phase>
diff --git a/pom.xml b/pom.xml
index dcac38c..e2cd05e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@ limitations under the License.
     <parent>
         <groupId>org.onap.ccsdk.parent</groupId>
         <artifactId>spring-boot-26-starter-parent</artifactId>
-        <version>2.5.3</version>
+        <version>2.5.4-SNAPSHOT</version>
         <relativePath/>
     </parent>