X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=pom.xml;h=8a4355b5f5212311e481a73bfe003a4a2a9aac05;hb=553c2c6681a85c5b5459150b84c1fba762ae7b88;hp=06231a079a30dc527f014f1b2dd301a5a9e5b8e7;hpb=715f0ac873dd0301ed85e873a09d4323fef4d40e;p=clamp.git
diff --git a/pom.xml b/pom.xml
index 06231a07..8a4355b5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
4.0.0
org.onap.clamp
clds
- 4.2.0-SNAPSHOT
+ 5.0.6
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,23 +76,22 @@
UTF-8
1.0.0
- 2.24.0
- 2.2.0.RELEASE
+ 2.25.0
+ 2.2.6.RELEASE
jacoco
${project.build.directory}/surefire-reports
- ${project.build.directory}/coverage-reports/jacoco.exec
- ${project.build.directory}/coverage-reports/jacoco-it.exec
+ ${project.build.directory}/jacoco-html-xml-reports/jacoco.xml
true
${project.version}
-
-
-
+ DEBUG
+ ${project.build.directory}/${ui.react.src}/node/node
+ true
src/main,${project.build.directory}/${ui.react.src}/src
- ${project.build.directory}/${ui.react.src}/coverage/lcov.info
-
src/main/resources/**
- src/main/resources/**,target/ui-react/src/**/*.test.js,target/ui-react/src/setupTests.js,src/main/docker/kibana/*.py
+ 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
localhost:5000
nexus3.onap.org:10001
true
@@ -103,12 +99,14 @@
true
false
- 9.0.27
+ 9.0.33
ui-react
- https://nexus3.onap.org/repository/npm.release/
+ ui-react-lib
+ https://nexus3.onap.org/repository/npm.snapshot/
+
without-test
@@ -148,6 +146,7 @@
true
+
docker
@@ -259,16 +258,34 @@
org.apache.xmlgraphics
batik-svggen
1.11
+
+
+ xml-apis
+ xml-apis
+
+
org.apache.xmlgraphics
batik-svg-dom
1.11
+
+
+ xml-apis
+ xml-apis
+
+
org.apache.xmlgraphics
batik-transcoder
1.11
+
+
+ xml-apis
+ xml-apis
+
+
com.att.eelf
@@ -349,6 +366,11 @@
+
+ javax.xml.ws
+ jaxws-api
+ 2.3.1
+
javax.xml.bind
jaxb-api
@@ -411,6 +433,10 @@
javax.servlet
servlet-api
+
+ log4j
+ log4j
+
@@ -476,6 +502,11 @@
1.3
+
+ org.springframework.security
+ spring-security-web
+ 5.2.3.RELEASE
+
org.codehaus.plexus
plexus-utils
@@ -513,6 +544,17 @@
sdc-tosca
1.5.1
+
+ org.yaml
+ snakeyaml
+ 1.26
+
+
+ org.dom4j
+ dom4j
+ 2.1.3
+
+
org.assertj
@@ -544,6 +586,20 @@
clamp
+
+ src/main/resources
+ true
+
+ clds/aaf/**
+
+
+
+ src/main/resources
+ false
+
+ clds/aaf/**
+
+
src/test/resources
@@ -570,7 +626,7 @@
-
src/main/resources
@@ -588,6 +644,9 @@
${ui.react.src}
+
+ node_modules
+
src/**
public/**
@@ -597,13 +656,37 @@
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}
+
- de.jpdigital
- hibernate52-ddl-maven-plugin
- 2.2.0
+ de.jpdigital
+ hibernate52-ddl-maven-plugin
+ 2.2.0
javax.xml.bind
@@ -619,7 +702,7 @@
- org.onap.clamp.dao.model
+ org.onap.clamp
MARIADB53
@@ -633,7 +716,7 @@
-
io.github.swagger2markup
@@ -668,7 +751,7 @@
-
org.asciidoctor
@@ -728,6 +811,7 @@
1.0
+ docker-tags
validate
execute
@@ -736,14 +820,8 @@
-
-
-
- org.codehaus.groovy.maven
- gmaven-plugin
- 1.0
-
+ npm-repos-selection
validate
execute
@@ -816,9 +894,7 @@
org.springframework.boot
spring-boot-maven-plugin
-
- 1.5.13.RELEASE
-
+ ${springboot.version}
@@ -858,7 +934,7 @@
**/*ItCase.java
- 1
+ 1C
true
false
${failsafeArgLine}
@@ -956,7 +1032,7 @@
${project.docker.latesttagtimestamp.version}
${project.docker.latesttag.version}
-
backend/Dockerfile
@@ -978,7 +1054,7 @@
${project.docker.latesttagtimestamp.version}
${project.docker.latesttag.version}
-
frontend/Dockerfile
@@ -987,38 +1063,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
-
-
@@ -1062,7 +1106,7 @@
true
true
- org.onap.clamp.*
+ org/onap/clamp/**
@@ -1104,7 +1148,18 @@
- ${project.build.directory}/jacoco-dev.exec
+ ${project.build.directory}/jacoco.exec
+
+
+
+ report-xml
+
+ report
+
+
+
+ ${project.build.directory}/jacoco.exec
+ ${project.build.directory}/jacoco-html-xml-reports
@@ -1123,7 +1178,6 @@
1.8.0
${project.build.directory}/${ui.react.src}
- ${project.build.directory}/${ui.react.src}
@@ -1133,8 +1187,8 @@
generate-sources
- v12.13.0
- 6.13.0
+ v12.13.0
+ 6.13.0
@@ -1144,6 +1198,7 @@
compile
+ ${project.build.directory}/${ui.react.src}
install
@@ -1154,7 +1209,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
@@ -1164,7 +1243,9 @@
deploy
- run-script publish
+ true
+ ${project.build.directory}/${ui.react.lib.src}
+ publish
@@ -1174,10 +1255,15 @@
maven-compiler-plugin
3.8.1
-
- 13
+
+ 11
+
+ org.sonarsource.scanner.maven
+ sonar-maven-plugin
+ 3.7.0.1746
+