diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 43 |
1 files changed, 37 insertions, 6 deletions
@@ -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> |