aboutsummaryrefslogtreecommitdiffstats
path: root/oparent/pom.xml
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-01-09 20:21:59 -0500
committerPamela Dragosh <pdragosh@research.att.com>2020-01-09 20:22:05 -0500
commit81f6ddbadbfb35ade23aa69570551e1d7758f13f (patch)
treea9a7e50ad953ee39795fe14919da7e7c895b429c /oparent/pom.xml
parentb080421073ed777fa4246a7a9d419bbc748741f2 (diff)
Update sonar configuration
Sonarcloud upgrade exposed missing configuration variable. Also removed deprecated properties Used properties for versions of plugins Upgraded all the plugins to the latest Issue-ID: INT-1411 Change-Id: I75cb459f387a32230920987913d174dbc751e9f2 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'oparent/pom.xml')
-rw-r--r--oparent/pom.xml11
1 files changed, 5 insertions, 6 deletions
diff --git a/oparent/pom.xml b/oparent/pom.xml
index 7e5f274..af6c025 100644
--- a/oparent/pom.xml
+++ b/oparent/pom.xml
@@ -34,12 +34,11 @@
<url>https://wiki.onap.org/display/DW/Integration+Project</url>
</scm>
<properties>
- <jacoco.version>0.8.2</jacoco.version>
+ <jacoco.version>0.8.5</jacoco.version>
<sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
<sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
<!-- Default Sonar configuration -->
- <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
- <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
+ <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
<sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
<!-- If following file exist, auto-generation of swagger.json will be done -->
@@ -378,7 +377,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.22.0</version>
+ <version>3.0.0-M4</version>
<configuration>
<!-- Sets the VM argument line used when unit tests are run. -->
<argLine>${surefireArgLine}</argLine>
@@ -391,7 +390,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
- <version>2.22.0</version>
+ <version>3.0.0-M4</version>
<executions>
<!--
Ensures that both integration-test and verify goals of the Failsafe Maven
@@ -414,7 +413,7 @@
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
- <version>3.2</version>
+ <version>${sonar.scanner.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>