<parent>
<artifactId>spring-boot-starter-parent</artifactId>
<groupId>org.springframework.boot</groupId>
- <version>1.5.18.RELEASE</version>
+ <version>1.5.19.RELEASE</version>
</parent>
<groupId>org.onap.aai.search-data-service</groupId>
<artifactId>search-data-service-app</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.4.3-SNAPSHOT</version>
<name>AAI Search Data Service Application</name>
<properties>
<docker.location>${basedir}/target</docker.location>
+ <docker.image.name.suffix>search-data-service</docker.image.name.suffix>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<java.version>1.8</java.version>
<generatedSourceDir>${basedir}/src/main/java-gen</generatedSourceDir>
</sonar.jacoco.reportPath>
<sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
+ <jacoco.line.coverage.limit>0.58</jacoco.line.coverage.limit>
</properties>
<dependencies>
<configuration>
<verbose>true</verbose>
<serverId>docker-hub</serverId>
- <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
+ <imageName>${docker.push.registry}/onap/${docker.image.name.suffix}</imageName>
<dockerDirectory>${docker.location}</dockerDirectory>
<imageTags>
<imageTag>latest</imageTag>
</execution>
</executions>
</plugin>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
+ <version>2.8.2</version>
+ <executions>
+ <execution>
+ <id>default-deploy</id>
+ <phase>none</phase>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<!-- <append>true</append> -->
</configuration>
</execution>
+ <execution>
+ <id>default-check</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <configuration>
+ <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
+ <rules>
+ <!-- implementation is needed only for Maven 2 -->
+ <rule implementation="org.jacoco.maven.RuleConfiguration">
+ <element>BUNDLE</element>
+ <limits>
+ <limit implementation="org.jacoco.report.check.Limit">
+ <counter>LINE</counter>
+ <value>COVEREDRATIO</value>
+ <minimum>${jacoco.line.coverage.limit}</minimum>
+ </limit>
+ </limits>
+ </rule>
+ </rules>
+ </configuration>
+ </execution>
</executions>
</plugin>