2014-09-30 19:51:42 +02:00
|
|
|
<?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>
|
|
|
|
<artifactId>pmd-java</artifactId>
|
|
|
|
<name>PMD Java</name>
|
|
|
|
|
|
|
|
<parent>
|
2014-10-02 19:09:58 +02:00
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
2014-10-08 22:52:25 +02:00
|
|
|
<artifactId>pmd</artifactId>
|
2018-06-17 11:08:05 +02:00
|
|
|
<version>7.0.0-SNAPSHOT</version>
|
2020-06-07 12:36:58 +02:00
|
|
|
<relativePath>../</relativePath>
|
2014-09-30 19:51:42 +02:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>${basedir}/src/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<directory>${basedir}/src/test/java</directory>
|
|
|
|
<includes>
|
2018-12-01 11:07:35 +01:00
|
|
|
<include>**/testdata/**/*.java</include>
|
2014-09-30 19:51:42 +02:00
|
|
|
</includes>
|
|
|
|
</testResource>
|
2018-11-10 17:40:36 +01:00
|
|
|
<testResource>
|
|
|
|
<directory>${basedir}/src/test/kotlin</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/testdata/**/*.java</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
2014-09-30 19:51:42 +02:00
|
|
|
</testResources>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
|
|
|
<delimiters>
|
|
|
|
<delimiter>${*}</delimiter>
|
|
|
|
</delimiters>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2018-08-21 18:47:21 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
</plugin>
|
|
|
|
|
2014-09-30 19:51:42 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-sources</id>
|
|
|
|
<phase>generate-sources</phase>
|
2020-01-10 23:23:39 +01:00
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
2014-09-30 19:51:42 +02:00
|
|
|
<configuration>
|
|
|
|
<target>
|
2020-01-10 23:23:39 +01:00
|
|
|
<ant antfile="${javacc.ant.wrapper}" target="alljavacc-visitor+">
|
2020-01-02 17:41:27 +01:00
|
|
|
<property name="javacc.jar" value="${javacc.jar}" />
|
2020-01-10 23:23:39 +01:00
|
|
|
<property name="lang-name" value="Java" />
|
|
|
|
<property name="lang-terse-name" value="java" />
|
2014-09-30 19:51:42 +02:00
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-javacc-generated-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${project.build.directory}/generated-sources/javacc</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2020-01-11 20:33:58 +01:00
|
|
|
<execution>
|
|
|
|
<id>add-kotlin-test-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>add-test-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${project.basedir}/src/test/kotlin</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2014-09-30 19:51:42 +02:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2016-12-02 12:42:06 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<suppressionsLocation>pmd-java-checkstyle-suppressions.xml</suppressionsLocation>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-05-06 21:04:23 +02:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/lang/java/rule/*/*.java</exclude>
|
|
|
|
<exclude>**/net/sourceforge/pmd/coverage/PMDCoverageTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-09-30 19:51:42 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2014-10-12 09:39:43 +02:00
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-core</artifactId>
|
2014-09-30 19:51:42 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.saxon</groupId>
|
|
|
|
<artifactId>saxon</artifactId>
|
2014-10-12 09:39:43 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ow2.asm</groupId>
|
|
|
|
<artifactId>asm</artifactId>
|
2014-09-30 19:51:42 +02:00
|
|
|
</dependency>
|
2017-09-23 22:27:34 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
</dependency>
|
2014-10-12 09:39:43 +02:00
|
|
|
|
2018-09-24 15:01:29 +02:00
|
|
|
<!-- TEST DEPENDENCIES -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-lang-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-09-30 19:51:42 +02:00
|
|
|
<dependency>
|
2014-10-11 13:26:10 +02:00
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-test</artifactId>
|
2014-09-30 19:51:42 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-05-04 23:00:28 +03:00
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest</artifactId>
|
2014-09-30 19:51:42 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-01-24 23:11:18 +01:00
|
|
|
<dependency>
|
2017-09-23 22:27:34 +02:00
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2020-01-24 23:11:18 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-03-10 19:32:20 +01:00
|
|
|
|
2020-01-24 23:11:18 +01:00
|
|
|
<dependency>
|
2017-01-21 11:10:07 +01:00
|
|
|
<groupId>com.github.stefanbirkner</groupId>
|
|
|
|
<artifactId>system-rules</artifactId>
|
2020-01-24 23:11:18 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-05-04 23:00:28 +03:00
|
|
|
<dependency>
|
2017-09-23 22:27:34 +02:00
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant-testutil</artifactId>
|
2020-05-04 23:00:28 +03:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
|
2017-09-23 22:27:34 +02:00
|
|
|
<dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
<groupId>com.github.oowekyala.treeutils</groupId>
|
|
|
|
<artifactId>tree-matchers</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.oowekyala.treeutils</groupId>
|
|
|
|
<artifactId>tree-printers</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.kotlintest</groupId>
|
|
|
|
<artifactId>kotlintest-assertions</artifactId>
|
2017-09-23 22:27:34 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-03-10 19:32:20 +01:00
|
|
|
<dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
<groupId>io.kotlintest</groupId>
|
|
|
|
<artifactId>kotlintest-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
2019-03-10 19:32:20 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2020-07-02 15:12:31 +02:00
|
|
|
<!-- the following dependencies are there to support typeresolution in test cases -->
|
2017-01-21 11:10:07 +01:00
|
|
|
<dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2017-01-21 11:10:07 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-09-23 22:27:34 +02:00
|
|
|
<dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
<version>2.13.3</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
<version>2.13.3</version>
|
2017-09-23 22:27:34 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-11-12 10:47:18 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
2020-05-11 15:25:07 +03:00
|
|
|
<version>3.11.0</version>
|
2018-11-12 10:47:18 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-09-30 19:51:42 +02:00
|
|
|
</dependencies>
|
|
|
|
</project>
|