summaryrefslogtreecommitdiffstats
path: root/dcae-analytics/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-analytics/pom.xml')
-rw-r--r--dcae-analytics/pom.xml73
1 files changed, 10 insertions, 63 deletions
diff --git a/dcae-analytics/pom.xml b/dcae-analytics/pom.xml
index 3a20709..63a7755 100644
--- a/dcae-analytics/pom.xml
+++ b/dcae-analytics/pom.xml
@@ -56,7 +56,7 @@
<!-- DEPENDENCIES VERSION -->
<eelf.logger.version>3.0.0-SNAPSHOT</eelf.logger.version>
- <spring.boot.version>2.0.1.RELEASE</spring.boot.version>
+ <spring.boot.version>2.0.5.RELEASE</spring.boot.version>
<spring.cloud.version>Finchley.RC2</spring.cloud.version>
<commons.text.version>1.4</commons.text.version>
<springfox-swagger2.version>2.9.2</springfox-swagger2.version>
@@ -108,6 +108,15 @@
<releases.path>content/repositories/releases/</releases.path>
<docker.repository>nexus3.onap.org:10003</docker.repository>
+
+ <!-- SONAR EXCLUSIONS -->
+ <!-- EXCLUDE TEST COVERAGE ON
+ TEST PACKAGES - USED FOR TESTING - NOT FOR DEPLOYMENT
+ MODEL PACAKGES - MODELS ONLY CONTAINS POJOs AND NO BUSINESS LOGIC,
+ CONFIG PACKAGE - CONATINS WIRINGS OF SPRING BEANS,
+ -->
+ <sonar.coverage.exclusions>**/test/**,**/model/**,**/config/**</sonar.coverage.exclusions>
+
</properties>
@@ -405,68 +414,6 @@
</plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>${jacoco.plugin.version}</version>
- <configuration>
- <excludes>
- <exclude>**/generated/**</exclude>
- <exclude>**/generated-sources/**</exclude>
- </excludes>
- </configuration>
- <executions>
- <execution>
- <id>pre-unit-test</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <destFile>${project.build.directory}/jacoco/jacoco-ut.exec</destFile>
- <propertyName>surefireArgLine</propertyName>
- </configuration>
- </execution>
- <execution>
- <id>post-unit-test</id>
- <phase>test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <dataFile>${project.build.directory}/jacoco/jacoco-ut.exec</dataFile>
- <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>pre-integration-test</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <destFile>${project.build.directory}/jacoco/jacoco-it.exec</destFile>
- <propertyName>failsafeArgLine</propertyName>
- </configuration>
- </execution>
- <execution>
- <id>post-integration-test</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <dataFile>${project.build.directory}/jacoco/jacoco-it.exec</dataFile>
- <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
- </configuration>
- </execution>
- </executions>
-
- </plugin>
-
<!-- FIND BUGS (STATIC CODE ANALYSIS) PLUGIN -->
<plugin>
<groupId>org.codehaus.mojo</groupId>