X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fmodel-loader.git;a=blobdiff_plain;f=pom.xml;h=d9946df3bb68968f1fcdfa6a6a254ca6f3990593;hp=93e6af5febbb860218f2d4f78973496c63364bcc;hb=HEAD;hpb=e1320277b29ef4ac5effd7264d9549f84e9deec5 diff --git a/pom.xml b/pom.xml index 93e6af5..fb4aad4 100644 --- a/pom.xml +++ b/pom.xml @@ -1,73 +1,101 @@ + + ============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 - + - ajsc-archetype-parent - com.att.ajsc - 2.0.0 + org.onap.oparent + oparent + 3.3.3 + - - org.openecomp.aai.model-loader + + org.onap.aai.model-loader model-loader - 1.1.0-SNAPSHOT - AAI - model-loader - + 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 - model-loader - v1 - 2.0.0 - /appl/${project.artifactId} - /appl/${project.artifactId}/${project.version} - ${basedir}/target/swm/package/nix/dist_files${distFilesRoot} - - - 0 - 0 + 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' + + + - - aaiadmin - aaiadmin - org.openecomp.aai.dev + 0.75 + 0.8.5 + 3.2 + jacoco + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** - workstation - DEV + 3.7.0.1746 - 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} - https://nexus.onap.org + 3.2.0 + 3.8.1 + 11 + 11 + 11 + 11 @@ -82,464 +110,532 @@ ${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.powermock - powermock-module-junit4-rule-agent - 1.6.2 + org.springframework.kafka + spring-kafka + + + + 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 + org.onap.sdc.sdc-distribution-client + sdc-distribution-client + ${sdc-distribution-client.version} - ch.qos.logback - logback-core - 1.1.7 + 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.openecomp.sdc.sdc-distribution-client - sdc-distribution-client - 1.1.32-SNAPSHOT + org.hamcrest + hamcrest-all + ${hamcrest-all.version} + test - org.apache.httpcomponents - httpclient - 4.5 + org.junit.jupiter + junit-jupiter + test + + + 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 - ${nexusproxy}/content/repositories/releases/ - - - ecomp-snapshots - ECOMP Snapshot Repository - ${nexusproxy}/content/repositories/snapshots/ - - - ecomp-staging - ECOMP Staging Repository - ${nexusproxy}/content/repositories/staging/ - - - - - - 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 - + + + + central + https://repo1.maven.org/maven2 + + + EvoSuite + EvoSuite Repository + https://www.evosuite.org/m2 + + - - 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} - - + + + 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/ + + - - - context=// - port=${serverPort} - sslport=${sslport} - - - - - - java - - - - com.att.ajsc - ajsc-runner - ${ajscRuntimeVersion} - - - - - - - - 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 - - **/* - - - - ${basedir}/src/main/bin/ - - - - 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.8 - 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 - -noverify ${argLine} + client - 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.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + **/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-site-plugin - 3.3 + maven-surefire-plugin + 3.1.2 - - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - - - checkstyle - - - - - + + ${surefireArgLine} + + + **/IT*.java + - - - - com.mycila - license-maven-plugin - 3.0 - -
License.txt
- - src/main/java/** - src/test/java/** - -
+ + org.apache.maven.plugins + maven-failsafe-plugin + 3.1.2 + + integration-tests - format + integration-test + verify - process-sources + + + ${failsafeArgLine} + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonar.scanner.version} + + + - - 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 - - -
+
- -