Grzegorz Piwowarek 0c0a3cab16
Adjust config (#3979)
* Adjust config

* Adjust config

* Adjust config

* fix

* fix

* Rename MetricTypeTest

* Rename MetricTypeTest

* Rename MetricTypeTest

* Rename MetricTypeTest

* Install custom pmd jar to local maven repo during maven validate phase, so that it becomes available during project build

* maven install plugin - adding base path

* changed the phase for maven directory plugin to validate to make sure that the base directory variable is available to maven install plugin

* pmd violation flag back to false
2018-04-13 07:08:55 +02:00

44 lines
1.4 KiB
XML

<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>
<groupId>org.baeldung.pmd</groupId>
<artifactId>custom-pmd</artifactId>
<version>0.0.1</version>
<packaging>jar</packaging>
<name>custom-pmd</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
<pmdVersion>6.0.1</pmdVersion>
</properties>
<dependencies>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>${pmdVersion}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>${pmdVersion}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>