4.0.0 org.onap.clamp clds 2.0.0-SNAPSHOT clamp org.onap.oparent oparent 1.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.8 1.8 UTF-8 UTF-8 3306 2080 git-server 1.8 1.0.0 2.20.1 1.5.10.RELEASE java jacoco ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec true ${project.version} localhost:5000 true true 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} central Maven 2 repository 2 http://repo2.maven.org/maven2/ 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 spring-repo Spring repo https://artifacts.alfresco.com/nexus/content/repositories/public/ repository.jboss.org-public JBoss.org Maven repository https://repository.jboss.org/nexus/content/groups/public org.springframework.boot spring-boot-dependencies ${springboot.version} pom import org.apache.camel camel-spring-boot-dependencies ${camel.version} pom import com.att.eelf eelf-core ${eelf.core.version} org.apache.camel camel-spring-boot-starter org.apache.camel camel-jaxb-starter org.apache.camel camel-servlet-starter org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-tomcat com.paypal.springboot resteasy-spring-boot-starter 2.3.4-RELEASE org.springframework spring-jdbc org.springframework.boot spring-boot-starter-security org.springframework.boot spring-boot-starter-actuator org.springframework.boot spring-boot-starter-test test com.vaadin.external.google android-json 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 org.apache.commons commons-vfs2 2.0 joda-time joda-time org.slf4j slf4j-api javax.ws.rs javax.ws.rs-api 2.0 junit junit com.fasterxml.jackson.core jackson-core com.fasterxml.jackson.core jackson-databind javax.transaction jta 1.1 javax.persistence persistence-api 1.0.2 org.hibernate hibernate-annotations 3.5.6-Final dom4j dom4j org.onap.policy.engine PolicyEngineAPI 1.1.0 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j jackson-databind com.fasterxml.jackson.core mysql mysql-connector-java commons-io commons-io org.onap.policy.common ONAP-Logging 1.1.0 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j org.onap.policy.engine PolicyEngineUtils 1.1.0 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j mysql mysql-connector-java org.mariadb.jdbc mariadb-java-client com.att.nsa dmaapClient org.onap.policy.drools-applications policy-yaml 1.1.0 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j org.onap.policy.drools-applications sdc 1.1.0 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j org.onap.policy.drools-applications aai 1.1.0 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j com.fasterxml.jackson.core jackson-databind com.fasterxml.jackson.dataformat jackson-dataformat-yaml org.apache.commons commons-csv 1.3 com.sun.faces jsf-api 2.1.7 com.sun.faces jsf-impl 2.1.7 org.mariadb.jdbc mariadb-java-client 2.2.1 clamp src/test/resources **/*.jks true src/test/resources/https **.jks false https src/main/resources true src/main/docker **/* true 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 org.springframework.boot spring-boot-maven-plugin ${springboot.version} repackage package org.sonatype.plugins nexus-staging-maven-plugin 1.6.7 true https://nexus.onap.org 176c31dfe190a ecomp-staging ${skip.staging.artifacts} com.spotify docker-maven-plugin 1.0.0 onap/clamp src/main/docker docker-hub latest ${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-image package build ${skip.docker.build} ${env.HTTP_PROXY} ${env.HTTPS_PROXY} tag-image-latest-timestamp package tag onap/clamp ${docker.push.registry}/onap/clamp:${project.docker.latesttagtimestamp.version} ${skip.docker.push} push-image-latest-timestamp deploy push ${docker.push.registry}/onap/clamp:${project.docker.latesttagtimestamp.version} ${skip.docker.push} tag-image-latest package tag onap/clamp ${docker.push.registry}/onap/clamp:${project.docker.latesttag.version} ${skip.docker.push} push-image-latest deploy push ${docker.push.registry}/onap/clamp:${project.docker.latesttag.version} ${skip.docker.push} tag-image package tag onap/clamp ${docker.push.registry}/onap/clamp:latest ${skip.docker.push} push-image deploy push ${docker.push.registry}/onap/clamp:latest ${skip.docker.push} org.apache.maven.plugins maven-surefire-plugin 2.19.1 1 false org.apache.maven.plugins maven-failsafe-plugin 2.16 integration-tests integration-test verify **/*ItCase.java 1 false io.fabric8 docker-maven-plugin 0.16.5 true 1.23 mariadb:10.1.11 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 python:2 python python ${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-cache 8080 direct ${docker.http-cache.port.host}:8080 /usr/src/http-cache-app ./start_http_cache.sh ${http.proxy} ${skipITs} docker-start-for-it pre-integration-test start ${skipITs} docker-stop-for-it post-integration-test stop ${skipITs} org.jacoco jacoco-maven-plugin 0.7.7.201606060606 true org.onap.clamp.* pre-unit-test prepare-agent ${project.build.directory}/coverage-reports/jacoco.exec pre-integration-test pre-integration-test prepare-agent ${project.build.directory}/coverage-reports/jacoco-it.exec 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 docker true false false false