4.0.0 org.onap.clamp clds 3.0.0-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 1.0.0 2.22.0 2.0.2.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 nexus3.onap.org:10001 true true true false 8.5.32 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} 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.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-spring-boot-starter org.apache.camel camel-jaxb-starter org.apache.camel camel-servlet-starter org.apache.camel camel-jackson-starter org.apache.camel camel-swagger-java-starter javax.ws.rs jsr311-api org.slf4j slf4j-ext 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-tomcat org.springframework spring-jdbc org.springframework.boot spring-boot-starter-security org.springframework.boot spring-boot-starter-actuator org.springframework.boot spring-boot-autoconfigure org.springframework.boot spring-boot-starter-test test com.vaadin.external.google android-json org.onap.aaf.authz aaf-cadi-aaf 2.1.1 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 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.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-server org.glassfish.grizzly org.onap.dmaap.messagerouter.dmaapclient dmaapClient org.onap.policy.common integrity-monitor org.onap.policy.common integrity-audit org.onap.aaf.cadi cadi-aaf javax.jms jms org.onap.policy.common ONAP-Logging 1.1.3 log4j log4j org.slf4j slf4j-log4j12 apache-log4j-extras log4j 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 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 com.google.guava guava 25.1-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.3.0 org.assertj assertj-core 3.10.0 test org.mockito mockito-core 1.10.19 test central-for-plugins Maven 2 repository 2 http://repo2.maven.org/maven2/ false jcenter-releases-for-plugins 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 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.6 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 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 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.19.1 1 false org.apache.maven.plugins maven-failsafe-plugin 2.17 integration-tests integration-test verify **/*ItCase.java 1 false io.fabric8 docker-maven-plugin 0.26.0 true 1.23 library/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 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 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.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