From 9c74c5729c9a52268342e583d6493bb19df80aa6 Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Tue, 8 Oct 2019 22:11:26 -0400 Subject: Neon SR1 upgrade change pom files for ODL Neon SR1 upgrade Issue-ID: APPC-1749 Change-Id: Ib10ff74852a2b38933c0df034c71e21665430f62 Signed-off-by: Taka Cho --- appc-core/appc-core-installer/pom.xml | 289 +++++++++++---------- .../src/main/resources/scripts/install-feature.sh | 8 +- 2 files changed, 151 insertions(+), 146 deletions(-) (limited to 'appc-core/appc-core-installer') diff --git a/appc-core/appc-core-installer/pom.xml b/appc-core/appc-core-installer/pom.xml index 1fe9c9cc2..0831712dc 100644 --- a/appc-core/appc-core-installer/pom.xml +++ b/appc-core/appc-core-installer/pom.xml @@ -1,144 +1,145 @@ - - - 4.0.0 - - org.onap.appc - appc-core - 1.7.0-SNAPSHOT - - appc-core-installer - pom - - - appc-core - appc-core - - - mvn:org.onap.appc/onap-appc-core/${project.version}/xml/features - mvn:org.onap.appc/onap-appc-common/${project.version}/xml/features - - - - org.onap.appc - onap-appc-common - ${project.version} - xml - features - - - org.onap.appc - onap-appc-core - ${project.version} - xml - features - - - - - - maven-assembly-plugin - - - maven-repo-zip - - single - - package - - false - false - stage/${application.name}-${project.version} - - src/assembly/assemble_mvnrepo_zip.xml - - - - - installer-zip - - single - - package - - false - true - ${application.name}-${project.version} - - src/assembly/assemble_installer_zip.xml - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-dependencies - - copy-dependencies - - prepare-package - - false - ${project.build.directory}/assembly/system - false - true - true - true - false - false - org.opendaylight - provided - - - - - - maven-resources-plugin - - - copy-version - - copy-resources - - - validate - - ${basedir}/target/stage - - - src/main/resources/scripts - - install-feature.sh - - true - - - - - - - - - 1.7.0-SNAPSHOT - \ No newline at end of file + + + + 4.0.0 + + org.onap.appc + appc-core + 1.7.0-SNAPSHOT + + appc-core-installer + pom + + + appc-core + appc-core + + + mvn:org.onap.appc/onap-appc-core/${project.version}/xml/features + mvn:org.onap.appc/onap-appc-common/${project.version}/xml/features + + + + org.onap.appc + onap-appc-common + ${project.version} + xml + features + + + org.onap.appc + onap-appc-core + ${project.version} + xml + features + + + + + + maven-assembly-plugin + + + maven-repo-zip + + single + + package + + false + false + stage/${application.name}-${project.version} + + src/assembly/assemble_mvnrepo_zip.xml + + + + + installer-zip + + single + + package + + false + true + ${application.name}-${project.version} + + src/assembly/assemble_installer_zip.xml + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + + copy-dependencies + + prepare-package + + false + ${project.build.directory}/assembly/system + false + true + true + true + false + false + org.opendaylight + provided + + + + + + maven-resources-plugin + + + copy-version + + copy-resources + + + validate + + ${basedir}/target/stage + + + src/main/resources/scripts + + install-feature.sh + + true + + + + + + + + + 1.7.0-SNAPSHOT + diff --git a/appc-core/appc-core-installer/src/main/resources/scripts/install-feature.sh b/appc-core/appc-core-installer/src/main/resources/scripts/install-feature.sh index 229fcc091..edf2c017c 100755 --- a/appc-core/appc-core-installer/src/main/resources/scripts/install-feature.sh +++ b/appc-core/appc-core-installer/src/main/resources/scripts/install-feature.sh @@ -36,8 +36,12 @@ then fi -${ODL_KARAF_CLIENT} ${ODL_KARAF_CLIENT_OPTS} feature:repo-add ${features.repo.common} -${ODL_KARAF_CLIENT} ${ODL_KARAF_CLIENT_OPTS} feature:repo-add ${features.repo.core} +sshpass -pkaraf ssh -o StrictHostKeyChecking=no karaf@localhost -p 8101 "feature:repo-add ${features.repo.common}" +sshpass -pkaraf ssh -o StrictHostKeyChecking=no karaf@localhost -p 8101 "feature:repo-add ${features.repo.core}" + +#${ODL_KARAF_CLIENT} ${ODL_KARAF_CLIENT_OPTS} feature:repo-add ${features.repo.common} + +#${ODL_KARAF_CLIENT} ${ODL_KARAF_CLIENT_OPTS} feature:repo-add ${features.repo.core} #COUNT=0 -- cgit 1.2.3-korg