Fix ccsdk,sdnc CLM jobs
Add MVN_OPTS=--add-opens=java.base/java.util=ALL-UNNAMED to CLM jobs to
fix java 17 compile error on CLM jobs
Issue-ID: CCSDK-3863
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I784dbe14f6a851d9d65b4cb386d3a001c0c2b3ed
diff --git a/jjb/ccsdk/apps.yaml b/jjb/ccsdk/apps.yaml
index 2b277ba..423e4af 100644
--- a/jjb/ccsdk/apps.yaml
+++ b/jjb/ccsdk/apps.yaml
@@ -83,6 +83,7 @@
java-version: openjdk17
mvn-version: 'mvn38'
mvn-settings: 'ccsdk-apps-settings'
+ mvn-opts: '--add-opens=java.base/java.util=ALL-UNNAMED'
build-node: ubuntu1804-builder-4c-4g
#- project:
diff --git a/jjb/ccsdk/ccsdk-oran.yaml b/jjb/ccsdk/ccsdk-oran.yaml
index ec57b88..3817186 100644
--- a/jjb/ccsdk/ccsdk-oran.yaml
+++ b/jjb/ccsdk/ccsdk-oran.yaml
@@ -55,7 +55,7 @@
java-version: openjdk17
mvn-version: 'mvn38'
mvn-settings: 'ccsdk-oran-settings'
- mvn-opts: '-Ddocker.skip=true'
+ mvn-opts: '-Ddocker.skip=true --add-opens=java.base/java.util=ALL-UNNAMED'
build-node: centos8-builder-4c-4g
- project:
diff --git a/jjb/ccsdk/cds.yaml b/jjb/ccsdk/cds.yaml
index c67bd01..aaaef80 100644
--- a/jjb/ccsdk/cds.yaml
+++ b/jjb/ccsdk/cds.yaml
@@ -115,6 +115,7 @@
java-version: openjdk17
mvn-version: 'mvn38'
mvn-settings: 'ccsdk-cds-settings'
+ mvn-opts: '--add-opens=java.base/java.util=ALL-UNNAMED'
build-node: centos8-builder-4c-4g
- project:
diff --git a/jjb/ccsdk/distribution.yaml b/jjb/ccsdk/distribution.yaml
index 5f11f92..c409ef0 100644
--- a/jjb/ccsdk/distribution.yaml
+++ b/jjb/ccsdk/distribution.yaml
@@ -74,6 +74,7 @@
java-version: openjdk17
mvn-version: 'mvn38'
mvn-settings: 'ccsdk-distribution-settings'
+ mvn-opts: '--add-opens=java.base/java.util=ALL-UNNAMED'
build-node: centos8-docker-8c-8g
diff --git a/jjb/ccsdk/features.yaml b/jjb/ccsdk/features.yaml
index 862aea0..60d6f67 100644
--- a/jjb/ccsdk/features.yaml
+++ b/jjb/ccsdk/features.yaml
@@ -72,7 +72,7 @@
java-version: openjdk17
mvn-version: 'mvn38'
mvn-settings: 'ccsdk-features-settings'
- mvn-opts: '-Xmx3072m'
+ mvn-opts: '-Xmx3072m --add-opens=java.base/java.util=ALL-UNNAMED'
build-node: centos8-builder-4c-4g
- project:
diff --git a/jjb/ccsdk/odl-legacy.yaml b/jjb/ccsdk/odl-legacy.yaml
index 5bab8f2..ea8331b 100644
--- a/jjb/ccsdk/odl-legacy.yaml
+++ b/jjb/ccsdk/odl-legacy.yaml
@@ -73,6 +73,7 @@
java-version: openjdk17
mvn-version: 'mvn38'
mvn-settings: 'ccsdk-odl-legacy-settings'
+ mvn-opts: '--add-opens=java.base/java.util=ALL-UNNAMED'
build-node: centos8-builder-4c-4g
diff --git a/jjb/ccsdk/parent.yaml b/jjb/ccsdk/parent.yaml
index 0134d6c..eedabbe 100644
--- a/jjb/ccsdk/parent.yaml
+++ b/jjb/ccsdk/parent.yaml
@@ -59,6 +59,7 @@
java-version: openjdk17
mvn-version: 'mvn38'
mvn-settings: 'ccsdk-parent-settings'
+ mvn-opts: '--add-opens=java.base/java.util=ALL-UNNAMED'
build-node: centos8-builder-4c-4g
- project:
diff --git a/jjb/ccsdk/sli.yaml b/jjb/ccsdk/sli.yaml
index ff6eca0..c9efc90 100644
--- a/jjb/ccsdk/sli.yaml
+++ b/jjb/ccsdk/sli.yaml
@@ -70,6 +70,7 @@
java-version: openjdk17
mvn-version: 'mvn38'
mvn-settings: 'ccsdk-sli-settings'
+ mvn-opts: '--add-opens=java.base/java.util=ALL-UNNAMED'
build-node: centos8-builder-4c-4g
- project:
diff --git a/jjb/sdnc/sdnc-apps.yaml b/jjb/sdnc/sdnc-apps.yaml
index 706184b..65f8d3e 100644
--- a/jjb/sdnc/sdnc-apps.yaml
+++ b/jjb/sdnc/sdnc-apps.yaml
@@ -108,6 +108,7 @@
java-version: openjdk17
mvn-version : "mvn38"
mvn-settings: 'sdnc-apps-settings'
+ mvn-opts: '--add-opens=java.base/java.util=ALL-UNNAMED'
- project:
name: sdnc-apps-info
diff --git a/jjb/sdnc/sdnc-northbound.yaml b/jjb/sdnc/sdnc-northbound.yaml
index 1330b3b..48cec0d 100644
--- a/jjb/sdnc/sdnc-northbound.yaml
+++ b/jjb/sdnc/sdnc-northbound.yaml
@@ -70,6 +70,7 @@
mvn-settings: 'sdnc-northbound-settings'
java-version: openjdk17
mvn-version: 'mvn38'
+ mvn-opts: '--add-opens=java.base/java.util=ALL-UNNAMED'
- project:
name: sdnc-northbound-info
diff --git a/jjb/sdnc/sdnc-oam.yaml b/jjb/sdnc/sdnc-oam.yaml
index 4c2e6f0..0fe22c5 100644
--- a/jjb/sdnc/sdnc-oam.yaml
+++ b/jjb/sdnc/sdnc-oam.yaml
@@ -72,6 +72,7 @@
mvn-settings: 'sdnc-oam-settings'
java-version: openjdk17
mvn-version: 'mvn38'
+ mvn-opts: '--add-opens=java.base/java.util=ALL-UNNAMED'
- project:
name: sdnc-oam-info