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-83306git-server1.81.0.02.20.11.5.9.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.camunda.bpmcamunda-bom7.6.0importpomorg.apache.camelcamel-spring-boot-dependencies${camel.version}pomimportcom.att.eelfeelf-core${eelf.core.version}org.apache.camelcamel-spring-boot-starterorg.apache.camelcamel-jaxb-starterorg.apache.camelcamel-cxf-starterorg.springframework.bootspring-boot-starter-weborg.springframework.bootspring-boot-starter-tomcatorg.springframework.bootspring-boot-starter-jerseyorg.springframeworkspring-jdbcorg.springframework.bootspring-boot-starter-securityorg.springframework.bootspring-boot-starter-actuatororg.springframework.bootspring-boot-starter-testtestorg.camunda.bpm.extension.springbootcamunda-bpm-spring-boot-starter2.0.0org.camunda.bpm.extension.springbootcamunda-bpm-spring-boot-starter-webapp2.0.0commons-iocommons-io2.6com.googlecode.json-simplejson-simpleorg.apache.commonscommons-vfs22.0joda-timejoda-timeorg.slf4jslf4j-apijavax.ws.rsjavax.ws.rs-api2.0junitjunitorg.mockitomockito-all1.9.5com.fasterxml.jackson.corejackson-corecom.fasterxml.jackson.corejackson-databindjavax.transactionjta1.1javax.persistencepersistence-api1.0.2org.hibernatehibernate-annotations3.5.6-Finaldom4jdom4jorg.onap.policy.enginePolicyEngineAPI1.1.0log4jlog4jorg.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-clientorg.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.mariadb.jdbcmariadb-java-client2.1.1clampsrc/test/resources**/*.jkstruesrc/test/resources/https**.jksfalsehttpssrc/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}:3306${skipITs}mariadb-start-for-itpre-integration-teststart${skipITs}mariadb-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