X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=pom.xml;h=e3c18fdde4c547f0924fe4a5d2c91970e9619d24;hb=838331e07bb75cc2f4ae12dd5c8eb606d425e7a4;hp=242b62317e42e3ac1cdd197c77110d587041e57a;hpb=7b1f813441f94261f43ec4f5bb0944ad2570fbdf;p=aai%2Fmodel-loader.git diff --git a/pom.xml b/pom.xml index 242b623..e3c18fd 100644 --- a/pom.xml +++ b/pom.xml @@ -1,88 +1,60 @@ + + 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 - 2.0.0 + org.onap.aai.aai-common + aai-parent + 1.6.6-SNAPSHOT + org.onap.aai.model-loader model-loader - 1.2.0-SNAPSHOT + aai-model-loader + 1.6.0-SNAPSHOT + 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} - - 2.0.1 - 3.6 - 1.1 - 1.14 - 2.8.1 - 1.10.19 - 1.6.2 - 1.1.1 - 1.18 - 2.7 1.3 - 0.7.9 - - - 9500 - 0 - - - - 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} - https://nexus.openecomp.org - 1.2.0-SNAPSHOT + 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' + + ${project.build.directory}/code-coverage + 0.80 @@ -97,8 +69,134 @@ ${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.springframework.boot + spring-boot-starter-jetty + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-tomcat + + + org.onap.aai babel @@ -112,107 +210,20 @@ - javax.ws.rs - javax.ws.rs-api - ${javax.ws.rs-api.version} - - - javax.ws.rs - jsr311-api - ${jsr311-api.version} - - - - com.sun.jersey - jersey-client - ${jersey-client.version} + org.glassfish.jersey.core + jersey-common + test org.onap.aai rest-client - ${aai.rest.client.version} com.google.code.gson gson - ${gson.version} - - org.hamcrest - hamcrest-all - ${hamcrest-all.version} - test - - - org.mockito - mockito-core - ${mockito.version} - test - - - org.powermock - powermock-module-junit4 - ${powermock.version} - test - - - org.powermock - powermock-api-mockito - ${powermock.version} - test - - - org.powermock - powermock-module-junit4-rule-agent - 1.6.2 - test - - - powermock-module-javaagent - org.powermock - - - - - org.javassist - javassist - 3.19.0-GA - - - com.fasterxml.jackson.core - jackson-core - ${fasterxml.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.mikesamuel @@ -224,53 +235,36 @@ org.onap.aai.logging-service common-logging - 1.2.2 ch.qos.logback - logback-core - 1.1.7 + logback-classic - org.openecomp.sdc.sdc-distribution-client - sdc-distribution-client - 1.2.2 + ch.qos.logback + logback-core - org.apache.httpcomponents - httpclient - 4.5 + org.onap.sdc.sdc-distribution-client + sdc-distribution-client + ${sdc-distribution-client.version} org.json json - 20131018 org.eclipse.jetty jetty-security - 9.3.8.RC0 - - - org.springframework - spring-webmvc jline jline 2.12.1 - - org.yaml - snakeyaml - 1.18 - - - org.apache.commons commons-compress - ${commons-compress.version} commons-io @@ -278,13 +272,30 @@ org.apache.commons - commons-lang3 - ${apache.lang3.version} + commons-text + + - 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 @@ -301,230 +312,45 @@ - - - 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} - - - - - - - + + + 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 - - - 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 - true - docker-hub - ${docker.push.registry}/openecomp/${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.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 - - - - - - - - - + check process-sources - --> org.apache.maven.plugins maven-deploy-plugin - - true - - - - org.codehaus.mojo - sonar-maven-plugin - 3.2 - - org.jacoco - jacoco-maven-plugin - ${version.jacoco.maven.plugin} - - - jacoco-initialize-unit-tests - - prepare-agent - - - - report - package - - report - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true + maven-assembly-plugin - ${nexusproxy} - 176c31dfe190a - ecomp-staging + + src/main/assembly/descriptor.xml + + + + make-assembly + package + + single + + + + + + org.jacoco + jacoco-maven-plugin + + + default-check + + check + + + ${jacoco.report.directory}/jacoco-ut.exec + + + + BUNDLE + + + LINE + COVEREDRATIO + ${jacoco.line.coverage.limit} + + + + + + + -