aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authormichal.banka <michal.banka@nokia.com>2019-07-11 15:00:30 +0200
committermichal.banka <michal.banka@nokia.com>2019-07-12 14:41:30 +0200
commit6e5862fe42af10c854425e5405133a448d00ec9e (patch)
treea1a6ac37907e8cecd8b6ef42b98beefeea4e3766 /pom.xml
parent95cb37d58586fc2629286d1f0c19dc12caa3cc5b (diff)
Set Oparent as parent and fix Checkstyle errors in sdc/dcae-d/dt
Additionally fixed all checkstyle warnings. Change-Id: I99c2ddd024976bff2f9544d6b4f183427fea3273 Issue-ID: SDC-2440 Signed-off-by: michal.banka <michal.banka@nokia.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml43
1 files changed, 37 insertions, 6 deletions
diff --git a/pom.xml b/pom.xml
index d0a1cdf..5cd43a0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,12 +9,12 @@
<name>dcae-dt</name>
<url>DCAE FE</url>
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>1.5.9.RELEASE</version>
- <relativePath /> <!-- lookup parent from repository -->
- </parent>
+ <parent>
+ <groupId>org.onap.oparent</groupId>
+ <artifactId>oparent</artifactId>
+ <version>2.0.0</version>
+ <relativePath/>
+ </parent>
<properties>
<maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
@@ -24,9 +24,24 @@
<nexus.proxy>https://nexus.onap.org</nexus.proxy>
<staging.profile.id>176c31dfe190a</staging.profile.id>
<sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
+ <springboot.version>1.5.9.RELEASE</springboot.version>
+ <jetty.version>9.4.10.v20180503</jetty.version>
<sonar.branch>${project.version}</sonar.branch>
<sonar.coverage.exclusions>**</sonar.coverage.exclusions>
</properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-parent</artifactId>
+ <version>${springboot.version}</version>
+ <scope>import</scope>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.eclipse.jetty</groupId>
@@ -219,6 +234,14 @@
<build>
<plugins>
<plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.17</version>
+ <configuration>
+ <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
+ <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.8</version>
@@ -305,6 +328,14 @@
<!-- CLEAN -->
<plugins>
<plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.17</version>
+ <configuration>
+ <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
+ <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
+ </configuration>
+ </plugin>
+ <plugin>
<artifactId>maven-clean-plugin</artifactId>
<executions>
<execution>