<!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->\r
<skipassembly>true</skipassembly>\r
<!-- Tests usually require some setup that maven cannot do, so skip. -->\r
- <skiptests>true</skiptests>\r
+ <skiptests>false</skiptests>\r
<nexusproxy>https://nexus.onap.org</nexusproxy>\r
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
<releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
<stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
<sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>\r
- \r
+\r
<!-- SONAR -->\r
- <sonar.language>java</sonar.language>\r
- <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>\r
- <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>\r
- <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>\r
- <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>\r
- <sonar.projectVersion>${project.version}</sonar.projectVersion>\r
+ <sonar.language>java</sonar.language>\r
+ <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>\r
+ <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>\r
+ <sonar.projectVersion>${project.version}</sonar.projectVersion>\r
</properties>\r
\r
<repositories>\r
</dependency>\r
</dependencies>\r
</plugin>\r
- \r
+\r
<plugin>\r
- <artifactId>maven-surefire-plugin</artifactId>\r
- <version>2.17</version>\r
- </plugin>\r
+ <artifactId>maven-surefire-plugin</artifactId>\r
+ <version>2.17</version>\r
+ </plugin>\r
<plugin>\r
- <groupId>org.sonarsource.scanner.maven</groupId>\r
- <artifactId>sonar-maven-plugin</artifactId>\r
- <version>3.2</version>\r
- </plugin>\r
+ <groupId>org.sonarsource.scanner.maven</groupId>\r
+ <artifactId>sonar-maven-plugin</artifactId>\r
+ <version>3.2</version>\r
+ </plugin>\r
<plugin>\r
<groupId>org.jacoco</groupId>\r
<artifactId>jacoco-maven-plugin</artifactId>\r
- <version>0.7.7.201606060606</version>\r
- <configuration>\r
- <dumpOnExit>true</dumpOnExit>\r
- </configuration>\r
+ <version>0.7.9</version>\r
<executions>\r
<execution>\r
- <id>jacoco-initialize-unit-tests</id>\r
+ <id>default-prepare-agent</id>\r
<goals>\r
<goal>prepare-agent</goal>\r
</goals>\r
- <configuration>\r
- <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
- </configuration>\r
</execution>\r
- <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->\r
- <execution>\r
- <id>post-unit-test</id>\r
- <phase>test</phase>\r
- <goals>\r
- <goal>report</goal>\r
- </goals>\r
- <configuration>\r
- <!-- Sets the path to the file which contains the execution data. -->\r
- <dataFile>${sonar.jacoco.reportPath}</dataFile>\r
- <!-- Sets the output directory for the code coverage report. -->\r
- <outputDirectory>${project.build.directory}/jacoco_report</outputDirectory>\r
- </configuration>\r
- </execution>\r
+ <execution>\r
+ <id>default-report</id>\r
+ <goals>\r
+ <goal>report</goal>\r
+ </goals>\r
+ </execution>\r
</executions>\r
</plugin>\r
+\r
</plugins>\r
</build>\r
\r