4.0.0 org.onap.clamp clds 2.0.1-SNAPSHOT clamp org.onap.oparent oparent 1.1.0 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 3306 8085 git-server 1.8 2.0.0-rc4 20.0 1.0.0 2.20.1 1.5.12.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 jcentral bintray http://jcenter.bintray.com false 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 javax.xml.bind jaxb-api 2.3.0 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.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.hibernate hibernate-annotations 3.5.6-Final dom4j dom4j org.onap.policy.engine PolicyEngineAPI 1.2.0 com.google.guava guava log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j mysql mysql-connector-java commons-io commons-io grizzly-http org.glassfish.grizzly org.onap.policy.common ONAP-Logging 1.1.3 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j org.onap.policy.engine PolicyEngineUtils 1.1.3 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.3 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j org.onap.policy.drools-applications sdc 1.1.3 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j org.onap.policy.drools-applications aai 1.1.3 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j org.apache.commons commons-csv 1.3 com.sun.faces jsf-api 2.1.7 com.sun.faces jsf-impl 2.1.7 org.codehaus.plexus plexus-utils 3.0.24 commons-fileupload commons-fileupload 1.3.3 org.jboss.spec.javax.ws.rs jboss-jaxrs-api_2.0_spec 1.0.1.Final 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.3.0 io.springfox springfox-swagger2 2.4.0 test io.github.robwin assertj-swagger 0.2.0 test io.github.swagger2markup swagger2markup-spring-restdocs-ext 1.2.0 test false jcenter-releases jcenter http://jcenter.bintray.com clamp src/test/resources **/*.jks **/*.csar true src/test/resources/https **.jks false https src/test/resources/example/sdc **.csar false example/sdc src/main/resources true src/main/docker **/* true com.sebastian-daschner jaxrs-analyzer-maven-plugin 0.14 test analyze-jaxrs swagger ../docs/swagger/ io.github.swagger2markup swagger2markup-maven-plugin 1.3.1 io.github.swagger2markup swagger2markup-import-files-ext 1.3.1 io.github.swagger2markup swagger2markup-spring-restdocs-ext 1.3.1 ${project.basedir}/docs/swagger/swagger.json ${project.build.directory}/asciidoc/generated ASCIIDOC test convertSwagger2markup org.asciidoctor asciidoctor-maven-plugin 1.5.3 org.asciidoctor asciidoctorj-pdf 1.5.0-alpha.10.1 org.jruby jruby-complete 1.7.21 ${project.basedir}/src/main/resources/asciidoc swagger.adoc book left 3 ${project.build.directory}/asciidoc/generated output-html test process-asciidoc html5 ${project.basedir}/docs/swagger ${project.basedir}/src/main/resources/META-INF/resources/ output-pdf 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 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.1.0 unix:///var/run/docker.sock 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-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} ${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