4.0.0org.onap.clampclds2.0.0-SNAPSHOTclamporg.onap.oparentoparent1.1.0-SNAPSHOT
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 intergation 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.cldsReference=classpath:/clds/clds-reference.properties
- org.onap.clamp.config.files.cldsPolicyConfig=classpath:/clds/clds-policy-config.properties
- org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json
- org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties
yyyy.MM.dd'T'hh.mm.ss'Z'${project.version}${maven.build.timestamp}1.81.8UTF-8UTF-833062080git-server1.82.0.0-rc420.01.0.02.20.11.5.10.RELEASEjavajacoco${project.build.directory}/surefire-reports${project.build.directory}/coverage-reports/jacoco.exec${project.build.directory}/coverage-reports/jacoco-it.exectrue${project.version}localhost:5000truetruefalseecomp-releasesClamp Release Repositoryhttps://nexus.onap.org/content/repositories/releases/ecomp-snapshotsClamp Snapshot Repositoryhttps://nexus.onap.org/content/repositories/snapshots/ecomp-sitedav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version}centralMaven 2 repository 2http://repo2.maven.org/maven2/ecomp-releasesONAP Release Repositoryhttps://nexus.onap.org/content/repositories/releases/ecomp-stagingONAP Staging Repositoryhttps://nexus.onap.org/content/repositories/staging/ecomp-snapshotsONAP Snapshot Repositoryhttps://nexus.onap.org/content/repositories/snapshots/truefalsespring-repoSpring repohttps://artifacts.alfresco.com/nexus/content/repositories/public/repository.jboss.org-publicJBoss.org Maven repositoryhttps://repository.jboss.org/nexus/content/groups/publicorg.springframework.bootspring-boot-dependencies${springboot.version}pomimportorg.apache.camelcamel-spring-boot-dependencies${camel.version}pomimportcom.google.guavaguava${guava.version}io.swagger.core.v3swagger-jaxrs2${swagger.jaxrs2.version}com.att.eelfeelf-core${eelf.core.version}org.apache.camelcamel-spring-boot-starterorg.apache.camelcamel-jaxb-starterorg.apache.camelcamel-servlet-starterorg.springframework.bootspring-boot-starter-weborg.springframework.bootspring-boot-starter-tomcatcom.paypal.springbootresteasy-spring-boot-starter2.3.4-RELEASEorg.springframeworkspring-jdbcorg.springframework.bootspring-boot-starter-securityorg.springframework.bootspring-boot-starter-actuatororg.springframework.bootspring-boot-starter-testtestcom.vaadin.external.googleandroid-jsonch.qos.logbacklogback-core1.2.3ch.qos.logbacklogback-classic1.2.3commons-dbcpcommons-dbcp1.4commons-iocommons-io2.6com.googlecode.json-simplejson-simpleorg.apache.commonscommons-vfs22.2joda-timejoda-timeorg.slf4jslf4j-apijavax.ws.rsjavax.ws.rs-api2.0junitjunitcom.fasterxml.jackson.corejackson-corecom.fasterxml.jackson.corejackson-databindjavax.transactionjta1.1javax.persistencepersistence-api1.0.2org.hibernatehibernate-annotations3.5.6-Finaldom4jdom4jorg.onap.policy.enginePolicyEngineAPI1.1.0com.google.guavaguavalog4jlog4jorg.slf4jslf4j-log4j12apache-log4j-extraslog4jjackson-databindcom.fasterxml.jackson.coremysqlmysql-connector-javacommons-iocommons-ioorg.onap.policy.commonONAP-Logging1.1.0log4jlog4jorg.slf4jslf4j-log4j12apache-log4j-extraslog4jorg.onap.policy.enginePolicyEngineUtils1.1.0log4jlog4jorg.slf4jslf4j-log4j12apache-log4j-extraslog4jmysqlmysql-connector-javaorg.mariadb.jdbcmariadb-java-clientcom.att.nsadmaapClientorg.onap.policy.drools-applicationspolicy-yaml1.1.0log4jlog4jorg.slf4jslf4j-log4j12apache-log4j-extraslog4jorg.onap.policy.drools-applicationssdc1.1.0log4jlog4jorg.slf4jslf4j-log4j12apache-log4j-extraslog4jorg.onap.policy.drools-applicationsaai1.1.0log4jlog4jorg.slf4jslf4j-log4j12apache-log4j-extraslog4jcom.fasterxml.jackson.corejackson-databindcom.fasterxml.jackson.dataformatjackson-dataformat-yamlorg.apache.commonscommons-csv1.3com.sun.facesjsf-api2.1.7com.sun.facesjsf-impl2.1.7org.codehaus.plexusplexus-utils3.0.24commons-fileuploadcommons-fileupload1.3.3org.jboss.spec.javax.ws.rsjboss-jaxrs-api_2.0_spec1.0.1.Finalorg.mariadb.jdbcmariadb-java-client2.2.1org.openecomp.sdc.sdc-distribution-clientsdc-distribution-client1.2.2org.openecomp.sdc.sdc-toscasdc-tosca1.2.2clampsrc/test/resources**/*.jks**/*.csartruesrc/test/resources/https**.jksfalsehttpssrc/test/resources/example/sdc**.csarfalseexample/sdcsrc/main/resourcestruesrc/main/docker**/*trueorg.codehaus.groovy.mavengmaven-plugin1.0validateexecuteorg.apache.maven.pluginsmaven-jar-plugin3.0.2jar-with-only-classespackagejarclassesorg/**org.codehaus.mojobuild-helper-maven-plugin3.0.0attach-artifactpackage${project.build.directory}/clamp-classes.jarjarclassesorg.springframework.bootspring-boot-maven-plugin${springboot.version}repackagepackageorg.sonatype.pluginsnexus-staging-maven-plugin1.6.7truehttps://nexus.onap.org176c31dfe190aecomp-staging${skip.staging.artifacts}com.spotifydocker-maven-plugin1.0.0onap/clampsrc/main/dockerdocker-hublatest${project.docker.latesttagtimestamp.version}${project.docker.latesttag.version}true/${project.build.directory}${project.build.finalName}.jar/${project.build.directory}etc/config/**/${project.build.directory}etc/keystore/**build-imagepackagebuild${skip.docker.build}${env.HTTP_PROXY}${env.HTTPS_PROXY}tag-image-latest-timestamppackagetagonap/clamp${docker.push.registry}/onap/clamp:${project.docker.latesttagtimestamp.version}${skip.docker.push}push-image-latest-timestampdeploypush${docker.push.registry}/onap/clamp:${project.docker.latesttagtimestamp.version}${skip.docker.push}tag-image-latestpackagetagonap/clamp${docker.push.registry}/onap/clamp:${project.docker.latesttag.version}${skip.docker.push}push-image-latestdeploypush${docker.push.registry}/onap/clamp:${project.docker.latesttag.version}${skip.docker.push}tag-imagepackagetagonap/clamp${docker.push.registry}/onap/clamp:latest${skip.docker.push}push-imagedeploypush${docker.push.registry}/onap/clamp:latest${skip.docker.push}org.apache.maven.pluginsmaven-surefire-plugin2.19.11falseorg.apache.maven.pluginsmaven-failsafe-plugin2.16integration-testsintegration-testverify**/*ItCase.java1falseio.fabric8docker-maven-plugin0.16.5true1.23mariadb:10.1.11mariadbstrong_pitchoumariadb${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.dsocket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution${docker.mariadb.port.host}:3306python:2-slimpythonpython${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app${project.basedir}/src/test/resources/http-cache/sdc-example/:/usr/src/http-cache-app/data-cache8080direct${docker.http-cache.port.host}:8080/usr/src/http-cache-app./start_http_cache.sh ${http.proxy}${skipITs}docker-start-for-itpre-integration-teststart${skipITs}docker-stop-for-itpost-integration-teststop${skipITs}org.jacocojacoco-maven-plugin0.7.7.201606060606trueorg.onap.clamp.*pre-unit-testprepare-agent${project.build.directory}/coverage-reports/jacoco.execpre-integration-testpre-integration-testprepare-agent${project.build.directory}/coverage-reports/jacoco-it.execmergepost-integration-test${project.build.directory}/coverage-reports*.exec${project.build.directory}/jacoco-dev.execorg.codehaus.mojoversions-maven-plugin1.3.1dockertruefalsefalsefalse