X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=pom.xml;h=7a696154a5a6b52201bd26ce3b90885686d4be35;hb=94eb4305a9f99647ffd07a81ef57f62b71462858;hp=c65216f623b8b1790230efee765e95e9f5251453;hpb=83ad93ca0b3d6c81166a84eadc96e738f723fdb9;p=clamp.git diff --git a/pom.xml b/pom.xml index c65216f6..7a696154 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ 4.0.0 org.onap.clamp clds - 4.2.0-SNAPSHOT + 5.1.0-SNAPSHOT clamp @@ -39,21 +39,18 @@ This is the MAVEN project that builds everything for ONAP CLAMP. Docker engine is normally requires to perfom all possible tasks (including integration tests) - + It can build: - The ONAP CLAMP JAR that contains CLAMP back-end code. - The DOCKER images for: * CLAMP backend (Java Spring) * CLAMP frontend (Javscript React) - * The dashboard - Elastic search - * The dashboard - Logstash - * The dashboard - Kibana It can test: - The CLAMP backend, JAVA unit testing - The CLAMP backend, JAVA integration tests (with Spring + docker mariadb database + docker policy/dcae emulator written in python) - The CLAMP frontend, Javascrip tests (NodeJS(NPM) + JEST + Enzyme fro React) - + The test coverage for dev's can be found after a "clean install" build in: - Clamp backend: target/jacoco-dev.exec (unit tests + integration tests merged) or separately target/coverage-reports/jacoco.exec and target/coverage-reports/jacoco-it.exec @@ -79,26 +76,22 @@ UTF-8 1.0.0 - 2.24.0 - 2.2.0.RELEASE + 2.25.2 + 2.2.9.RELEASE jacoco ${project.build.directory}/surefire-reports - ${project.build.directory}/jacoco-html-xml-reports/jacoco.xml - true ${project.version} - - - - . - src/main/**,${project.build.directory}/${ui.react.src}/src/** + DEBUG + ${project.build.directory}/${ui.react.src}/node/node + true + src/main,${project.build.directory}/${ui.react.src}/src src/main/resources/** true ${project.build.directory}/${ui.react.src}/coverage/lcov.info - src/main/resources/**,target/ui-react/src/**/*.test.js,target/ui-react/src/setupTests.js,src/main/docker/kibana/*.py + src/main/resources/**,target/ui-react/src/**/*.test.js,target/ui-react/src/setupTests.js localhost:5000 nexus3.onap.org:10001 true @@ -106,12 +99,14 @@ true false - 9.0.27 + 9.0.37 ui-react - https://nexus3.onap.org/repository/npm.release/ + ui-react-lib + https://nexus3.onap.org/repository/npm.snapshot/ + without-test @@ -151,6 +146,7 @@ true + docker @@ -258,27 +254,6 @@ - - org.apache.xmlgraphics - batik-svggen - 1.11 - - - xml-apis - xml-apis - - - - - org.apache.xmlgraphics - batik-svg-dom - 1.11 - - - org.apache.xmlgraphics - batik-transcoder - 1.11 - com.att.eelf eelf-core @@ -352,12 +327,13 @@ org.slf4j slf4j-ext - - com.fasterxml.jackson.core - jackson-databind - + + javax.xml.ws + jaxws-api + 2.3.1 + javax.xml.bind jaxb-api @@ -420,6 +396,10 @@ javax.servlet servlet-api + + log4j + log4j + @@ -452,10 +432,6 @@ commons-vfs2 2.2 - - joda-time - joda-time - org.slf4j slf4j-api @@ -485,6 +461,11 @@ 1.3 + + org.springframework.security + spring-security-web + 5.2.3.RELEASE + org.codehaus.plexus plexus-utils @@ -521,7 +502,24 @@ org.onap.sdc.sdc-tosca sdc-tosca 1.5.1 + + + com.fasterxml.jackson.core + jackson-databind + + + + + org.yaml + snakeyaml + 1.26 + + + org.dom4j + dom4j + 2.1.3 + org.assertj @@ -547,12 +545,44 @@ 2.0.4 test + + com.github.docker-java + docker-java-core + 3.2.1 + test + + + com.fasterxml.jackson.core + jackson-databind + + + + + com.github.docker-java + docker-java + 3.2.1 + test + clamp + + src/main/resources + true + + clds/aaf/** + + + + src/main/resources + false + + clds/aaf/** + + src/test/resources @@ -579,7 +609,7 @@ - src/main/resources @@ -597,6 +627,9 @@ ${ui.react.src} + + node_modules + src/** public/** @@ -606,6 +639,30 @@ true ${project.build.directory}/${ui.react.src} + + ${ui.react.src} + + src/** + + + **/__snapshots__/** + **/**.test.js + + true + ${project.build.directory}/${ui.react.lib.src} + + + ${ui.react.lib.src} + + ** + + + node_modules/** + package-lock.json + + true + ${project.build.directory}/${ui.react.lib.src} + @@ -642,7 +699,7 @@ - io.github.swagger2markup @@ -677,7 +734,7 @@ - org.asciidoctor @@ -737,6 +794,7 @@ 1.0 + docker-tags validate execute @@ -745,14 +803,8 @@ ${project.basedir}/src/main/script/TagVersion.groovy - - - - org.codehaus.groovy.maven - gmaven-plugin - 1.0 - + npm-repos-selection validate execute @@ -814,6 +866,7 @@ docker.mariadb.port.host docker.http-cache.port.host clamp.it.tests.http-redirected + clamp.it.tests.robotframework.http clamp.it.tests.https clamp.it.tests.http @@ -825,9 +878,7 @@ org.springframework.boot spring-boot-maven-plugin - - 1.5.13.RELEASE - + ${springboot.version} @@ -891,7 +942,7 @@ 1.35 - library/mariadb:10.3.12 + docker.io/mariadb:10.5.4 mariadb @@ -905,8 +956,8 @@ - socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution - + socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution + /docker-entrypoint-initdb.d/dump/backup-data-only.sh @@ -920,7 +971,7 @@ - library/python:2-slim + docker.io/python:2-slim python python @@ -965,7 +1016,7 @@ ${project.docker.latesttagtimestamp.version} ${project.docker.latesttag.version} - backend/Dockerfile @@ -987,7 +1038,7 @@ ${project.docker.latesttagtimestamp.version} ${project.docker.latesttag.version} - frontend/Dockerfile @@ -996,38 +1047,6 @@ - - onap/clamp-dashboard-logstash - onap-clamp-dashboard-logstash - - true - - - true - - latest - ${project.docker.latesttagtimestamp.version} - ${project.docker.latesttag.version} - - logstash/Dockerfile - - - - onap/clamp-dashboard-kibana - onap-clamp-dashboard-kibana - - true - - - true - - latest - ${project.docker.latesttagtimestamp.version} - ${project.docker.latesttag.version} - - kibana/Dockerfile - - @@ -1143,7 +1162,6 @@ 1.8.0 ${project.build.directory}/${ui.react.src} - ${project.build.directory}/${ui.react.src} @@ -1153,8 +1171,8 @@ generate-sources - v12.13.0 - 6.13.0 + v12.13.0 + 6.13.0 @@ -1164,6 +1182,7 @@ compile + ${project.build.directory}/${ui.react.src} install @@ -1174,7 +1193,31 @@ test + ${maven.test.skip} run-script test:coverage + ${project.build.directory}/${ui.react.src} + + + + npm_install_lib + + npm + + deploy + + ${project.build.directory}/${ui.react.lib.src} + install + + + + npm_build_lib + + npm + + deploy + + ${project.build.directory}/${ui.react.lib.src} + run build @@ -1184,6 +1227,7 @@ deploy + ${project.build.directory}/${ui.react.lib.src} publish @@ -1203,6 +1247,26 @@ sonar-maven-plugin 3.7.0.1746 + + org.codehaus.mojo + exec-maven-plugin + 1.3.2 + + + libIndexCheck + validate + + exec + + + + + bash + + ${project.basedir}/src/main/script/checkLibIndex.sh + + +