pmd-lang-test: clarify dependencies

This commit is contained in:
Andreas Dangel
2020-07-02 14:16:39 +02:00
parent c7ccb8a087
commit 80d9e18011
2 changed files with 48 additions and 1 deletions

View File

@ -89,11 +89,39 @@
<artifactId>pmd-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<!--
the following dependencies are all scope compile,
so that they can be used here in src/main and also
so that they are automatically available to users
of the pmd-lang-test module
-->
<dependency>
<groupId>io.kotlintest</groupId>
<artifactId>kotlintest-assertions</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>13.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
@ -141,12 +169,18 @@
<version>2.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.github.oowekyala.treeutils</groupId>
<artifactId>tree-printers</artifactId>
<version>2.1.0</version>
<scope>compile</scope>
</dependency>
<!-- Use pmd-java for tests -->
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>6.12.0</version>
<version>6.25.0</version>
<scope>test</scope>
</dependency>
</dependencies>

13
pom.xml
View File

@ -812,12 +812,25 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test</artifactId>
<version>${kotlin.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.kotlintest</groupId>
<artifactId>kotlintest-runner-junit5</artifactId>
<version>3.1.8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.kotlintest</groupId>
<artifactId>kotlintest-assertions</artifactId>
<version>3.1.8</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>