X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=pom.xml;h=2337c67c1b9a6a4e76a609d0cd95642e6a84f73f;hb=refs%2Fheads%2Fmaster;hp=665397bc1a21e4b8061d97cbd1e989f8b7f1a611;hpb=4bc46182a3272404750943cb389272c257ee0670;p=aai%2Fbabel.git diff --git a/pom.xml b/pom.xml index 665397b..61c4d0a 100644 --- a/pom.xml +++ b/pom.xml @@ -19,22 +19,21 @@ 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.onap.oparent - oparent - 2.1.0 - + org.onap.aai.aai-common + aai-parent + 1.13.3 org.onap.aai babel - 1.7.0-SNAPSHOT + 1.13.1-SNAPSHOT jar aai-babel @@ -42,68 +41,81 @@ - 2.1.12.RELEASE UTF-8 UTF-8 - 1.8 + onap/aai_schema ${project.build.directory}/aai-schema - + + ${project.build.directory}/code-coverage 0.90 - 0.8.5 - 3.2 + + + + + 0.8.6 + 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 + 3.7.0.1746 + + 0.28.0 1.0.0 ${project.build.directory}/${project.artifactId}-${project.version}-build/ - + onap alpine - 1.6.0 + 1.9.0 - 1.2.2 - 1.5.1 - 1.18 - 2.1 - 0.13.2 + 1.6.5 + + 1.9.4 + 1.2.11 + 3.0.13 + 2020.0.2 + + 1.22 + 1.15 + + 2.1.1 + 0.15.1 org.onap.aai.schema-service - 1.6.6 - 1.2.1 - 1.3.0 + + 1.12.4 + 3.12.0 + 1.6.4 + + 1.4.5 + 1.6 - 1.2.3 - 1.8 - + + 3.1.0 + 1.2.2 + yyyyMMdd'T'HHmmss'Z' - - - - - - org.springframework.boot - spring-boot-dependencies - ${spring.boot.version} - pom - import - - - + - + docker @@ -111,7 +123,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.0.0 + 3.3.0 pre-clean @@ -123,31 +135,33 @@ - org.codehaus.groovy.maven - gmaven-plugin - 1.0 + org.codehaus.gmavenplus + gmavenplus-plugin + 1.13.1 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 @@ -158,14 +172,14 @@ 1.23 - ${docker.push.registry}/${aai.docker.namespace}/${project.artifactId}:%l - + ${docker.push.registry}/${aai.docker.namespace}/${project.artifactId}:%l @ latest ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-${maven.build.timestamp} + ${image.tag} try ${project.basedir}/src/main/docker @@ -214,89 +228,180 @@ - - - org.springframework.boot - spring-boot-starter-jetty - - - org.springframework.boot - spring-boot-starter-jersey - - - org.springframework.boot - spring-boot-starter-tomcat - - - - - org.onap.aai.logging-service - common-logging - ${common.logging.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - - ch.qos.logback - logback-core - ${logback.version} - - - commons-codec - commons-codec - + + + + org.springframework.boot + spring-boot-starter-jetty + + + org.springframework.boot + spring-boot-starter-jersey + + + org.springframework.boot + spring-boot-starter-jetty + + + org.springframework.boot + spring-boot-starter-tomcat + + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-jetty + + + org.springframework.boot + spring-boot-starter-tomcat + + + + + org.springframework.boot + spring-boot-starter-aop + + + org.springframework.boot + spring-boot-starter-tomcat + + + + + org.onap.aai.logging-service + common-logging + + + ch.qos.logback + logback-classic + + + ch.qos.logback + logback-core + ${logback.core.version} + + + commons-codec + commons-codec + ${commons.codec.version} + + + org.apache.commons + commons-compress + ${commons.compress.version} + + + org.apache.commons + commons-lang3 + ${commons.lang3.version} + + + javax.ws.rs + javax.ws.rs-api + ${javax.ws.rs.version} + + + org.codehaus.groovy + groovy + ${groovy.version} + + + org.onap.sdc.sdc-tosca + sdc-tosca + ${sdc.tosca.version} + + + org.onap.aai + rest-client + + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.onap.sdc.sdc-distribution-client + sdc-distribution-client + ${sdc.distribution.client.version} + test + + + org.hamcrest + hamcrest + 2.2 + test + + + org.junit.jupiter + junit-jupiter + 5.10.2 + test + + + org.junit.jupiter + junit-jupiter-api + test + + - org.apache.commons - commons-compress - ${commons.compress.version} + org.xmlunit + xmlunit-legacy + test - org.apache.commons - commons-lang3 + javax.xml.bind + jaxb-api - javax.ws.rs - javax.ws.rs-api - ${javax.ws.rs.version} + javax.xml.ws + jaxws-api - org.codehaus.groovy - groovy + com.sun.xml.bind + jaxb-core - org.onap.sdc.sdc-tosca - sdc-tosca - ${sdc.tosca.version} + com.sun.xml.bind + jaxb-impl - org.onap.aai - rest-client - ${aai.rest.client.version} + jakarta.activation + jakarta.activation-api + ${jakarta.activation.version} - - - org.springframework.boot - spring-boot-starter-test - test + org.springframework.cloud + spring-cloud-starter-sleuth - org.onap.sdc.sdc-distribution-client - sdc-distribution-client - ${sdc.distribution.client.version} - test + org.springframework.cloud + spring-cloud-sleuth-zipkin - xmlunit - xmlunit - ${xmlunit.version} - test + org.projectlombok + lombok + 1.18.32 + provided - + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + @@ -410,7 +515,8 @@ org.codehaus.mojo 1.5.0 - + + Get latest xsd version generate-sources @@ -466,14 +572,14 @@ org.apache.maven.plugins - maven-surefire-plugin + maven-compiler-plugin + ${maven-compiler-plugin.version} + true - false - 1 - - . - src/test/resources - + ${maven-compiler-plugin.source} + ${maven-compiler-plugin.target} + ${maven-compiler-plugin.test.source} + ${maven-compiler-plugin.test.target} @@ -504,152 +610,157 @@ - + - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - - - **/gen/** - **/generated-sources/** - **/yang-gen/** - **/pax/** - org/onap/aai/babel/xml/generator/xsd/* - - - - - - 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.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + + + + **/gen/** + **/generated-sources/** + **/yang-gen/** + **/pax/** + org/onap/aai/babel/xml/generator/xsd/* + + + + + + 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-surefire-plugin - 3.0.0-M4 - - - ${surefireArgLine} - - - **/IT*.java - - + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M4 + + + false + 1 + + . + src/test/resources + + ${surefireArgLine} + + + **/IT*.java + + - org.apache.maven.plugins - maven-failsafe-plugin - 3.0.0-M4 - - - - integration-tests - - integration-test - verify - - - - ${failsafeArgLine} - - - + org.apache.maven.plugins + maven-failsafe-plugin + 3.0.0-M5 + + + + integration-tests + + integration-test + verify + + + + ${failsafeArgLine} + + + - org.sonarsource.scanner.maven - sonar-maven-plugin - ${sonar.scanner.version} + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonar.scanner.version} - + - + \ No newline at end of file