<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.onap.dcaegen2</groupId>
- <artifactId>tca-gen2</artifactId>
+ <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
+ <artifactId>tca-gen2-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
</parent>
- <groupId>org.onap.dcaegen2.analytics</groupId>
<artifactId>dcae-analytics</artifactId>
<version>3.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<!-- 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>
<lombok.plugin.version>1.16.18.1</lombok.plugin.version>
<gitcommitid.plugin.version>2.2.3</gitcommitid.plugin.version>
<maven.build.helper.plugin.version>3.0.0</maven.build.helper.plugin.version>
- <dockerfile-maven-version>1.4.3</dockerfile-maven-version>
+ <!--<dockerfile-maven-version>1.4.3</dockerfile-maven-version>-->
+ <docker-maven-version>1.0.0</docker-maven-version>
<!--PLUGIN SETTINGS -->
<compiler.source.version>1.8</compiler.source.version>
<skip.integration.tests>false</skip.integration.tests>
<pmd.violation.buildfail>true</pmd.violation.buildfail>
<findbugs.failOnError>true</findbugs.failOnError>
- <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
+ <checkstyle.failOnViolation>false</checkstyle.failOnViolation>
<checkstyle.file.name>checkstyle.xml</checkstyle.file.name>
<checkstyle.suppression.file.name>checkstyle-suppressions.xml</checkstyle.suppression.file.name>
<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 PACKAGES - MODELS ONLY CONTAINS POJOs AND NO BUSINESS LOGIC,
+ CONFIG PACKAGE - CONTAINS WIRINGS OF SPRING BEANS,
+ EXCEPTIONS PACKAGE - CONTAINS CUSTOM EXCEPTIONS - NO BUSINESS LOGIC,
+ PREFERENCES CLASSES - JUST POJOS
+ CONTEXTS CLASSES - JUST POJOS
+ ENTITY CLASSES - JUST POJOS
+ -->
+ <sonar.coverage.exclusions>**/test/**,**/model/**,**/config/**,**/exception/**,**/*Preferences.java,**/*Context*.java,**/*Entity.java</sonar.coverage.exclusions>
+
</properties>
<!-- PROJECT DEPENDENCIES -->
<dependency>
- <groupId>org.onap.dcaegen2.analytics</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>dcae-analytics-test</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.onap.dcaegen2.analytics</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>dcae-analytics-model</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.onap.dcaegen2.analytics</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>dcae-analytics-web</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.onap.dcaegen2.analytics</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>dcae-analytics-tca-model</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.onap.dcaegen2.analytics</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>dcae-analytics-tca-core</artifactId>
<version>${project.version}</version>
</dependency>
<!-- EELF LOGGER -->
<dependency>
- <groupId>org.onap.dcaegen2.utils</groupId>
+ <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
<artifactId>eelf-logger-logback-impl</artifactId>
<version>${eelf.logger.version}</version>
</dependency>
</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>
</plugin>
<!-- DOCKER PLUGIN -->
+ <!--
<plugin>
<groupId>com.spotify</groupId>
- <artifactId>dockerfile-maven-plugin</artifactId>
- <version>${dockerfile-maven-version}</version>
+ <artifactId>docker-maven-plugin</artifactId>
+ <version>${docker-maven-version}</version>
<configuration>
- <repository>${docker.repository}/${project.artifactId}</repository>
+ <repository>${docker.repository}/onap/${project.groupId}.${project.artifactId}</repository>
<tag>${project.version}</tag>
</configuration>
</plugin>
+ -->
</plugins>