From 5e9feb2a8e360b82dc2b6e4145e0fd847d2924ce Mon Sep 17 00:00:00 2001 From: ChrisC Date: Wed, 21 Jun 2017 02:38:57 -0700 Subject: [CLAMP-1] Initial ONAP CLAMP seed code commit Change-Id: I2e8070a590618a06070f393d7b2c011029af5e8a Signed-off-by: ChrisC --- pom.xml | 879 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 879 insertions(+) create mode 100644 pom.xml (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml new file mode 100644 index 000000000..ecd9937cc --- /dev/null +++ b/pom.xml @@ -0,0 +1,879 @@ + + + 4.0.0 + org.onap.clamp + clds + 0.0.1-SNAPSHOT + ONAP CLAMP + + + 1.8 + 1.8 + UTF-8 + 3306 + 0.0.3-oss + git-server + ${basedir}/target/classes/META-INF/resources/icd + service.json + org.onap.clamp.clds.service.rs + 1.8 + local + ajsc-svc-account + com.att.ajsc + 2.2.11 + 6.1.0.6-oss + 6.2.0.6-oss + 6.1.0.3-oss + UTF-8 + UTF-8 + 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 + true + false + + https://nexus.onap.org + /content/repositories/snapshots/ + /content/repositories/releases/ + /content/repositories/staging/ + /content/sites/site/org/onap/clamp/${project.version} + + + + + ecomp-releases + Clamp Release Repository + ${nexusproxy}/${releaseNexusPath} + + + ecomp-snapshots + Clamp Snapshot Repository + ${nexusproxy}/${snapshotNexusPath} + + + ecomp-site + dav:${nexusproxy}${sitePath} + + + + + + central + Maven 2 repository 2 + http://repo2.maven.org/maven2/ + + + JBOSS + JBoss Repository + http://repository.jboss.org/nexus/content/groups/public-jboss/ + + + jboss-deprecated-repository + JBoss Deprecated Maven Repository + https://repository.jboss.org/nexus/content/repositories/deprecated/ + + + ecomp-releases + ONAP Release Repository + ${nexusproxy}/${releaseNexusPath} + + + ecomp-staging + ONAP Staging Repository + ${nexusproxy}/${stagingNexusPath} + + + ecomp-snapshots + ONAP Snapshot Repository + ${nexusproxy}/${snapshotNexusPath} + true + false + + + spring-repo + Spring repo + https://artifacts.alfresco.com/nexus/content/repositories/public/ + + + soapUI + http://www.soapui.org/repository/maven2/ + SoapUI plugin + + + + + This project build the ONAP CLAMP JAR that contains AJSC + CLAMP code. + + 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: + clds-policy-config.properties and clds-reference.properties + + The licenses and headers can be generated by using this maven command: + mvn license:update-file-header license:update-project-license + + + + + + + org.springframework.boot + spring-boot-dependencies + 1.4.1.RELEASE + pom + import + + + + + + + org.apache.commons + commons-vfs2 + 2.0 + + + + com.att.ajsc + sdk-java-common-logging + ${sdk.java.common.logging} + + + org.springframework.boot + spring-boot-starter-tomcat + compile + + + org.springframework.boot + spring-boot-starter-actuator + + + org.springframework.boot + spring-boot-starter-security + + + org.springframework.boot + spring-boot-starter-test + test + + + joda-time + joda-time + + + org.springframework + spring-context + + + org.slf4j + slf4j-api + + + javax.ws.rs + javax.ws.rs-api + 2.0 + + + org.springframework + spring-test + + + junit + junit + + + org.mockito + mockito-all + 1.9.5 + + + commons-logging + commons-logging + 1.1.1 + + + org.springframework + spring-aspects + + + com.fasterxml.jackson.core + jackson-core + + + com.fasterxml.jackson.core + jackson-databind + + + org.springframework + spring-webmvc + + + org.springframework.boot + spring-boot-starter-web + + + log4j + log4j + 1.2.17 + + + org.springframework.boot + spring-boot + + + org.springframework.boot + spring-boot-autoconfigure + + + javax.transaction + jta + 1.1 + + + javax.persistence + persistence-api + 1.0.2 + + + org.hibernate + hibernate-annotations + 3.5.6-Final + + + org.apache.geronimo.specs + geronimo-jpa_2.0_spec + 1.1 + + + dom4j + dom4j + 1.6.1 + + + + com.att.ajsc + sdk-java-camel-rest + ${sdk.camel.rest} + + + io.swagger + swagger-core + 1.5.8 + + + io.swagger + swagger-annotations + 1.5.8 + + + + com.att.ajsc + sdk-java-camunda-core + ${sdk.camunda.core} + + + + org.springframework + spring-context-support + + + + com.att.ajsc + sdk-java-common-interceptors + ${csi.logging} + + + org.eclipse.jetty.orbit + javax.servlet + + + com.att.ajsc + ajsc-core + + + + + + org.openecomp.policy.engine + PolicyEngineAPI + 1.1.0-SNAPSHOT + + + log4j + log4j + + + org.slf4j + slf4j-log4j12 + + + apache-log4j-extras + log4j + + + + + org.openecomp.policy.common + ECOMP-Logging + 1.1.0-SNAPSHOT + + + log4j + log4j + + + org.slf4j + slf4j-log4j12 + + + apache-log4j-extras + log4j + + + + + org.openecomp.policy.engine + ControlloopPolicy + 1.1.0-SNAPSHOT + + + log4j + log4j + + + org.slf4j + slf4j-log4j12 + + + apache-log4j-extras + log4j + + + + + + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + + 2.6.3 + + + org.apache.commons + commons-csv + 1.3 + + + org.jboss.resteasy + resteasy-client + 3.0.8.Final + + + com.sun.faces + jsf-api + 2.1.7 + + + com.sun.faces + jsf-impl + 2.1.7 + + + + + + + + src/test/resources + + **/* + + true + + + + + src/main/resources + true + + + target/generated-sources/license + + third-party-licenses.txt + + + + target/generated-resources/licenses + + *.* + + third-party-licenses + + + ${project.basedir}/etc + ${project.build.directory}/etc + true + + **/* + + + + src/main/docker + + **/* + + true + + + src/main/doxygen + + **/* + + true + + + + + + + org.apache.maven.plugins + maven-release-plugin + 2.5.3 + + ${projectTag} + ${scm.commit.message} + + + + com.github.kongchen + swagger-maven-plugin + 3.1.3 + + + + ${icd.package} + / + + ${project.artifactId} Service + ${project.version} + + ${swagger.directory} + + + + + + compile + + generate + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + com.github.kongchen + swagger-maven-plugin + 3.1.3 + + generate + + + + + + + + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.0.2 + + + jar-with-only-classes + package + + jar + + + classes + + META-INF/resources/designer/** + META-INF/resources/icd/** + META-INF/resources/index.html + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.0.0 + + + + attach-artifact + + package + + + + ${project.build.directory}/clds-${project.version}-classes.jar + jar + classes + + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + 1.5.3.RELEASE + + + + repackage + + package + + + + + maven-release-plugin + + + org.apache.maven.scm + maven-scm-provider-gitexe + 1.9 + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + true + + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ossrhajsc + https://oss.sonatype.org/ + true + ${skip.staging.artifacts} + + + + com.github.kongchen + swagger-maven-plugin + + + + org.onap.clamp.clds.service.rs + //rest + + ${project.artifactId} Service + ${project.version} + + ${swagger.directory} + + + + + + compile + + generate + + + + + + com.spotify + docker-maven-plugin + 0.4.11 + + onap/clamp + src/main/docker + docker-hub + + ${project.version} + latest + + true + + + / + ${project.build.directory} + ${project.build.finalName}.jar + + + / + ${project.build.directory} + etc/config/** + + + + + + build-image + package + + build + + + ${skip.docker.build} + + ${env.HTTP_PROXY} + ${env.HTTPS_PROXY} + + + + + tag-image + package + + tag + + + onap/clamp + ${clamp.registry}/onap/clamp + true + ${skip.docker.tag} + + + + push-image + deploy + + push + + + ${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-test + verify + + + 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 + + + + + + + + + mariadb-start-for-it + pre-integration-test + + start + + + ${skipITs} + + + + mariadb-stop-for-it + post-integration-test + + stop + + + ${skipITs} + + + + + + + org.jacoco + jacoco-maven-plugin + 0.7.7.201606060606 + + true + + org.onap.clamp.* + + + + + jacoco-unit-tests + + prepare-agent + + + ${project.build.directory}/coverage-reports/jacoco.exec + + + + + jacoco-integration-tests + pre-integration-test + + prepare-agent + + + ${project.build.directory}/coverage-reports/jacoco-it.exec + + + + + + + + + org.codehaus.mojo + license-maven-plugin + 1.12 + + false + ONAP CLAMP + true + true + true + + ============LICENSE_START======================================================= + + ================================================================================ + AT&T Intellectual Property. All rights + reserved. + 2017 + true + + clamp_apache_v2 + ${project.baseUri}/src/licenses + + + **/*.properties + **/icd/** + **/designer/lib/** + **/*.json + **/*.yaml + **/*.yml + **/licenses/** + + + + + + + + org.codehaus.mojo + versions-maven-plugin + 1.3.1 + + + + + + docker + + true + false + + + + -- cgit 1.2.3-korg