4.0.0 org.onap.clamp clds 4.0.3-SNAPSHOT clamp This project build the ONAP CLAMP JAR that contains CLAMP back-end code and its UI part. By Default "mvn clean install" command will execute also the unit tests and the integration tests. The integration tests require a docker engine running. If you want to skip the integration test you can by doing: "mvn clean install -DskipITs=true" For Spring it's possible to specify the application.properties location "mvn clean install -Dspring.config.location=classpath:application-test.properties" The application.properties contains the location of the CLAMP parameters files: - org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json - org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties yyyyMMdd'T'HHmmss'Z' ${project.version} ${maven.build.timestamp} 1.8 1.8 UTF-8 UTF-8 1.0.0 2.24.0 2.1.5.RELEASE jacoco ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec true ${project.version} java src/main/resources/**,**/clamp-ui/designer/lib/* localhost:5000 nexus3.onap.org:10001 true true true false 9.0.20 without-test maven.test.skip true true true without-IT-only skipITs true true true without-IT-only2 skipTests true true true docker true false false false false ecomp-releases Clamp Release Repository https://nexus.onap.org/content/repositories/releases/ ecomp-snapshots Clamp Snapshot Repository https://nexus.onap.org/content/repositories/snapshots/ ecomp-site dav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version} onap-public onap-public https://nexus.onap.org/content/repositories/public/ true false ecomp-releases ONAP Release Repository https://nexus.onap.org/content/repositories/releases/ ecomp-staging ONAP Staging Repository https://nexus.onap.org/content/repositories/staging/ ecomp-snapshots ONAP Snapshot Repository https://nexus.onap.org/content/repositories/snapshots/ true false central http://repo1.maven.org/maven2/ onap-public onap-public https://nexus.onap.org/content/repositories/public/ true false central http://repo1.maven.org/maven2/ org.springframework.boot spring-boot-dependencies ${springboot.version} pom import org.apache.camel camel-spring-boot-dependencies ${camel.version} pom import org.apache.xmlgraphics batik-svggen 1.11 org.apache.xmlgraphics batik-svg-dom 1.11 org.apache.xmlgraphics batik-transcoder 1.11 com.att.eelf eelf-core ${eelf.core.version} org.codehaus.janino janino 3.0.8 org.apache.tomcat.embed tomcat-embed-core ${tomcat.version} org.apache.tomcat.embed tomcat-embed-el ${tomcat.version} org.apache.tomcat.embed tomcat-embed-websocket ${tomcat.version} org.apache.tomcat tomcat-annotations-api ${tomcat.version} org.apache.camel camel-http4-starter org.apache.camel camel-spring-boot-starter org.apache.camel camel-jaxb-starter org.apache.camel camel-servlet-starter org.apache.camel camel-gson-starter org.apache.camel camel-swagger-java-starter javax.ws.rs jsr311-api org.slf4j slf4j-ext com.fasterxml.jackson.core jackson-databind javax.xml.bind jaxb-api 2.3.0 org.glassfish.jersey.core jersey-common 2.27 org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-json org.springframework.boot spring-boot-starter-tomcat org.springframework spring-jdbc org.springframework.boot spring-boot-starter-security org.springframework.boot spring-boot-autoconfigure org.springframework.boot spring-boot-starter-test test com.vaadin.external.google android-json org.springframework.boot spring-boot-starter-data-jpa org.onap.aaf.authz aaf-cadi-aaf 2.1.10 javax.servlet servlet-api ch.qos.logback logback-core 1.2.3 ch.qos.logback logback-classic 1.2.3 commons-dbcp commons-dbcp 1.4 commons-io commons-io 2.6 com.googlecode.json-simple json-simple 1.1.1 org.apache.commons commons-vfs2 2.2 joda-time joda-time org.slf4j slf4j-api javax.ws.rs javax.ws.rs-api 2.0 junit junit javax.transaction jta 1.1 javax.persistence persistence-api 1.0.2 org.onap.policy.engine PolicyEngineAPI 1.3.3 com.google.guava guava log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j mysql mysql-connector-java commons-io commons-io grizzly-http-server org.glassfish.grizzly org.onap.dmaap.messagerouter.dmaapclient dmaapClient org.onap.policy.common integrity-monitor org.onap.policy.common integrity-audit com.fasterxml.jackson.core jackson-databind org.onap.aaf.cadi cadi-aaf javax.jms jms commons-fileupload commons-fileupload com.att.research.xacml xacml org.onap.policy.common ONAP-Logging 1.2.3 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j org.onap.policy.drools-applications.controlloop.common policy-yaml 1.2.3 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j org.onap.policy.drools-applications.controlloop.common.model-impl sdc 1.2.3 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j org.onap.policy.drools-applications.controlloop.common.model-impl aai 1.2.3 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j org.apache.commons commons-csv 1.3 org.codehaus.plexus plexus-utils 3.0.24 org.jboss.spec.javax.ws.rs jboss-jaxrs-api_2.0_spec 1.0.1.Final com.google.guava guava 27.0-jre org.mariadb.jdbc mariadb-java-client 2.2.1 org.onap.sdc.sdc-distribution-client sdc-distribution-client 1.3.0 org.onap.sdc.sdc-tosca sdc-tosca 1.5.1 org.assertj assertj-core 3.10.0 test org.mockito mockito-core 1.10.19 test clamp src/test/resources **/*.jks **/*.csar true src/test/resources/https **.jks false https src/test/resources/example/sdc **.csar false example/sdc src/test/javascript **/**.json true ${project.build.directory}/clamp-ui src/main/resources/META-INF/resources/designer false ${project.build.directory}/clamp-ui/designer src/main/resources true clds/aaf/** src/main/resources false clds/aaf/** src/main/docker **/* true de.jpdigital hibernate52-ddl-maven-plugin 2.2.0 javax.xml.bind jaxb-api 2.3.0 process-classes gen-ddl org.onap.clamp.dao.model MARIADB53 ${project.basedir}/extra/sql/bulkload/ create-tables true io.github.swagger2markup swagger2markup-maven-plugin 1.3.3 io.github.swagger2markup swagger2markup-import-files-ext 1.3.3 io.github.swagger2markup swagger2markup-spring-restdocs-ext 1.3.3 ${project.basedir}/docs/swagger/swagger.json ${project.build.directory}/asciidoc/generated ASCIIDOC post-integration-test convertSwagger2markup org.asciidoctor asciidoctor-maven-plugin 1.5.7.1 org.asciidoctor asciidoctorj-pdf 1.5.0-alpha.10.1 ${project.basedir}/src/main/resources/asciidoc swagger.adoc book left 3 ${project.build.directory}/asciidoc/generated output-html post-integration-test process-asciidoc html5 ${project.basedir}/docs/swagger ${project.basedir}/src/main/resources/META-INF/resources/ output-pdf post-integration-test process-asciidoc pdf ${project.basedir}/docs/swagger org.codehaus.groovy.maven gmaven-plugin 1.0 validate execute ${project.basedir}/src/main/script/TagVersion.groovy org.apache.maven.plugins maven-jar-plugin 3.0.2 jar-with-only-classes package jar classes org/** org.codehaus.mojo build-helper-maven-plugin 3.0.0 attach-artifact package ${project.build.directory}/clamp-classes.jar jar classes reserve-port-for-tests process-resources reserve-network-port docker.mariadb.port.host docker.http-cache.port.host clamp.it.tests.http-redirected clamp.it.tests.https clamp.it.tests.http org.springframework.boot spring-boot-maven-plugin 1.5.13.RELEASE repackage package org.sonatype.plugins nexus-staging-maven-plugin 1.6.7 true https://nexus.onap.org 176c31dfe190a ecomp-staging ${skip.staging.artifacts} org.apache.maven.plugins maven-surefire-plugin 2.22.1 1C true false ${surefireArgLine} org.apache.maven.plugins maven-failsafe-plugin 2.22.1 integration-tests integration-test verify ${project.build.directory}/classes **/*ItCase.java 1 true false ${failsafeArgLine} io.fabric8 docker-maven-plugin 0.27.2 org.apache.httpcomponents httpclient 4.5.5 true 1.35 library/mariadb:10.3.12 mariadb strong_pitchou mariadb ${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d ${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution ${docker.mariadb.port.host}:3306 library/python:2-slim python python ${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app ${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache 8080 direct ${docker.http-cache.port.host}:8080 /usr/src/http-cache-app ./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host} onap/clamp onap-clamp true true latest ${project.docker.latesttagtimestamp.version} ${project.docker.latesttag.version} Dockerfile assembly/clamp-files.xml onap-clamp onap/clamp-dashboard-logstash onap-clamp-dashboard-logstash true true latest ${project.docker.latesttagtimestamp.version} ${project.docker.latesttag.version} logstash/Dockerfile.logstash onap/clamp-dashboard-kibana onap-clamp-dashboard-kibana true true latest ${project.docker.latesttagtimestamp.version} ${project.docker.latesttag.version} kibana/Dockerfile.kibana generate-images install build push-images deploy push docker-start-for-it pre-integration-test start docker-stop-for-it post-integration-test stop org.jacoco jacoco-maven-plugin 0.8.2 true true org.onap.clamp.* pre-unit-test prepare-agent ${project.build.directory}/coverage-reports/jacoco.exec surefireArgLine pre-integration-test pre-integration-test prepare-agent ${project.build.directory}/coverage-reports/jacoco-it.exec failsafeArgLine merge post-integration-test ${project.build.directory}/coverage-reports *.exec ${project.build.directory}/jacoco-dev.exec org.codehaus.mojo versions-maven-plugin 1.3.1 com.github.eirslett frontend-maven-plugin 1.6 ${project.build.directory}/clamp-ui ${project.build.directory}/clamp-ui ${maven.test.skip} install_node_and_npm install-node-and-npm test v8.11.1 5.6.0 npm_install npm test install npm_test npm test run-script test:coverage