From b990fd5838cc45c4cf3f69ab64243a8bf984f70e Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Fri, 8 Nov 2024 13:13:21 +0100 Subject: Update AAI schema to v29 in sparky-be - update aai-schema dependency (1.6.6 -> 1.12.5) - introduce PRE_JVM_ARGS environment variable - bump version to 2.0.6-SNAPSHOT - format pom.xml Issue-ID: AAI-4049 Change-Id: Ieba43898e22e148ede5432307d78f931a6d9eb27 Signed-off-by: Fiete Ostkamp --- pom.xml | 483 ++++++++++----------- .../src/main/scripts/start.sh | 2 +- sparkybe-onap-service/pom.xml | 12 +- version.properties | 2 +- 4 files changed, 247 insertions(+), 252 deletions(-) diff --git a/pom.xml b/pom.xml index 908afa2..dd11627 100644 --- a/pom.xml +++ b/pom.xml @@ -1,272 +1,267 @@ - - 4.0.0 - - - org.onap.oparent - oparent - 2.0.0 - - - org.onap.aai - sparky-be - 2.0.5-SNAPSHOT - pom - aai-sparky-be + + 4.0.0 + + + org.onap.oparent + oparent + 2.0.0 + + + org.onap.aai + sparky-be + 2.0.6-SNAPSHOT + pom + aai-sparky-be sparkybe-onap-service/pom.xml sparkybe-onap-application/pom.xml - - /content/sites/site/org/onap/aai/sparky-be/${project.artifactId}/${project.version} - https://nexus.onap.org - 2.6.0 + + /content/sites/site/org/onap/aai/sparky-be/${project.artifactId}/${project.version} + https://nexus.onap.org + 2.6.0 - - - + + + - 0.90 - 0.8.5 - 3.2 - jacoco - ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + 0.90 + 0.8.5 + 3.2 + jacoco + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** - 3.7.0.1746 + 3.7.0.1746 - 3.8.1 - 11 - 11 - 11 - 11 - + 3.8.1 + 11 + 11 + 11 + 11 + - - - org.onap.portal.sdk - epsdk-fw - ${portal.sdk.version} - - - + + + org.onap.portal.sdk + epsdk-fw + ${portal.sdk.version} + + + - + - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - true - + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.version} + true + ${maven-compiler-plugin.source} - ${maven-compiler-plugin.source} - ${maven-compiler-plugin.target} - ${maven-compiler-plugin.test.source} - ${maven-compiler-plugin.test.target} - - - - org.apache.maven.plugins - maven-deploy-plugin - - - + ${maven-compiler-plugin.source} + ${maven-compiler-plugin.target} + ${maven-compiler-plugin.test.source} + ${maven-compiler-plugin.test.target} + + + + org.apache.maven.plugins + maven-deploy-plugin + + + - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + - - **/gen/** - **/generated-sources/** - **/yang-gen/** - **/pax/** - org/onap/aai/babel/xml/generator/xsd/* - - - - - - pre-unit-test - - prepare-agent - - - - ${project.build.directory}/code-coverage/jacoco-ut.exec - - surefireArgLine - - - + ${project.build.directory}/code-coverage/jacoco-ut.exec + + surefireArgLine + + + - - post-unit-test - test - - report - - - - ${project.build.directory}/code-coverage/jacoco-ut.exec - - ${project.reporting.outputDirectory}/jacoco-ut - - - - pre-integration-test - pre-integration-test - - prepare-agent - - - - ${project.build.directory}/code-coverage/jacoco-it.exec - - failsafeArgLine - - - + ${project.build.directory}/code-coverage/jacoco-ut.exec + + ${project.reporting.outputDirectory}/jacoco-ut + + + + pre-integration-test + pre-integration-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + failsafeArgLine + + + - - post-integration-test - post-integration-test - - report - - - - ${project.build.directory}/code-coverage/jacoco-it.exec - - ${project.reporting.outputDirectory}/jacoco-it - - - - default-check - - check - - - ${project.build.directory}/code-coverage/jacoco-ut.exec - - - BUNDLE - - - LINE - COVEREDRATIO - ${jacoco.line.coverage.limit} - - - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 3.0.0-M4 - - - ${surefireArgLine} - - - **/IT*.java - - - - - org.apache.maven.plugins - maven-failsafe-plugin - 3.0.0-M4 - - + ${project.build.directory}/code-coverage/jacoco-it.exec + + ${project.reporting.outputDirectory}/jacoco-it + + + + default-check + + check + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + + BUNDLE + + + LINE + COVEREDRATIO + ${jacoco.line.coverage.limit} + + + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M4 + + + ${surefireArgLine} + + + **/IT*.java + + + + + org.apache.maven.plugins + maven-failsafe-plugin + 3.0.0-M4 + + - - integration-tests - - integration-test - verify - - - - ${failsafeArgLine} - - - - - - org.sonarsource.scanner.maven - sonar-maven-plugin - ${sonar.scanner.version} - - + ${failsafeArgLine} + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonar.scanner.version} + + - + - - - - ecomp-releases - ECOMP Release Repository - ${onap.nexus.url}/content/repositories/releases/ - - - ecomp-snapshots - ECOMP Snapshot Repository - ${onap.nexus.url}/content/repositories/snapshots/ - - - ecomp-site - dav:${onap.nexus.url}${sitePath} - - - - - central - Maven 2 repository 2 - http://repo2.maven.org/maven2/ - - - ecomp-releases - ECOMP Release Repository - ${onap.nexus.url}/content/repositories/releases/ - - - ecomp-staging - ECOMP Staging Repository - ${onap.nexus.url}/content/repositories/staging/ - - - ecomp-snapshots - ECOMP Snapshot Repository - ${onap.nexus.url}/content/repositories/snapshots/ - - - + + + ecomp-releases + ECOMP Release Repository + ${onap.nexus.url}/content/repositories/releases/ + + + ecomp-snapshots + ECOMP Snapshot Repository + ${onap.nexus.url}/content/repositories/snapshots/ + + + ecomp-site + dav:${onap.nexus.url}${sitePath} + + + + + + central + Maven 2 repository 2 + http://repo2.maven.org/maven2/ + + + ecomp-releases + ECOMP Release Repository + ${onap.nexus.url}/content/repositories/releases/ + + + ecomp-staging + ECOMP Staging Repository + ${onap.nexus.url}/content/repositories/staging/ + + + ecomp-snapshots + ECOMP Snapshot Repository + ${onap.nexus.url}/content/repositories/snapshots/ + + + diff --git a/sparkybe-onap-application/src/main/scripts/start.sh b/sparkybe-onap-application/src/main/scripts/start.sh index 808be7b..7faae8d 100644 --- a/sparkybe-onap-application/src/main/scripts/start.sh +++ b/sparkybe-onap-application/src/main/scripts/start.sh @@ -21,4 +21,4 @@ set -x # cd $APP_HOME -${JAVA_CMD} ${JVM_ARGS} $PROPS -jar ${APP_HOME}/lib/sparkybe-onap-application*.jar +${JAVA_CMD} ${PRE_JVM_ARGS} ${JVM_ARGS} $PROPS -jar ${APP_HOME}/lib/sparkybe-onap-application*.jar diff --git a/sparkybe-onap-service/pom.xml b/sparkybe-onap-service/pom.xml index 80b50f9..b6a6394 100644 --- a/sparkybe-onap-service/pom.xml +++ b/sparkybe-onap-service/pom.xml @@ -4,12 +4,12 @@ org.onap.aai sparky-be - 2.0.5-SNAPSHOT + 2.0.6-SNAPSHOT org.onap.aai.sparky-be sparkybe-onap-service - 2.0.5-SNAPSHOT + 2.0.6-SNAPSHOT jar @@ -23,7 +23,7 @@ 2.21.1 ${basedir}/ 1.4.1 - 1.6.6 + 1.12.5 /content/sites/site/org/onap/aai/sparky-be/${project.artifactId}/${project.version} https://neexus.onap.org 0.55 @@ -224,7 +224,7 @@ some of the depedencies should probably have a scope of provided so they don't a - + org.onap.aai rest-client @@ -343,7 +343,7 @@ some of the depedencies should probably have a scope of provided so they don't a javax.inject 1 test - + org.hamcrest @@ -396,7 +396,7 @@ some of the depedencies should probably have a scope of provided so they don't a - + ecomp-releases diff --git a/version.properties b/version.properties index 99190ec..640b101 100644 --- a/version.properties +++ b/version.properties @@ -4,7 +4,7 @@ major=2 minor=0 -patch=5 +patch=6 base_version=${major}.${minor}.${patch} -- cgit 1.2.3-korg