X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fmodel-loader.git;a=blobdiff_plain;f=pom.xml;h=68ad3b62ac0467533aef7f0939d40b176a735090;hp=47ed7c715c90274758531faa645ed6df26d4004d;hb=caebf96699363909496ab3dace9d68c013c3778d;hpb=3c76a64c4d8571c5a319af42fedc61b851106f6d diff --git a/pom.xml b/pom.xml index 47ed7c7..68ad3b6 100644 --- a/pom.xml +++ b/pom.xml @@ -1,46 +1,60 @@ + + ============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 - org.openecomp.aai.model-loader + + + org.onap.aai.aai-common + aai-parent + 1.6.10 + + + + org.onap.aai.model-loader model-loader - 1.1.0-SNAPSHOT - war - + aai-model-loader + 1.6.0-SNAPSHOT + - ${basedir}/target - - 1.0.0 - 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} + 1.6.10 + org.onap.aai.modelloader.service.ModelLoaderApplication https://nexus.onap.org + ${basedir}/target + 1.3 + 1.3.1 + 1.2.1 + 1.3.0 + + 0.28.0 + 1.0.0 + ${project.build.directory}/${project.artifactId}-${project.version}-build/ + onap + alpine + 1.6.0 + + yyyyMMdd'T'HHmmss'Z' + + 0.80 @@ -55,361 +69,361 @@ ${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 - - javax.xml.bind - jaxb-api - 2.2.11 + com.google.code.gson + gson + + + - com.sun.xml.bind - jaxb-impl - 2.2.11 + com.mikesamuel + json-sanitizer + 1.2.0 + + - com.sun.xml.bind - jaxb-core - 2.2.11 + org.onap.aai.logging-service + common-logging - com.sun.xml.bind - jaxb-xjc - 2.2.11 + ch.qos.logback + logback-classic - org.eclipse.persistence - org.eclipse.persistence.moxy - 2.6.2 - compile + ch.qos.logback + logback-core - com.sun.jersey - jersey-client - 1.18 + org.onap.sdc.sdc-distribution-client + sdc-distribution-client + ${sdc-distribution-client.version} - - org.openecomp.aai.logging-service - common-logging - ${ecomp.version} + org.json + json - org.openecomp.sdc - sdc-distribution-client - ${ecomp.version} + org.eclipse.jetty + jetty-security - org.json - json - 20131018 + jline + jline + 2.12.1 + + + org.apache.commons + commons-compress + + + commons-io + commons-io + + + org.apache.commons + commons-text + + + + + junit + junit + test - - org.eclipse.jetty - jetty-security - 9.3.8.RC0 + org.hamcrest + hamcrest-all + ${hamcrest-all.version} + test + + + org.mockito + mockito-core + test + + + org.springframework.boot + spring-boot-starter-test + test - - - org.springframework - spring-webmvc - 4.0.0.RELEASE - - - jline - jline - 2.12.1 - - - + - - - central - http://repo1.maven.org/maven2 - - - EvoSuite - EvoSuite Repository - http://www.evosuite.org/m2 - - - - - central - Maven 2 repository 2 - http://repo2.maven.org/maven2/ - - - ecomp-releases - ECOMP Release Repository - ${nexusproxy}/content/repositories/releases/ - - - ecomp-snapshots - ECOMP Snapshot Repository - ${nexusproxy}/content/repositories/snapshots/ - - - ecomp-staging - ECOMP Staging Repository - ${nexusproxy}/content/repositories/staging/ - + + + central + http://repo1.maven.org/maven2 + + + EvoSuite + EvoSuite Repository + http://www.evosuite.org/m2 + + + + + + central + Maven 2 repository 2 + http://repo2.maven.org/maven2/ + + + ecomp-releases + ECOMP Release Repository + ${nexusproxy}/content/repositories/releases/ + + + ecomp-snapshots + ECOMP Snapshot Repository + ${nexusproxy}/content/repositories/snapshots/ + + + ecomp-staging + ECOMP Staging Repository + ${nexusproxy}/content/repositories/staging/ + + - - - - org.apache.maven.plugins - maven-resources-plugin - 2.7 + org.springframework.boot + spring-boot-maven-plugin + + true + - copy-docker-file - package - copy-resources + repackage - - target - true - - - ${basedir}/src/main/docker - true - - **/* - - - - - com.spotify - docker-maven-plugin - 0.4.11 - - true - docker-hub - ${docker.push.registry}/openecomp/${project.artifactId} - ${docker.location} - - latest - - true + com.mycila + license-maven-plugin + 3.0 + +
License.txt
+ + src/main/java/** + src/test/java/** + version/properties + pom.xml + + true
-
- - org.apache.maven.plugins - maven-dependency-plugin - 2.5.1 - copy-agent - process-test-classes - copy + + check - - - - org.powermock - powermock-module-javaagent - 1.6.2 - ${project.build.directory}/agents - powermock-javaagent.jar - - - + process-sources org.apache.maven.plugins - maven-surefire-plugin - 2.12.4 - - -noverify ${argLine} - + maven-deploy-plugin - org.codehaus.mojo - jaxb2-maven-plugin - 2.2 + maven-assembly-plugin + + + src/main/assembly/descriptor.xml + + - xjc + make-assembly + package - xjc + single - - 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 - - - - - - + org.jacoco + jacoco-maven-plugin + + + default-check + + check + + + ${jacoco.report.directory}/jacoco-ut.exec + + + + BUNDLE + + + LINE + COVEREDRATIO + ${jacoco.line.coverage.limit} + + + + + + + - - - - org.codehaus.mojo - license-maven-plugin - 1.10 - - false - - **.json - **.properties - - ============LICENSE_START======================================================= - ============LICENSE_END========================================================= - ================================================================================ - apache_v2 - 2017 - AT&T Intellectual Property. All rights reserved. - MODEL LOADER SERVICE - true - true - true - true - - . - - - **/*.json - - - xml - properties - xml - java - - - - - first - - update-file-header - - process-sources - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - org.codehaus.mojo - sonar-maven-plugin - 3.2 - - - org.jacoco - jacoco-maven-plugin - 0.7.7.201606060606 - - true - - - - jacoco-initialize-unit-tests - - prepare-agent - - - ${project.build.directory}/coverage-reports/jacoco.exec - - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ${nexusproxy} - 176c31dfe190a - ecomp-staging - - - -
+
- -