2018-09-24 15:01:29 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
2018-12-09 10:42:09 +01:00
|
|
|
<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">
|
2018-09-24 15:01:29 +02:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>pmd-lang-test</artifactId>
|
|
|
|
<name>PMD language module testing utilities</name>
|
|
|
|
<description>
|
|
|
|
Module containing utilities to test language implementations,
|
|
|
|
including parsers and ASTs. This module uses Kotlin.
|
|
|
|
</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
2018-10-29 19:09:52 +01:00
|
|
|
<artifactId>pmd</artifactId>
|
2022-04-30 09:38:24 +02:00
|
|
|
<version>6.46.0-SNAPSHOT</version>
|
2020-10-28 16:53:45 +01:00
|
|
|
<relativePath>../</relativePath>
|
2018-09-24 15:01:29 +02:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<build>
|
2019-04-26 20:41:50 +02:00
|
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
2020-07-31 20:26:27 +02:00
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>${project.basedir}/src/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
<!-- Adding kotlin files to test resources, so that checkstyle verifies the license header -->
|
|
|
|
<testResource>
|
|
|
|
<directory>${project.basedir}/src/main/kotlin</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
2018-09-24 15:01:29 +02:00
|
|
|
<plugins>
|
|
|
|
<!-- The kotlin plugin has to run before the java plugin-->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>kotlin-compile</id>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>process-sources</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-04-26 20:41:50 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<!-- disable this execution, as we are using dokka-maven-plugin here -->
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2020-01-24 23:11:18 +01:00
|
|
|
<groupId>org.jetbrains.dokka</groupId>
|
|
|
|
<artifactId>dokka-maven-plugin</artifactId>
|
|
|
|
<version>${dokka.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
2020-09-17 21:58:00 +02:00
|
|
|
<goal>javadocJar</goal>
|
2020-01-24 23:11:18 +01:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-09-24 15:01:29 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2019-03-10 19:32:20 +01:00
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-core</artifactId>
|
2018-09-24 15:01:29 +02:00
|
|
|
</dependency>
|
|
|
|
|
2020-07-02 14:16:39 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2019-03-10 19:32:20 +01:00
|
|
|
<!--
|
|
|
|
the following dependencies are all scope compile,
|
2020-07-02 14:16:39 +02:00
|
|
|
so that they can be used here in src/main and also
|
2019-03-10 19:32:20 +01:00
|
|
|
so that they are automatically available to users
|
|
|
|
of the pmd-lang-test module
|
|
|
|
-->
|
2020-07-02 14:16:39 +02:00
|
|
|
<dependency>
|
2020-07-20 00:12:40 +02:00
|
|
|
<groupId>io.kotest</groupId>
|
|
|
|
<artifactId>kotest-assertions-core-jvm</artifactId>
|
2020-07-02 14:16:39 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-07-20 00:12:40 +02:00
|
|
|
<!-- Contains stuff like FunSpec, etc -->
|
|
|
|
<groupId>io.kotest</groupId>
|
|
|
|
<artifactId>kotest-runner-junit5-jvm</artifactId>
|
2020-07-02 14:16:39 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2020-05-04 23:00:28 +03:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest</artifactId>
|
2020-05-22 11:36:49 +02:00
|
|
|
<scope>compile</scope>
|
2020-05-04 23:00:28 +03:00
|
|
|
</dependency>
|
2018-09-24 15:01:29 +02:00
|
|
|
<dependency>
|
2019-03-10 19:32:20 +01:00
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>compile</scope>
|
2018-09-24 15:01:29 +02:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
2019-09-14 15:04:38 +02:00
|
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
2018-09-24 15:01:29 +02:00
|
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-test-junit</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2018-12-17 10:42:43 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.oowekyala.treeutils</groupId>
|
|
|
|
<artifactId>tree-matchers</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-07-02 14:16:39 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.oowekyala.treeutils</groupId>
|
|
|
|
<artifactId>tree-printers</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2018-09-24 15:01:29 +02:00
|
|
|
</dependencies>
|
|
|
|
</project>
|