4.0.0 org.onap.ccsdk.apps.ms.vlantagapi vlantag-api 0.4.1-SNAPSHOT jar Vlantag API Vlantag Api Service for Vlantag management of VNFs ${basedir}/target/main/resources/META-INF/resources/swagger-ui/dist 1.5.8 1.8 2.0.4.RELEASE 2.1.1 TBD:5100 vlantagapi jacoco reuseReports ${basedir}/target/surefire-reports ${basedir}/target/failsafe-reports ${basedir}/target/jacoco_report ${basedir}/target/jacoco_itReport ${basedir}/target/jacoco-ut.exec ${basedir}/target/jacoco-it.exec java 2.0.7 ${https_proxy} deploy true ${project.version} org.onap.ccsdk.parent spring-boot-starter-parent 1.2.1-SNAPSHOT org.springframework.boot spring-boot-starter-jersey org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-test test org.springframework.boot spring-boot-starter-actuator org.springframework.boot spring-boot-starter-security 2.0.1.RELEASE org.onap.ccsdk.sli.core sli-common ${ccsdk.sli.core.version} provided org.onap.ccsdk.sli.adaptors resource-assignment-provider ${ccsdk.sli.adaptors.version} org.slf4j slf4j-simple org.mariadb.jdbc mariadb-java-client ${mariadb.connector.version} io.swagger swagger-annotations 1.5.8 org.codehaus.groovy.maven gmaven-plugin 1.0 validate execute println project.properties['ccsdk.project.version']; def versionArray; if (project.properties['ccsdk.project.version'] != null ) { versionArray = project.properties['ccsdk.project.version'].split('\\.'); } if (project.properties['ccsdk.project.version'].endsWith("-SNAPSHOT")) { project.properties['project.docker.latesttag.version']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest"; } else { project.properties['project.docker.latesttag.version']=versionArray[0]+'.' + versionArray[1]+"-STAGING-latest"; } println 'New Tag for docker:' + project.properties['project.docker.latesttag.version']; org.apache.maven.plugins maven-surefire-plugin ${surefireArgLine} ${skip.unit.tests} **/IT*.java org.jacoco jacoco-maven-plugin 0.7.5.201505241946 pre-unit-test prepare-agent ${sonar.jacoco.reportPath} surefireArgLine post-unit-test test report ${sonar.jacoco.reportPath} ${jacoco.path} com.github.kongchen swagger-maven-plugin 3.1.7 http https localhost:9091 org.onap.ccsdk.apps.ms.vlantagapi.core.service org.onap.ccsdk.apps.ms.vlantagapi.core.model /vlantagapi ${project.artifactId} Service ${project.version} basicAuth basic ${swagger.directory} package generate com.spotify docker-maven-plugin 0.4.11 ${docker.registry}/org.onap.ccsdk.apps/${serviceArtifactName} src/main/docker docker-hub https://${docker.registry} ${project.version} latest true / ${project.build.directory} ${project.build.finalName}.jar org.springframework.boot spring-boot-maven-plugin ${springboot.version} repackage docker com.spotify docker-maven-plugin 0.4.11 ${docker.registry}/org.onap.ccsdk.apps/${serviceArtifactName} src/main/docker docker-hub https://${docker.registry} ${project.version} ${project.version}-STAGING-${maven.build.timestamp} ${project.docker.latesttag.version} true / ${project.build.directory} ${project.build.finalName}.jar