X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fmodel-loader.git;a=blobdiff_plain;f=pom.xml;h=8dc1cd1e308968340fbfd9ce9ae1e36d01680016;hp=fd5502c3e3edd937812e205f43545b3e5bfc6a79;hb=86359a2f445a19a19d8239f2e7e07480a1bc7ba3;hpb=a277ee34e483b0444b542bec8cd41270989858cc diff --git a/pom.xml b/pom.xml index fd5502c..8dc1cd1 100644 --- a/pom.xml +++ b/pom.xml @@ -1,72 +1,73 @@ + + ============LICENSE_START======================================================= + org.onap.aai + ================================================================================ + Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright © 2017-2018 European Software Marketing Ltd. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= +--> 4.0.0 - ajsc-archetype-parent - com.att.ajsc + org.onap.oparent + oparent 2.0.0 + org.onap.aai.model-loader model-loader - 1.2.0-SNAPSHOT aai-model-loader + 1.5.0-SNAPSHOT - - ${basedir}/target - model-loader - v1 - 2.0.0 - /appl/${project.artifactId} - /appl/${project.artifactId}/${project.version} - ${basedir}/target/swm/package/nix/dist_files${distFilesRoot} - - - 0 - 0 - + + + + org.springframework.boot + spring-boot-dependencies + ${spring-boot.version} + pom + import + + + - - aaiadmin - aaiadmin - org.openecomp.aai.dev - - workstation - DEV - - provided - google_checks.xml - 1.8 - 1.8 - java - jacoco - ${project.build.directory}/surefire-reports - ${project.build.directory}/coverage-reports/jacoco.exec - false - ${project.version} + + org.onap.aai.modelloader.service.ModelLoaderApplication https://nexus.onap.org + ${basedir}/target + 2.1.6.RELEASE + 1.1 + 1.18 + 1.3 + 1.3.1 + 1.2.1 + 1.3.0 + 1.2.3 + + 0.28.0 + 1.0.0 + ${project.build.directory}/${project.artifactId}-${project.version}-build/ + onap + alpine + 1.6.0 + + yyyyMMdd'T'HHmmss'Z' @@ -81,111 +82,242 @@ ${nexusproxy}/content/repositories/snapshots/ - + + + + + docker + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.0.0 + + + pre-clean + parse-version + + parse-version + + + + + + org.codehaus.groovy.maven + gmaven-plugin + 1.0 + + + pre-clean + + execute + + + + def userAaiBaseImage = session.userProperties['aai.base.image']; + def userAaiCommonVersion = session.userProperties['aai.base.image.version']; + if (userAaiCommonVersion != null) { + project.properties['aai.base.image.version'] = userAaiCommonVersion; + } + if (userAaiBaseImage != null) { + project.properties['aai.base.image'] = userAaiBaseImage; + } + log.info 'Base image flavour: ' + project.properties['aai.base.image']; + log.info 'Base image version: ' + project.properties['aai.base.image.version']; + + + + + + + io.fabric8 + docker-maven-plugin + ${docker.fabric.version} + + true + 1.23 + + + ${docker.push.registry}/${aai.docker.namespace}/${project.artifactId}:%l + + @ + + latest + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-${maven.build.timestamp} + + try + ${project.basedir}/src/main/docker + + + + + ${aai.build.directory} + /${project.artifactId} + + + + + + + + + + + clean-images + pre-clean + + remove + + + true + + + + generate-images + package + + build + + + + push-images + deploy + + push + + + + + + + + + - org.mockito - mockito-all - 1.10.19 - test + org.springframework.boot + spring-boot-starter-jetty - org.powermock - powermock-module-junit4 - 1.6.2 - test + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-tomcat + + - org.powermock - powermock-api-mockito - 1.6.2 - test + org.onap.aai + babel + ${babel.version} + client + + + * + * + + - org.powermock - powermock-module-javaagent - 1.6.2 + org.glassfish.jersey.core + jersey-common test - org.powermock - powermock-module-junit4-rule-agent - 1.6.2 - test + org.onap.aai + rest-client + ${aai.rest.client.version} - - javax.xml.bind - jaxb-api - 2.2.11 - - - com.sun.xml.bind - jaxb-impl - 2.2.11 - - - com.sun.xml.bind - jaxb-core - 2.2.11 - - - com.sun.xml.bind - jaxb-xjc - 2.2.11 - - - org.eclipse.persistence - org.eclipse.persistence.moxy - 2.6.2 - compile + com.google.code.gson + gson + + + - com.sun.jersey - jersey-client - 1.18 + com.mikesamuel + json-sanitizer + 1.2.0 + org.onap.aai.logging-service common-logging - 1.1.0 + 1.5.0 ch.qos.logback - logback-core - 1.1.7 + logback-classic + ${logback.version} - org.openecomp.sdc.sdc-distribution-client - sdc-distribution-client - 1.1.32 + ch.qos.logback + logback-core + ${logback.version} - org.apache.httpcomponents - httpclient - 4.5 + org.onap.sdc.sdc-distribution-client + sdc-distribution-client + ${sdc-distribution-client.version} org.json json - 20131018 + 20131018 org.eclipse.jetty jetty-security - 9.3.8.RC0 - - - org.springframework - spring-webmvc - 4.0.0.RELEASE jline jline 2.12.1 + + org.apache.commons + commons-compress + ${commons-compress.version} + + + commons-io + commons-io + 2.4 + + + org.apache.commons + commons-text + ${apache.commons-text.version} + + + + + junit + junit + test + + + org.hamcrest + hamcrest-all + ${hamcrest-all.version} + test + + + org.mockito + mockito-core + test + + + org.springframework.boot + spring-boot-starter-test + test + @@ -200,7 +332,7 @@ http://www.evosuite.org/m2 - + central @@ -224,251 +356,23 @@ - - - runAjsc - - initialize - - - org.codehaus.mojo - exec-maven-plugin - 1.3.2 - - - initialize - - java - - - false - true - java - com.att.ajsc.runner.Runner - - com.att.ajsc - ajsc-runner - - - ${basedir}/ajsc-shared-config/etc - - - - ${runAjscHome} - - - - - - AJSC_HOME - ${runAjscHome} - - - CONFIG_HOME - ${basedir}/appconfig-local/ - - - AJSC_CONF_HOME - ${basedir}/bundleconfig-local - - - logback.configurationFile - ${basedir}/ajsc-shared-config/etc/logback.xml - - - AJSC_SHARED_CONFIG - ${basedir}/ajsc-shared-config - - - - AJSC_EXTERNAL_LIB_FOLDERS - ${basedir}/target/commonLibs - - - AJSC_EXTERNAL_PROPERTIES_FOLDERS - ${basedir}/ajsc-shared-config/etc - - - AJSC_SERVICE_NAMESPACE - ${module.ajsc.namespace.name} - - - AJSC_SERVICE_VERSION - ${module.ajsc.namespace.version} - - - SOACLOUD_SERVICE_VERSION - ${project.version} - - - server.port - ${serverPort} - - - - - - context=// - port=${serverPort} - sslport=${sslport} - - - - - - java - - - - com.att.ajsc - ajsc-runner - ${ajscRuntimeVersion} - - - - - - - - - org.apache.maven.plugins - maven-resources-plugin - 2.7 - - - copy-docker-file - package - - copy-resources - - - target - true - - - ${basedir}/src/main/docker - true - - **/* - - - - ${basedir}/src/main/bin/ - - - - - - - - com.spotify - docker-maven-plugin - 0.4.11 + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} - true - docker-hub - ${docker.push.registry}/onap/${project.artifactId} - ${docker.location} - - latest - - true + true - - - org.apache.maven.plugins - maven-dependency-plugin - 2.8 - copy-agent - process-test-classes - copy + repackage - - - - org.powermock - powermock-module-javaagent - 1.6.2 - ${project.build.directory}/agents - powermock-javaagent.jar - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.12.4 - - -noverify ${argLine} - - - - org.codehaus.mojo - jaxb2-maven-plugin - 2.2 - - - xjc - - xjc - - - - - false - ${project.build.directory}/generated-sources - - ${project.basedir}/src/main/resources/schema - - true - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - - - - - org.apache.maven.plugins - maven-site-plugin - 3.3 - - - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - - - checkstyle - - - - - - - - - com.mycila license-maven-plugin @@ -478,18 +382,21 @@ src/main/java/** src/test/java/** + version/properties + pom.xml + true - format + + check process-sources - org.apache.maven.plugins maven-deploy-plugin @@ -498,43 +405,22 @@ - org.codehaus.mojo - sonar-maven-plugin - 3.2 - - - org.jacoco - jacoco-maven-plugin - 0.7.7.201606060606 + maven-assembly-plugin - true + + src/main/assembly/descriptor.xml + - jacoco-initialize-unit-tests + make-assembly + package - prepare-agent + single - - ${project.build.directory}/coverage-reports/jacoco.exec - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ${nexusproxy} - 176c31dfe190a - ecomp-staging - - - -