X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fmodel-loader.git;a=blobdiff_plain;f=pom.xml;h=d9946df3bb68968f1fcdfa6a6a254ca6f3990593;hp=fbd564ec48d8d8b200c98588c72bf0219ab9cfdc;hb=HEAD;hpb=42d14ccda0c927f685e4347e2b54c3c111bc3655 diff --git a/pom.xml b/pom.xml index fbd564e..fb4aad4 100644 --- a/pom.xml +++ b/pom.xml @@ -1,353 +1,641 @@ + + ============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========================================================= +--> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.openecomp.aai.model-loader + + + org.onap.oparent + oparent + 3.3.3 + + + + org.onap.aai.model-loader model-loader - 1.0.0-SNAPSHOT - war - + aai-model-loader + 1.14.0-SNAPSHOT + + + + + org.springframework.boot + spring-boot-dependencies + ${spring-boot.version} + pom + import + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + org.onap.aai.modelloader.service.ModelLoaderApplication + https://nexus.onap.org ${basedir}/target - provided - google_checks.xml - 1.8 - 1.8 + 2.7.18 + 2021.0.8 + 1.10.0 + 1.22 + 2.10.1 + 1.3 + 1.13.0 + 2.1.1 + 1.2.11 + + 0.39.0 + 1.0.0 + ${project.build.directory}/${project.artifactId}-${project.version}-build/ + onap + alpine + 1.13.2 + + yyyyMMdd'T'HHmmss'Z' + + + + + + 0.75 + 0.8.5 + 3.2 + jacoco + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + 3.7.0.1746 + + 3.2.0 + 3.8.1 + 11 + 11 + 11 + 11 + + + ecomp-releases + ECOMP Release Repository + ${nexusproxy}/content/repositories/releases/ + + + ecomp-snapshots + ECOMP Snapshot Repository + ${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 + org.springframework.boot + spring-boot-starter-aop test - org.powermock - powermock-module-javaagent - 1.6.2 - test + org.apache.kafka + kafka-clients + + + + org.springframework.kafka + spring-kafka + - org.powermock - powermock-module-junit4-rule-agent - 1.6.2 + org.springframework.kafka + spring-kafka-test + test - - javax.xml.bind - jaxb-api - 2.2.11 + org.onap.aai + babel + ${babel.version} + client + + + * + * + + - com.sun.xml.bind - jaxb-impl - 2.2.11 + com.google.code.gson + gson + ${gson.version} + + + - com.sun.xml.bind - jaxb-core - 2.2.11 + com.mikesamuel + json-sanitizer + 1.2.3 + + - com.sun.xml.bind - jaxb-xjc - 2.2.11 + org.onap.aai.logging-service + common-logging + 1.5.0 - org.eclipse.persistence - org.eclipse.persistence.moxy - 2.6.2 - compile + ch.qos.logback + logback-classic + ${logback.version} + - com.sun.jersey - jersey-client - 1.18 + ch.qos.logback + logback-core + ${logback.version} + - - org.openecomp.aai.logging-service - common-logging - 1.0.0-SNAPSHOT + org.onap.sdc.sdc-distribution-client + sdc-distribution-client + ${sdc-distribution-client.version} + + + org.apache.commons + commons-compress + ${commons-compress.version} + + + commons-io + commons-io + 2.11.0 + + + org.apache.commons + commons-text + ${apache.commons-text.version} + + + org.springframework.cloud + spring-cloud-starter-sleuth + + + org.springframework.cloud + spring-cloud-sleuth-zipkin + + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + + + + + org.hamcrest + hamcrest-all + ${hamcrest-all.version} + test + + + org.junit.jupiter + junit-jupiter + test - org.openecomp.sdc - sdc-distribution-client - 0.9.0 + org.junit.jupiter + junit-jupiter-api + test + + + org.mockito + mockito-core + test - org.json - json - 20131018 + org.springframework.boot + spring-boot-starter-test + test + + + com.vaadin.external.google + android-json + + - - org.eclipse.jetty - jetty-security - 9.3.8.RC0 + org.springframework.cloud + spring-cloud-contract-wiremock + 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 - https://nexus.openecomp.org/content/repositories/releases/ - - - ecomp-snapshots - ECOMP Snapshot Repository - https://nexus.openecomp.org/content/repositories/snapshots/ - + + + central + https://repo1.maven.org/maven2 + + + EvoSuite + EvoSuite Repository + https://www.evosuite.org/m2 + + + + + + central + Maven 2 repository 2 + https://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 + maven-compiler-plugin + ${maven-compiler-plugin.version} + true + + ${maven-compiler-plugin.source} + ${maven-compiler-plugin.target} + ${maven-compiler-plugin.test.source} + ${maven-compiler-plugin.test.target} + + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + true + - copy-docker-file - package - copy-resources + repackage - - target - true - - - ${basedir}/src/main/docker - true - - **/* - - - - - com.spotify - docker-maven-plugin - 0.4.11 - - nexus3.openecomp.org:10003 - ${docker.push.registry}/openecomp/${project.artifactId} - ${docker.location} - - ${docker.imagetag} - 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 + maven-deploy-plugin - -javaagent:${project.build.directory}/agents/powermock-javaagent.jar - -noverify + client - org.codehaus.mojo - jaxb2-maven-plugin - 2.2 + maven-assembly-plugin + + + src/main/assembly/descriptor.xml + + - xjc + make-assembly + package - xjc + single + + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} - false - ${project.build.directory}/generated-sources - - ${project.basedir}/src/main/resources/schema - - true + + + **/gen/** + **/generated-sources/** + **/yang-gen/** + **/pax/** + + + + + pre-unit-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + surefireArgLine + + + + + post-unit-test + test + + report + + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + ${project.reporting.outputDirectory}/jacoco-ut + + + + pre-integration-test + pre-integration-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + failsafeArgLine + + + + + post-integration-test + post-integration-test + + report + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + ${project.reporting.outputDirectory}/jacoco-it + + + + default-check + + check + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + + BUNDLE + + + LINE + COVEREDRATIO + ${jacoco.line.coverage.limit} + + + + + + + org.apache.maven.plugins - maven-compiler-plugin - 3.1 + maven-surefire-plugin + 3.1.2 + + + ${surefireArgLine} + + + **/IT*.java + + - - - org.apache.maven.plugins - maven-site-plugin - 3.3 - - - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - - - checkstyle - - - - - - + maven-failsafe-plugin + 3.1.2 + + + + integration-tests + + integration-test + verify + + + + ${failsafeArgLine} + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonar.scanner.version} - - - - 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 - - -
+ + + + +
- -