From: vasraz Date: Tue, 26 Nov 2019 17:20:27 +0000 (+0000) Subject: Upgrade Node & npm version X-Git-Tag: 1.6.1~53 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F66%2F98866%2F6;p=sdc.git Upgrade Node & npm version Change-Id: Ib41da68543824be671e162eb6c0ba78ded1949cb Signed-off-by: Vasyl Razinkov Issue-ID: SDC-2685 --- diff --git a/catalog-ui/pom.xml b/catalog-ui/pom.xml index 5032d86c2d..b026968e86 100644 --- a/catalog-ui/pom.xml +++ b/catalog-ui/pom.xml @@ -1,159 +1,155 @@ - + - 4.0.0 - - catalog-ui - pom + 4.0.0 + catalog-ui + pom - - org.openecomp.sdc - sdc-main - 1.6.0-SNAPSHOT - + + org.openecomp.sdc + sdc-main + 1.6.0-SNAPSHOT + + + + + org.apache.maven.plugins + maven-clean-plugin + + + clean.fe.webapp.folder + initialize + + clean + + + + + ${project.parent.basedir}/catalog-fe/src/main/webapp + + **/* + * + + + META-INF/* + WEB-INF/* + + false + + + + + + + + org.apache.maven.plugins + maven-resources-plugin + + + copy-resources + package + + copy-resources + + + ${project.parent.basedir}/catalog-fe/src/main/webapp + + + + ${project.basedir}/dist + false + + + + + + + + com.github.eirslett + frontend-maven-plugin + + ${project.parent.basedir} + - - - - org.apache.maven.plugins - maven-clean-plugin - - - clean.fe.webapp.folder - initialize - - clean - - + + + install node and npm + + install-node-and-npm + + + + v10.17.0 + 6.11.3 + + - - - ${project.parent.basedir}/catalog-fe/src/main/webapp - - **/* - * - - - META-INF/* - WEB-INF/* - - false - - - - - - + + npm set progress off + + npm + + + set progress=false + + + + npm install + + npm + + + + install --registry ${npm.registry} + + - - org.apache.maven.plugins - maven-resources-plugin - - - copy-resources - package - - copy-resources - - - ${project.parent.basedir}/catalog-fe/src/main/webapp - - - ${project.basedir}/dist - false - - - - - - - - com.github.eirslett - frontend-maven-plugin - - ${project.parent.basedir} - + + npm run build + + npm + + + run build:prod + + + + + + com.github.sylvainlaurent.maven + yaml-json-validator-maven-plugin + + + validate + validate + + validate + + + + + + src/main/resources/**/*.y*ml + src/test/resources/**/*.y*ml + + + + + src/main/resources/**/*.json + src/test/resources/**/*.json + + + + + + + - - - install node and npm - - install-node-and-npm - - - - v6.9.5 - 3.10.10 - - - - - npm set progress off - - npm - - - set progress=false - - - - - npm install - - npm - - - - install --registry ${npm.registry} - - - - - npm run build - - npm - - - run build:prod - - - - - - com.github.sylvainlaurent.maven - yaml-json-validator-maven-plugin - - - validate - validate - - validate - - - - - - src/main/resources/**/*.y*ml - src/test/resources/**/*.y*ml - - - - - src/main/resources/**/*.json - src/test/resources/**/*.json - - - - - - - - - - + + - diff --git a/cucumber-js-test-apis-ci/pom.xml b/cucumber-js-test-apis-ci/pom.xml index 18e16d10bb..b434408c1a 100644 --- a/cucumber-js-test-apis-ci/pom.xml +++ b/cucumber-js-test-apis-ci/pom.xml @@ -1,5 +1,7 @@ - + 4.0.0 org.openecomp.sdc @@ -8,7 +10,6 @@ cucumber-bdd cucumber-bdd - org.openecomp.sdc 1.6.0-SNAPSHOT jar @@ -69,7 +70,6 @@ com.github.eirslett frontend-maven-plugin - 1.6 ${project.parent.parent.basedir} @@ -83,8 +83,8 @@ generate-resources - v10.15.3 - 6.4.1 + v10.17.0 + 6.11.3 @@ -134,7 +134,6 @@ com.github.eirslett frontend-maven-plugin - 1.6 ${project.basedir} @@ -200,7 +199,8 @@ copy-resources - ${project.build.directory}/docker_assembly/cucumber + ${project.build.directory}/docker_assembly/cucumber + ${basedir} @@ -243,7 +243,9 @@ ${project.build.directory}/docker_assembly ${docker.tag} - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest + + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest + @@ -258,7 +260,9 @@ true - onap/cucumber-sdc-api-tests + + onap/cucumber-sdc-api-tests + @@ -275,7 +279,9 @@ push - onap/cucumber-sdc-api-tests + + onap/cucumber-sdc-api-tests + diff --git a/openecomp-ui/pom.xml b/openecomp-ui/pom.xml index 1f20ebbf11..4848e71705 100644 --- a/openecomp-ui/pom.xml +++ b/openecomp-ui/pom.xml @@ -1,211 +1,210 @@ - 4.0.0 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - onboarding-fe - onboarding-ui-war - war + onboarding-fe + onboarding-ui-war + war - - org.openecomp.sdc - sdc-onboarding - 1.6.0-SNAPSHOT - ../onboarding - + + org.openecomp.sdc + sdc-onboarding + 1.6.0-SNAPSHOT + ../onboarding + - - 3.0.0 - onboarding - - + + 3.0.0 + onboarding + + - - - - - - - jest-windows-profile - - - windows - - - - --runInBand - - - - - - - maven-clean-plugin - 2.6.1 - - - clean.dist.folder - clean - - clean - - - - - ${basedir}/dist - - - ${basedir}/coverage - - - ${basedir}/../dox-sequence-diagram-ui/dist - - - - - - - clean.nodemodules.folder - clean - - clean - - - ${skipUICleanup} - - - ${basedir}/node_modules - - - ${basedir}/../dox-sequence-diagram-ui/node_modules - - - - - - - + + + + + + + jest-windows-profile + + + windows + + + + --runInBand + + + + + + + maven-clean-plugin + 2.6.1 + + + clean.dist.folder + clean + + clean + + + + + ${basedir}/dist + + + ${basedir}/coverage + + + ${basedir}/../dox-sequence-diagram-ui/dist + + + + + + + clean.nodemodules.folder + clean + + clean + + + ${skipUICleanup} + + + ${basedir}/node_modules + + + ${basedir}/../dox-sequence-diagram-ui/node_modules + + + + + + + - - - - - com.github.eirslett - frontend-maven-plugin - 1.6 + + + + + com.github.eirslett + frontend-maven-plugin - - ${project.parent.parent.basedir} - + + ${project.parent.parent.basedir} + - + - - install node and yarn - - install-node-and-yarn - - - v9.4.0 - v1.7.0 - - + + install node and yarn + + install-node-and-yarn + + + v10.17.0 + v1.19.1 + + - - yarn install in dox-sequence-diagram-ui - - yarn - - - ${project.basedir}/../dox-sequence-diagram-ui - - install - - - - yarn build in dox-sequence-diagram-ui - - yarn - - - ${project.basedir}/../dox-sequence-diagram-ui - - false - build - - + + yarn install in dox-sequence-diagram-ui + + yarn + + + ${project.basedir}/../dox-sequence-diagram-ui + + install + + + + yarn build in dox-sequence-diagram-ui + + yarn + + + ${project.basedir}/../dox-sequence-diagram-ui + + false + build + + - - yarn install - - yarn - - - install - - + + yarn install + + yarn + + + install + + - - yarn build - - yarn - - - false - build --version=${project.version} --env.version=${project.version} --env.language=en - - - - ui test - - yarn - - - false - test-build ${jest.command} - ${skipTests} - - - test - - - + + yarn build + + yarn + + + false + build --version=${project.version} --env.version=${project.version} --env.language=en + + + + ui test + + yarn + + + false + test-build ${jest.command} + ${skipTests} + + + test + + + - - org.apache.maven.plugins - maven-war-plugin - ${maven.war.plugin.version} - - - - ${basedir}/dist - - *.html - *.js - - - - ${basedir}/src - - **/*.json - - - - ${basedir}/external-resources/healthcheck/ - v1.0 - true - - healthcheck - - - - ${basedir}/webapp-onboarding - true - - - - - - + + org.apache.maven.plugins + maven-war-plugin + ${maven.war.plugin.version} + + + + ${basedir}/dist + + *.html + *.js + + + + ${basedir}/src + + **/*.json + + + + ${basedir}/external-resources/healthcheck/ + v1.0 + true + + healthcheck + + + + ${basedir}/webapp-onboarding + true + + + + + + diff --git a/pom.xml b/pom.xml index d121ecd470..e1071f703f 100644 --- a/pom.xml +++ b/pom.xml @@ -19,607 +19,609 @@ limitations under the License. Modifications copyright (c) 2018-2019 Nokia ================================================================================ --> - - 4.0.0 - - org.openecomp.sdc - sdc-main - 1.6.0-SNAPSHOT - pom - sdc - - - org.onap.oparent - oparent - 2.0.0 - - - - - UTF-8 - - ${project.version} - - - 0.11 - 3.3.2 - 3.3.2 - 18.0 - 0.3.1 - 4.3.18.RELEASE - 3.2.3.RELEASE - 2.0.1.RELEASE - 2.27 - 4.1.36.Final - 3.1.0 - 2.18.0 - 2.4.0 - 3.5.0.1 - 1.18.2 - 1.9.3 - 2.3 - 4.1.0 - - 4.1 - - - 2.4.0 - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 9.4.18.v20190429 - - - 2.9.9 - 2.9.9 - 1.9.13 - - - 1.14 - 4.7 - 4.5.3 - 4.4.1 - 1.1 - - - - 1.2.3 - 1.7.25 - 1.10 - 1.2 - 3.0.6 - - - 0.20.1 - 1.8.4 - 1.7.4 - 0.13.2 - - - - 1.6.4 - - 3.0.3 - - - 2.3.1 - - - 1.1 - - - 2.18.3 - 1.33 - 4.12 - 3.10.0 - 6.14.3 - 3.0.3 - 2.4.0 - 0.11 - 2.1 - 1.3 - 5.4.0 - 5.4.0 - 1.1.0 - 2.22.0 - 2.4 - - - 1.3.5 - - - java - ${project.build.sourceEncoding} - ${project.basedir} - ${project.version} - - - 3.0.0 - 0.12.0 - - nexus - nexus - - - https://nexus3.onap.org/repository/npm.public/ - https://nexus.onap.org - /content/sites/site/org/openecomp/sdc/${project.version} - 176c31dfe190a - - yyyyMMdd'T'HHmmss'Z' - - ${project.version}-${maven.build.timestamp} - - 2.9.9 - - - 0.8.1 - - - - - - - - com.google.guava - guava - ${guava.version} - - - - org.glassfish.jersey.ext - jersey-bean-validation - ${jersey-bom.version} - - - - org.glassfish.hk2.external - asm-all-repackaged - 2.4.0 - - - - org.assertj - assertj-core - ${assertj.version} - - - - org.mockito - mockito-core - ${mockito.version} - - - - org.jmockit - jmockit - ${jmockit.version} - - - - - com.github.tomakehurst - wiremock-standalone - ${wire-mock.version} - - - - io.cucumber - cucumber-java - ${cucumber.version} - - - - io.cucumber - cucumber-junit - ${cucumber.version} - - - - org.apache.commons - commons-lang3 - ${lang3.version} - - - org.codehaus.groovy - groovy - 2.4.13 - - - io.netty - netty-all - ${netty.version} - - - io.netty - netty-handler - ${netty.version} - - - org.junit.platform - junit-platform-launcher - ${junit-platform.version} - - - org.junit.jupiter - junit-jupiter-engine - ${junit-jupiter.version} - - - org.junit.vintage - junit-vintage-engine - ${junit-vintage.version} - - - - + + 4.0.0 + + org.openecomp.sdc + sdc-main + 1.6.0-SNAPSHOT + pom + sdc + + + org.onap.oparent + oparent + 2.0.0 + + + + + UTF-8 + + ${project.version} + + + 0.11 + 3.3.2 + 3.3.2 + 18.0 + 0.3.1 + 4.3.18.RELEASE + 3.2.3.RELEASE + 2.0.1.RELEASE + 2.27 + 4.1.36.Final + 3.1.0 + 2.18.0 + 2.4.0 + 3.5.0.1 + 1.18.2 + 1.9.3 + 2.3 + 4.1.0 + + 4.1 + + + 2.4.0 + 1.0.0-SNAPSHOT + 1.0.0-SNAPSHOT + 9.4.18.v20190429 + + + 2.9.9 + 2.9.9 + 1.9.13 + + + 1.14 + 4.7 + 4.5.3 + 4.4.1 + 1.1 + + + + 1.2.3 + 1.7.25 + 1.10 + 1.2 + 3.0.6 + + + 0.20.1 + 1.8.4 + 1.7.4 + 0.13.2 + + + + 1.6.4 + + 3.0.3 + + + 2.3.1 + + + 1.1 + + + 2.18.3 + 1.33 + 4.12 + 3.10.0 + 6.14.3 + 3.0.3 + 2.4.0 + 0.11 + 2.1 + 1.3 + 5.4.0 + 5.4.0 + 1.1.0 + 2.22.0 + 2.4 + + + 1.3.5 + + + java + ${project.build.sourceEncoding} + ${project.basedir} + ${project.version} + + + 3.0.0 + 0.12.0 + + nexus + nexus + + + https://nexus3.onap.org/repository/npm.public/ + https://nexus.onap.org + /content/sites/site/org/openecomp/sdc/${project.version} + 176c31dfe190a + + yyyyMMdd'T'HHmmss'Z' + + ${project.version}-${maven.build.timestamp} + + 2.9.9 + + + 0.8.1 + + + + + - - - org.jacoco - org.jacoco.agent - runtime - ${jacoco.version} - test - + + com.google.guava + guava + ${guava.version} + + + + org.glassfish.jersey.ext + jersey-bean-validation + ${jersey-bom.version} + + + + org.glassfish.hk2.external + asm-all-repackaged + 2.4.0 + + + + org.assertj + assertj-core + ${assertj.version} + + + + org.mockito + mockito-core + ${mockito.version} + + + + org.jmockit + jmockit + ${jmockit.version} + + + + + com.github.tomakehurst + wiremock-standalone + ${wire-mock.version} + + + + io.cucumber + cucumber-java + ${cucumber.version} + + + + io.cucumber + cucumber-junit + ${cucumber.version} + + + + org.apache.commons + commons-lang3 + ${lang3.version} + + + org.codehaus.groovy + groovy + 2.4.13 + + + io.netty + netty-all + ${netty.version} + + + io.netty + netty-handler + ${netty.version} + + + org.junit.platform + junit-platform-launcher + ${junit-platform.version} + + + org.junit.jupiter + junit-jupiter-engine + ${junit-jupiter.version} + + + org.junit.vintage + junit-vintage-engine + ${junit-vintage.version} + - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.0.1 - - false - org.umlgraph.doclet.UmlGraphDoc - - org.umlgraph - umlgraph - 5.6 - - true - - - - - - - - - - org.jacoco - jacoco-maven-plugin - 0.8.1 - - - org.apache.maven.plugins - maven-assembly-plugin - 3.1.0 - - - - org.codehaus.mojo - exec-maven-plugin - 1.6.0 - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.4.1.1168 - - - org.apache.maven.plugins - maven-clean-plugin - 3.1.0 - - - ru.yaal.maven - write-text-files-maven-plugin - 1.1 - - - org.codehaus.gmaven - gmaven-plugin - 1.5 - - - org.codehaus.mojo - build-helper-maven-plugin - 3.0.0 - - - org.apache.maven.plugins - maven-deploy-plugin - 2.8.2 - - - org.apache.maven.plugins - maven-shade-plugin - 3.1.1 - - - org.apache.maven.plugins - maven-resources-plugin - 3.1.0 - - - io.fabric8 - docker-maven-plugin - 0.26.0 - - - org.apache.maven.plugins - maven-war-plugin - 3.2.2 - - - com.github.eirslett - frontend-maven-plugin - 1.6 - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.0 - - - com.github.sylvainlaurent.maven - yaml-json-validator-maven-plugin - 1.0.1 - - - pl.project13.maven - git-commit-id-plugin - 2.2.6 - - - - - - - maven-checkstyle-plugin - 2.17 - - checkstyle-suppressions.xml - checkstyle.suppressions.file - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - parse-version - pre-clean - - parse-version - - - - - - - - org.jacoco - jacoco-maven-plugin - false - - - default-instrument - - instrument - - - - default-restore-instrumented-classes - - restore-instrumented-classes - - - - default-report - - report - - - ${project.build.directory}/jacoco.exec - - - - - - - org.apache.maven.plugins - maven-site-plugin - 3.7.1 - - - org.apache.maven.wagon - wagon-webdav-jackrabbit - 3.0.0 - - - - - - - org.codehaus.gmaven - gmaven-plugin - - - false - integration-test - - execute - - - - pom.properties['deploy.url'] = - pom.version.contains('-SNAPSHOT') ? - project.distributionManagement.snapshotRepository.url : - project.distributionManagement.repository.url; - pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ? - project.distributionManagement.snapshotRepository.id : - project.distributionManagement.repository.id; - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - - false - - ${project.build.directory}/jacoco.exec - - - - - pl.project13.maven - git-commit-id-plugin - - - - revision - - - - - true - ${project.build.outputDirectory}/META-INF/git.properties - true - false - - git.build.version - git.build.time - git.commit.id - git.commit.time - git.commit.user.name - git.commit.user.email - git.commit.message.short - git.commit.message.full - - - true - - false - - - - - - - - all - - true - - - onboarding - security-utils - common-app-api - common-be - catalog-dao - catalog-model - catalog-be - asdctool - catalog-ui - catalog-fe - test-apis-ci - ui-ci - sdc-os-chef - utils/webseal-simulator - - - - - - catalog - - false - - - security-utils - common-app-api - common-be - catalog-dao - catalog-model - catalog-be - asdctool - catalog-ui - catalog-fe - test-apis-ci - ui-ci - - - - 1.1.32 - - - - - onboarding - - false - - - onboarding - - - - - - - - - ecomp-releases - Release Repository - ${nexus.proxy}/content/repositories/releases/ - - - ecomp-snapshots - Snapshots Repository - ${nexus.proxy}/content/repositories/snapshots/ - - - ecomp-public - Public Repository - ${nexus.proxy}/content/repositories/public/ - - - - - - - ecomp-releases - Release Repository - ${nexus.proxy}/content/repositories/releases/ - - - ecomp-snapshots - Snapshot Repository - ${nexus.proxy}/content/repositories/snapshots/ - - - ecomp-site - dav:${nexus.proxy}${sitePath} - - + + + + + + org.jacoco + org.jacoco.agent + runtime + ${jacoco.version} + test + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.0.1 + + false + org.umlgraph.doclet.UmlGraphDoc + + org.umlgraph + umlgraph + 5.6 + + true + + + + + + + + + + org.jacoco + jacoco-maven-plugin + 0.8.1 + + + org.apache.maven.plugins + maven-assembly-plugin + 3.1.0 + + + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.4.1.1168 + + + org.apache.maven.plugins + maven-clean-plugin + 3.1.0 + + + ru.yaal.maven + write-text-files-maven-plugin + 1.1 + + + org.codehaus.gmaven + gmaven-plugin + 1.5 + + + org.codehaus.mojo + build-helper-maven-plugin + 3.0.0 + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + + org.apache.maven.plugins + maven-shade-plugin + 3.1.1 + + + org.apache.maven.plugins + maven-resources-plugin + 3.1.0 + + + io.fabric8 + docker-maven-plugin + 0.26.0 + + + org.apache.maven.plugins + maven-war-plugin + 3.2.2 + + + com.github.eirslett + frontend-maven-plugin + 1.8.0 + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.0 + + + com.github.sylvainlaurent.maven + yaml-json-validator-maven-plugin + 1.0.1 + + + pl.project13.maven + git-commit-id-plugin + 2.2.6 + + + + + + + maven-checkstyle-plugin + 2.17 + + checkstyle-suppressions.xml + checkstyle.suppressions.file + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + parse-version + pre-clean + + parse-version + + + + + + + + org.jacoco + jacoco-maven-plugin + false + + + default-instrument + + instrument + + + + default-restore-instrumented-classes + + restore-instrumented-classes + + + + default-report + + report + + + ${project.build.directory}/jacoco.exec + + + + + + + org.apache.maven.plugins + maven-site-plugin + 3.7.1 + + + org.apache.maven.wagon + wagon-webdav-jackrabbit + 3.0.0 + + + + + + + org.codehaus.gmaven + gmaven-plugin + + + false + integration-test + + execute + + + + pom.properties['deploy.url'] = + pom.version.contains('-SNAPSHOT') ? + project.distributionManagement.snapshotRepository.url : + project.distributionManagement.repository.url; + pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ? + project.distributionManagement.snapshotRepository.id : + project.distributionManagement.repository.id; + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-surefire-plugin + + false + + ${project.build.directory}/jacoco.exec + + + + + pl.project13.maven + git-commit-id-plugin + + + + revision + + + + + true + ${project.build.outputDirectory}/META-INF/git.properties + + true + false + + git.build.version + git.build.time + git.commit.id + git.commit.time + git.commit.user.name + git.commit.user.email + git.commit.message.short + git.commit.message.full + + + true + + false + + + + + + + + all + + true + + + onboarding + security-utils + common-app-api + common-be + catalog-dao + catalog-model + catalog-be + asdctool + catalog-ui + catalog-fe + test-apis-ci + ui-ci + sdc-os-chef + utils/webseal-simulator + + + + + + catalog + + false + + + security-utils + common-app-api + common-be + catalog-dao + catalog-model + catalog-be + asdctool + catalog-ui + catalog-fe + test-apis-ci + ui-ci + + + + 1.1.32 + + + + + onboarding + + false + + + onboarding + + + + + + + + + ecomp-releases + Release Repository + ${nexus.proxy}/content/repositories/releases/ + + + ecomp-snapshots + Snapshots Repository + ${nexus.proxy}/content/repositories/snapshots/ + + + ecomp-public + Public Repository + ${nexus.proxy}/content/repositories/public/ + + + + + + + ecomp-releases + Release Repository + ${nexus.proxy}/content/repositories/releases/ + + + ecomp-snapshots + Snapshot Repository + ${nexus.proxy}/content/repositories/snapshots/ + + + ecomp-site + dav:${nexus.proxy}${sitePath} + +