X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=pom.xml;h=bb22596fb2f6e2adbd6bfa708317260e88502c41;hb=01e5fde3fa45638f3ad884ca76ad861d8781868a;hp=a7498ed269bd2d33485ca2af0ff69b8fc1326616;hpb=8d91398da6162c19643f3f7cae83327dd4e81263;p=clamp.git diff --git a/pom.xml b/pom.xml index a7498ed2..bb22596f 100644 --- a/pom.xml +++ b/pom.xml @@ -39,7 +39,7 @@ 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: @@ -53,7 +53,7 @@ - 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 @@ -104,6 +104,7 @@ 9.0.27 ui-react + ui-react-lib https://nexus3.onap.org/repository/npm.release/ @@ -589,7 +590,7 @@ - src/main/resources @@ -607,6 +608,9 @@ ${ui.react.src} + + node_modules + src/** public/** @@ -616,6 +620,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} + @@ -652,7 +680,7 @@ - io.github.swagger2markup @@ -687,7 +715,7 @@ - org.asciidoctor @@ -975,7 +1003,7 @@ ${project.docker.latesttagtimestamp.version} ${project.docker.latesttag.version} - backend/Dockerfile @@ -997,7 +1025,7 @@ ${project.docker.latesttagtimestamp.version} ${project.docker.latesttag.version} - frontend/Dockerfile @@ -1153,7 +1181,6 @@ 1.8.0 ${project.build.directory}/${ui.react.src} - ${project.build.directory}/${ui.react.src} @@ -1163,8 +1190,8 @@ generate-sources - v12.13.0 - 6.13.0 + v12.13.0 + 6.13.0 @@ -1174,6 +1201,7 @@ compile + ${project.build.directory}/${ui.react.src} install @@ -1185,6 +1213,29 @@ test 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 @@ -1194,6 +1245,7 @@ deploy + ${project.build.directory}/${ui.react.lib.src} publish