<?xml version="1.0" encoding="UTF-8" ?>
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<modelVersion>4.0.0</modelVersion>
|
<parent>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
<version>2.1.6.RELEASE</version>
|
<relativePath /> <!-- lookup parent from repository -->
|
</parent>
|
<groupId>com.redhat</groupId>
|
<artifactId>movies</artifactId>
|
<version>1.0.0</version>
|
<name>movies</name>
|
<description>Demo project for Spring Boot</description>
|
|
<properties>
|
<java.version>1.8</java.version>
|
</properties>
|
|
<dependencies>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
</dependency>
|
</dependencies>
|
|
<build>
|
<finalName>movies</finalName>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-pmd-plugin</artifactId>
|
<version>3.12.0</version>
|
<configuration>
|
<rulesets>
|
<ruleset>/category/java/bestpractices.xml</ruleset>
|
</rulesets>
|
<failOnViolation>true</failOnViolation>
|
<printFailingErrors>true</printFailingErrors>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
|
</project>
|