diff options
Diffstat (limited to 'cps-parent')
-rw-r--r-- | cps-parent/pom.xml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index 5aa65a25d8..b7b64af3b6 100644 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -19,12 +19,12 @@ <app>org.onap.cps.Application</app> <base.image>openjdk:11-jre-slim</base.image> <java.version>11</java.version> - <jacoco-maven-plugin.version>0.8.6</jacoco-maven-plugin.version> <jib-maven-plugin.version>2.6.0</jib-maven-plugin.version> - <minimum-coverage>0.15</minimum-coverage> + <minimum-coverage>0.20</minimum-coverage> <nexusproxy>https://nexus.onap.org</nexusproxy> <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> <oparent.version>3.1.0</oparent.version> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> <repository.name>nexus3.onap.org:10001/onap/cps-service</repository.name> <spring-boot-maven-plugin.version>2.3.3.RELEASE</spring-boot-maven-plugin.version> @@ -305,20 +305,21 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <version>3.0.0-M5</version> <configuration> - <argLine>@{argLine}</argLine> + <argLine>${surefireArgLine}</argLine> <useFile>false</useFile> <includes> <include>**/*Spec.java</include> <include>**/*Test.java</include> <!-- Just in case of having also "normal" JUnit tests --> </includes> + <excludes> + <exclude>**/IT*.java</exclude> + </excludes> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> - <version>${jacoco-maven-plugin.version}</version> <executions> <execution> <id>default-prepare-agent</id> @@ -332,6 +333,7 @@ <goal>check</goal> </goals> <configuration> + <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> <rules> <rule> <element>BUNDLE</element> |