2013-01-13 19:17:44 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2014-10-17 20:15:45 +02: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">
|
2013-01-13 19:17:44 +01:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<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>
|
2013-01-13 19:17:44 +01:00
|
|
|
<packaging>pom</packaging>
|
2014-10-02 19:09:58 +02:00
|
|
|
<name>PMD</name>
|
|
|
|
|
|
|
|
<description>
|
2020-01-24 23:11:18 +01:00
|
|
|
PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks,
|
|
|
|
unnecessary object creation, and so forth. It supports Java, JavaScript, Salesforce.com Apex and Visualforce,
|
|
|
|
Modelica, PLSQL, Apache Velocity, XML, XSL, Scala.
|
2017-01-27 18:19:27 -03:00
|
|
|
|
2020-01-24 23:11:18 +01:00
|
|
|
Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code in
|
|
|
|
C/C++, C#, Dart, Fortran, Go, Groovy, Java, JavaScript, JSP, Kotlin, Lua, Matlab, Modelica,
|
|
|
|
Objective-C, Perl, PHP, PLSQL, Python, Ruby, Salesforce.com Apex, Scala, Swift and Visualforce.
|
2017-01-27 18:19:27 -03:00
|
|
|
</description>
|
2013-01-13 19:17:44 +01:00
|
|
|
|
2017-01-27 20:33:18 +01:00
|
|
|
<url>https://pmd.github.io/</url>
|
2014-10-02 19:09:58 +02:00
|
|
|
<ciManagement>
|
2020-11-14 12:45:52 +01:00
|
|
|
<url>https://github.com/pmd/pmd/actions</url>
|
2014-10-02 19:09:58 +02:00
|
|
|
</ciManagement>
|
|
|
|
<inceptionYear>2002</inceptionYear>
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>BSD-style</name>
|
|
|
|
<url>http://pmd.sourceforge.net/license.html</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
<mailingLists>
|
|
|
|
<mailingList>
|
|
|
|
<name>PMD development</name>
|
2017-01-27 20:33:18 +01:00
|
|
|
<subscribe>https://lists.sourceforge.net/lists/listinfo/pmd-devel</subscribe>
|
|
|
|
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/pmd-devel</unsubscribe>
|
|
|
|
<archive>https://sourceforge.net/p/pmd/mailman/pmd-devel</archive>
|
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>PMD commits</name>
|
|
|
|
<subscribe>https://lists.sourceforge.net/lists/listinfo/pmd-commits</subscribe>
|
|
|
|
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/pmd-commits</unsubscribe>
|
|
|
|
<archive>https://sourceforge.net/p/pmd/mailman/pmd-commits</archive>
|
2014-10-02 19:09:58 +02:00
|
|
|
</mailingList>
|
|
|
|
</mailingLists>
|
|
|
|
<developers>
|
|
|
|
<developer>
|
2019-07-29 19:50:26 +02:00
|
|
|
<id>github</id>
|
|
|
|
<name>github contributors</name>
|
|
|
|
<organization>github</organization>
|
|
|
|
<organizationUrl>https://github.com/pmd/pmd/graphs/contributors</organizationUrl>
|
2017-01-27 20:32:11 +01:00
|
|
|
</developer>
|
2014-10-02 19:09:58 +02:00
|
|
|
</developers>
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git:git://github.com/pmd/pmd.git</connection>
|
|
|
|
<developerConnection>scm:git:ssh://git@github.com/pmd/pmd.git</developerConnection>
|
|
|
|
<url>https://github.com/pmd/pmd</url>
|
2018-05-29 13:58:54 -03:00
|
|
|
<tag>HEAD</tag>
|
2014-10-02 19:09:58 +02:00
|
|
|
</scm>
|
2014-10-03 21:00:28 +02:00
|
|
|
<distributionManagement>
|
2017-02-24 20:00:01 +01:00
|
|
|
<snapshotRepository>
|
|
|
|
<id>ossrh</id>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
<repository>
|
|
|
|
<id>ossrh</id>
|
|
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
|
|
</repository>
|
2014-10-03 21:00:28 +02:00
|
|
|
</distributionManagement>
|
2014-10-02 19:09:58 +02:00
|
|
|
<organization>
|
2017-01-27 20:33:18 +01:00
|
|
|
<name>PMD</name>
|
|
|
|
<url>https://pmd.github.io/</url>
|
2014-10-02 19:09:58 +02:00
|
|
|
</organization>
|
2017-01-27 20:33:18 +01:00
|
|
|
<issueManagement>
|
|
|
|
<url>https://github.com/pmd/pmd/issues</url>
|
|
|
|
</issueManagement>
|
2014-10-02 19:09:58 +02:00
|
|
|
|
|
|
|
<properties>
|
2022-03-27 17:01:59 +02:00
|
|
|
<project.build.outputTimestamp>2022-03-27T15:01:59Z</project.build.outputTimestamp>
|
2020-04-25 10:37:54 +02:00
|
|
|
|
2018-10-28 20:00:29 +01:00
|
|
|
<java.version>8</java.version>
|
2018-01-12 22:39:18 +01:00
|
|
|
|
2018-08-21 18:47:21 +02:00
|
|
|
<maven.compiler.test.source>1.8</maven.compiler.test.source>
|
|
|
|
<maven.compiler.test.target>1.8</maven.compiler.test.target>
|
|
|
|
|
|
|
|
|
|
|
|
<kotlin.compiler.jvmTarget>${maven.compiler.test.target}</kotlin.compiler.jvmTarget>
|
2020-09-17 21:58:00 +02:00
|
|
|
<kotlin.version>1.4.10</kotlin.version>
|
2020-11-06 11:15:16 +01:00
|
|
|
<kotest.version>4.3.1</kotest.version>
|
2022-02-03 20:01:10 +01:00
|
|
|
<dokka.version>1.4.32</dokka.version>
|
2018-08-21 18:47:21 +02:00
|
|
|
|
|
|
|
|
2014-10-02 19:09:58 +02:00
|
|
|
<javacc.version>5.0</javacc.version>
|
2020-07-17 12:03:45 +02:00
|
|
|
<surefire.version>3.0.0-M5</surefire.version>
|
2022-01-31 19:08:28 +01:00
|
|
|
<checkstyle.version>9.3</checkstyle.version>
|
2021-05-06 10:25:55 +02:00
|
|
|
<checkstyle.plugin.version>3.1.2</checkstyle.plugin.version>
|
2022-02-17 12:27:00 +01:00
|
|
|
<pmd.plugin.version>3.16.0</pmd.plugin.version>
|
2021-11-18 17:09:03 +01:00
|
|
|
<ant.version>1.10.12</ant.version>
|
2020-04-14 11:15:04 +02:00
|
|
|
<javadoc.plugin.version>3.2.0</javadoc.plugin.version>
|
2020-09-27 22:35:53 +01:00
|
|
|
<antlr.version>4.8</antlr.version>
|
2022-01-27 17:27:32 +01:00
|
|
|
<slf4j.version>2.0.0-alpha6</slf4j.version>
|
2021-05-25 13:52:34 +02:00
|
|
|
<saxon.version>10.7</saxon.version>
|
2014-10-02 19:09:58 +02:00
|
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2017-02-20 18:04:32 +01:00
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2018-05-22 20:31:45 +02:00
|
|
|
<pmd.website.baseurl>https://pmd.github.io/pmd</pmd.website.baseurl>
|
2014-10-08 22:31:29 +02:00
|
|
|
|
2015-09-26 18:13:34 +02:00
|
|
|
<argLine>-Xmx512m -Dfile.encoding=${project.build.sourceEncoding}</argLine>
|
|
|
|
|
2021-11-25 12:42:09 +01:00
|
|
|
<pmd.build-tools.version>18-SNAPSHOT</pmd.build-tools.version>
|
2018-08-21 18:47:21 +02:00
|
|
|
|
2021-07-31 17:17:54 +02:00
|
|
|
<pmd-designer.version>6.37.0</pmd-designer.version>
|
2020-01-02 17:41:27 +01:00
|
|
|
<javacc.jar>${settings.localRepository}/net/java/dev/javacc/javacc/${javacc.version}/javacc-${javacc.version}.jar</javacc.jar>
|
2020-01-10 23:23:39 +01:00
|
|
|
<javacc.outputDirectory>${project.build.directory}/generated-sources/javacc</javacc.outputDirectory>
|
|
|
|
<javacc.ant.wrapper>${project.basedir}/../javacc-wrapper.xml</javacc.ant.wrapper>
|
2020-05-02 02:57:14 +02:00
|
|
|
|
|
|
|
<antlr4.outputDirectory>${project.build.directory}/generated-sources/antlr4</antlr4.outputDirectory>
|
|
|
|
<antlr4.ant.wrapper>${project.basedir}/../antlr4-wrapper.xml</antlr4.ant.wrapper>
|
2014-10-02 19:09:58 +02:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
2020-07-31 22:43:52 +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/test/kotlin</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
2014-10-02 19:09:58 +02:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2016-03-29 19:49:04 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
|
|
<version>${antlr.version}</version>
|
|
|
|
<configuration>
|
2017-10-28 17:08:33 -03:00
|
|
|
<inputEncoding>${project.build.sourceEncoding}</inputEncoding>
|
2020-06-21 11:45:21 +02:00
|
|
|
<visitor>true</visitor>
|
|
|
|
<listener>true</listener>
|
2016-03-29 19:49:04 +02:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>antlr</id>
|
|
|
|
<goals>
|
|
|
|
<goal>antlr4</goal>
|
|
|
|
</goals>
|
2019-08-05 15:49:02 +02:00
|
|
|
<!-- This is default but let's be clear -->
|
|
|
|
<phase>generate-sources</phase>
|
2016-03-29 19:49:04 +02:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-10-02 19:09:58 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
2015-10-04 11:55:51 +02:00
|
|
|
<version>1.8</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
2020-04-25 10:37:54 +02:00
|
|
|
<version>3.2.0</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2020-05-04 23:00:28 +03:00
|
|
|
<version>3.1.2</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
2020-04-25 10:37:54 +02:00
|
|
|
<version>3.0.0-M1</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
<configuration>
|
2019-03-30 18:49:51 +01:00
|
|
|
<releaseProfiles>pmd-release,sign</releaseProfiles>
|
2017-02-24 20:00:01 +01:00
|
|
|
<pushChanges>true</pushChanges>
|
2014-10-02 19:09:58 +02:00
|
|
|
<localCheckout>true</localCheckout>
|
2014-10-17 20:08:42 +02:00
|
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
2014-10-18 21:28:26 +02:00
|
|
|
<tagNameFormat>pmd_releases/@{project.version}</tagNameFormat>
|
2015-07-25 14:38:54 +02:00
|
|
|
<goals>deploy</goals>
|
2014-10-02 19:09:58 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
2018-06-23 12:48:49 +02:00
|
|
|
<version>3.1.0</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
2018-08-21 18:47:21 +02:00
|
|
|
|
|
|
|
<!-- Kotlin compiler for test-compile -->
|
|
|
|
<!-- 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-test-compile</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test-compile</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>process-test-sources</phase>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirs>
|
|
|
|
<sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
|
|
|
|
<sourceDir>${project.basedir}/src/test/java</sourceDir>
|
|
|
|
</sourceDirs>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2014-10-02 19:09:58 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2020-04-26 14:27:37 +03:00
|
|
|
<version>3.8.1</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
<configuration>
|
2018-02-18 21:47:50 +01:00
|
|
|
<release>${java.version}</release>
|
2014-10-02 19:09:58 +02:00
|
|
|
</configuration>
|
2018-08-21 18:47:21 +02:00
|
|
|
<executions>
|
|
|
|
<!-- Replacing default-compile as it is treated specially by maven -->
|
|
|
|
<execution>
|
|
|
|
<id>default-compile</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
<!-- Replacing default-testCompile as it is treated specially by maven -->
|
|
|
|
<execution>
|
|
|
|
<id>default-testCompile</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>java-compile</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>java-test-compile</id>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<source>${maven.compiler.test.source}</source>
|
|
|
|
<target>${maven.compiler.test.target}</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
2014-10-18 21:38:57 +02:00
|
|
|
<version>2.8.2</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
2014-10-18 21:38:57 +02:00
|
|
|
<version>2.5.2</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2020-04-25 10:37:54 +02:00
|
|
|
<version>3.2.0</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2018-06-23 12:48:49 +02:00
|
|
|
<version>3.1.0</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
2016-06-04 20:50:19 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2020-04-25 10:37:54 +02:00
|
|
|
<version>3.2.3</version>
|
2016-06-04 20:50:19 +02:00
|
|
|
</plugin>
|
2014-10-02 19:09:58 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${surefire.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<forkMode>once</forkMode>
|
|
|
|
<runOrder>alphabetical</runOrder>
|
2019-05-09 16:35:47 +02:00
|
|
|
<systemPropertyVariables>
|
2020-06-07 11:51:10 +02:00
|
|
|
<mvn.project.src.test.resources>${project.build.testResources[0].directory}</mvn.project.src.test.resources>
|
2019-05-09 16:35:47 +02:00
|
|
|
</systemPropertyVariables>
|
2014-10-02 19:09:58 +02:00
|
|
|
</configuration>
|
2020-07-17 12:03:45 +02:00
|
|
|
<dependencies>
|
|
|
|
<!-- Junit5 Platform Engine for Junit 3 & 4 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.vintage</groupId>
|
|
|
|
<artifactId>junit-vintage-engine</artifactId>
|
2020-10-15 11:39:04 +02:00
|
|
|
<version>5.7.0</version>
|
2020-07-17 12:03:45 +02:00
|
|
|
</dependency>
|
|
|
|
<!-- Junit5 Platform Engine for Kotlin Tests -->
|
|
|
|
<dependency>
|
2020-07-20 00:12:40 +02:00
|
|
|
<groupId>io.kotest</groupId>
|
|
|
|
<artifactId>kotest-runner-junit5-jvm</artifactId>
|
|
|
|
<version>${kotest.version}</version>
|
2020-07-17 12:03:45 +02:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
2017-09-23 21:03:53 +02:00
|
|
|
<version>3.0.0</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
2020-07-16 18:14:46 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
</plugin>
|
2014-10-02 19:09:58 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2020-04-25 10:37:54 +02:00
|
|
|
<version>3.2.1</version>
|
2014-10-18 21:38:57 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>${javadoc.plugin.version}</version>
|
2017-03-03 18:32:45 +01:00
|
|
|
<configuration>
|
|
|
|
<quiet>true</quiet>
|
2017-09-23 20:38:32 +02:00
|
|
|
<doclint>none</doclint>
|
2020-04-14 15:24:38 +02:00
|
|
|
<excludePackageNames>*.internal</excludePackageNames>
|
2019-11-16 22:56:14 +01:00
|
|
|
<detectOfflineLinks>false</detectOfflineLinks>
|
2020-04-14 15:23:14 +02:00
|
|
|
<offlineLinks>
|
2020-04-14 15:47:36 +02:00
|
|
|
<offlineLink>
|
2020-11-20 16:18:18 +01:00
|
|
|
<location>${project.basedir}/../pmd-lang-test/target/dokkaJavadocJar</location>
|
2020-04-14 15:47:36 +02:00
|
|
|
<url>../../pmd-lang-test/${project.version}</url>
|
|
|
|
</offlineLink>
|
2020-04-14 15:23:14 +02:00
|
|
|
<offlineLink>
|
|
|
|
<location>${project.basedir}/../pmd-test/target/apidocs</location>
|
|
|
|
<url>../../pmd-test/${project.version}</url>
|
|
|
|
</offlineLink>
|
|
|
|
<!-- core needs to be last, because the package "net.sourceforge.pmd.lang" is both in pmd-core and pmd-test -->
|
|
|
|
<offlineLink>
|
|
|
|
<location>${project.basedir}/../pmd-core/target/apidocs</location>
|
|
|
|
<url>../../pmd-core/${project.version}</url>
|
|
|
|
</offlineLink>
|
|
|
|
</offlineLinks>
|
2017-03-03 18:32:45 +01:00
|
|
|
</configuration>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2020-03-06 11:19:47 +01:00
|
|
|
<version>${checkstyle.plugin.version}</version>
|
2018-12-02 10:25:13 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>checkstyle-check</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
2020-01-24 23:11:18 +01:00
|
|
|
<goal>check</goal>
|
2018-12-02 10:25:13 +01:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
|
|
<artifactId>checkstyle</artifactId>
|
2020-03-06 11:19:47 +01:00
|
|
|
<version>${checkstyle.version}</version>
|
2018-12-02 10:25:13 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-build-tools-config</artifactId>
|
|
|
|
<version>${pmd.build-tools.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<configLocation>/net/sourceforge/pmd/pmd-checkstyle-config.xml</configLocation>
|
|
|
|
<suppressionsLocation>/net/sourceforge/pmd/pmd-checkstyle-suppressions.xml</suppressionsLocation>
|
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
|
|
<sourceDirectories>
|
2020-07-31 20:26:27 +02:00
|
|
|
<!-- this sets only src/main/java and ignores e.g. target/generated-sources/javacc -->
|
2018-12-02 10:25:13 +01:00
|
|
|
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
|
|
|
|
</sourceDirectories>
|
2020-07-31 20:26:27 +02:00
|
|
|
<resourceIncludes>**/*.properties,**/*.less,**/*.kt</resourceIncludes>
|
2018-12-02 10:25:13 +01:00
|
|
|
</configuration>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2018-06-23 12:48:49 +02:00
|
|
|
<version>3.0.0-M2</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
2020-08-01 17:53:45 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<version>2.19.1</version>
|
|
|
|
</plugin>
|
2014-10-02 19:09:58 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
|
|
<version>${pmd.plugin.version}</version>
|
2018-03-23 10:12:38 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
2021-09-07 19:38:18 +02:00
|
|
|
<goal>cpd-check</goal>
|
2018-03-23 10:12:38 +01:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<linkXRef>true</linkXRef>
|
|
|
|
<minimumTokens>100</minimumTokens>
|
|
|
|
<targetJdk>1.${java.version}</targetJdk>
|
|
|
|
<rulesets>
|
|
|
|
<ruleset>/net/sourceforge/pmd/pmd-dogfood-config.xml</ruleset>
|
2022-02-17 18:35:34 +01:00
|
|
|
<ruleset>/net/sourceforge/pmd/pmd7-dogfood-config.xml</ruleset>
|
2018-03-23 10:12:38 +01:00
|
|
|
</rulesets>
|
|
|
|
<excludeRoots>
|
|
|
|
<excludeRoot>target/generated-sources/javacc</excludeRoot>
|
|
|
|
<excludeRoot>target/generated-sources/antlr4</excludeRoot>
|
|
|
|
</excludeRoots>
|
|
|
|
<skipPmdError>false</skipPmdError>
|
2018-06-16 17:50:19 +02:00
|
|
|
<failurePriority>2</failurePriority>
|
2018-03-23 10:12:38 +01:00
|
|
|
<failOnViolation>true</failOnViolation>
|
|
|
|
<printFailingErrors>true</printFailingErrors>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<!-- Note: we can't use a property for the version here due to https://issues.apache.org/jira/browse/MRELEASE-932 -->
|
2021-08-19 19:23:01 +02:00
|
|
|
<!-- We use the comment "pmd.dogfood.version" as a marker and manually change the version - see .ci/build.sh -->
|
2018-03-23 10:12:38 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-core</artifactId>
|
2022-04-15 15:42:34 +02:00
|
|
|
<version>6.43.0</version> <!-- pmd.dogfood.version -->
|
2018-03-23 10:12:38 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-java</artifactId>
|
2022-04-15 15:42:34 +02:00
|
|
|
<version>6.43.0</version> <!-- pmd.dogfood.version -->
|
2018-03-23 10:12:38 +01:00
|
|
|
</dependency>
|
2022-01-28 10:15:18 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-jsp</artifactId>
|
|
|
|
<version>6.41.0</version> <!-- pmd.dogfood.version -->
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-javascript</artifactId>
|
|
|
|
<version>6.41.0</version> <!-- pmd.dogfood.version -->
|
|
|
|
</dependency>
|
2018-03-23 10:12:38 +01:00
|
|
|
<!-- This contains the dogfood ruleset -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-build-tools-config</artifactId>
|
|
|
|
<version>${pmd.build-tools.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
2017-09-23 21:03:53 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>versions-maven-plugin</artifactId>
|
2018-06-23 12:48:49 +02:00
|
|
|
<version>2.5</version>
|
2017-09-23 21:03:53 +02:00
|
|
|
</plugin>
|
2017-02-24 20:00:01 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
|
<version>1.6.8</version>
|
|
|
|
</plugin>
|
2017-10-01 13:18:35 +02:00
|
|
|
<plugin>
|
2020-01-24 23:11:18 +01:00
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<version>0.8.5</version>
|
2017-10-01 13:18:35 +02:00
|
|
|
</plugin>
|
2017-08-10 19:00:10 +02:00
|
|
|
<!--This plugin's configuration is used to store Eclipse
|
2014-10-02 19:09:58 +02:00
|
|
|
m2e settings only. It has no influence on the Maven build itself. -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<versionRange>[1.7,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<execute>
|
|
|
|
<runOnIncremental>false</runOnIncremental>
|
|
|
|
<runOnConfiguration>true</runOnConfiguration>
|
|
|
|
</execute>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2014-10-03 21:00:28 +02:00
|
|
|
<plugins>
|
2017-09-23 19:24:37 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-versions</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireJavaVersion>
|
2020-05-14 12:28:25 -03:00
|
|
|
<version>[11,)</version>
|
2017-09-23 19:24:37 +02:00
|
|
|
</requireJavaVersion>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-04-04 10:50:09 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
2018-03-23 10:12:38 +01:00
|
|
|
<!-- configuration is in plugin management section -->
|
2015-04-04 10:50:09 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2018-12-02 10:25:13 +01:00
|
|
|
<!-- configuration is in plugin management section -->
|
2015-04-04 10:50:09 +02:00
|
|
|
</plugin>
|
2016-07-02 12:11:48 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-02-24 20:00:01 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<serverId>ossrh</serverId>
|
|
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-10-03 21:00:28 +02:00
|
|
|
</plugins>
|
2014-10-02 19:09:58 +02:00
|
|
|
</build>
|
|
|
|
|
2014-10-08 21:49:23 +02:00
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
2015-10-04 11:55:51 +02:00
|
|
|
<version>2.5</version>
|
2014-10-08 21:49:23 +02:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2014-10-18 21:38:57 +02:00
|
|
|
<version>${javadoc.plugin.version}</version>
|
2014-10-08 21:49:23 +02:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>javadoc</report>
|
|
|
|
<report>test-javadoc</report>
|
2015-05-31 14:01:40 +02:00
|
|
|
<report>aggregate</report>
|
|
|
|
<report>test-aggregate</report>
|
2014-10-08 21:49:23 +02:00
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
|
|
<version>${pmd.plugin.version}</version>
|
2018-03-23 10:12:38 +01:00
|
|
|
<!-- configuration is in plugin management section -->
|
2014-10-08 21:49:23 +02:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2020-03-06 11:19:47 +01:00
|
|
|
<version>${checkstyle.plugin.version}</version>
|
2018-12-02 10:25:13 +01:00
|
|
|
<!-- configuration is in plugin management section -->
|
2014-10-08 21:49:23 +02:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>checkstyle</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
2017-09-23 21:03:53 +02:00
|
|
|
<version>2.9</version>
|
2014-10-08 21:49:23 +02:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>summary</report>
|
|
|
|
<report>dependencies</report>
|
2015-04-04 10:50:36 +02:00
|
|
|
<report>dependency-convergence</report>
|
|
|
|
<report>dependency-info</report>
|
|
|
|
<report>dependency-management</report>
|
|
|
|
<report>modules</report>
|
|
|
|
<report>plugin-management</report>
|
|
|
|
<report>plugins</report>
|
2014-10-08 21:49:23 +02:00
|
|
|
<report>project-team</report>
|
|
|
|
<report>mailing-list</report>
|
|
|
|
<report>cim</report>
|
|
|
|
<report>issue-tracking</report>
|
|
|
|
<report>license</report>
|
|
|
|
<report>scm</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>dependency-updates-report</report>
|
|
|
|
<report>plugin-updates-report</report>
|
|
|
|
<report>property-updates-report</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
2014-10-02 19:09:58 +02:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2016-03-29 19:49:04 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
|
|
<version>${antlr.version}</version>
|
|
|
|
</dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
<dependency>
|
|
|
|
<!-- old antlr version used by apex-jorje -->
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr-runtime</artifactId>
|
|
|
|
<version>3.5.2</version>
|
|
|
|
</dependency>
|
2014-10-02 19:09:58 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant</artifactId>
|
2014-10-18 21:22:21 +02:00
|
|
|
<version>${ant.version}</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant-testutil</artifactId>
|
2014-10-18 21:22:21 +02:00
|
|
|
<version>${ant.version}</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-01-24 23:11:18 +01:00
|
|
|
<groupId>com.beust</groupId>
|
|
|
|
<artifactId>jcommander</artifactId>
|
2020-08-01 17:53:45 +02:00
|
|
|
<version>1.48</version> <!-- 1.48 is the latest version compatible with java7 -->
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ow2.asm</groupId>
|
|
|
|
<artifactId>asm</artifactId>
|
2021-07-01 09:56:02 +02:00
|
|
|
<version>9.2</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
2020-08-23 20:19:15 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.pcollections</groupId>
|
|
|
|
<artifactId>pcollections</artifactId>
|
|
|
|
<version>3.1.3</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
2014-10-12 09:39:43 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2014-10-02 19:09:58 +02:00
|
|
|
<dependency>
|
2020-08-23 18:40:38 +02:00
|
|
|
<groupId>org.checkerframework</groupId>
|
|
|
|
<artifactId>checker-qual</artifactId>
|
|
|
|
<version>2.5.2</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-11-03 07:10:13 +01:00
|
|
|
<groupId>net.sf.saxon</groupId>
|
|
|
|
<artifactId>Saxon-HE</artifactId>
|
2021-05-25 13:52:34 +02:00
|
|
|
<version>${saxon.version}</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.java.dev.javacc</groupId>
|
|
|
|
<artifactId>javacc</artifactId>
|
|
|
|
<version>${javacc.version}</version>
|
2020-07-02 10:27:26 +02:00
|
|
|
<scope>provided</scope> <!-- only needed for generating the parser via ant -->
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
2021-04-29 10:14:49 +02:00
|
|
|
<version>2.6</version> <!-- note: this is the last version compatible with java7 -->
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2018-10-10 17:36:31 -05:00
|
|
|
<version>3.8.1</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
2020-07-03 21:11:57 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-text</artifactId>
|
2020-08-01 17:53:45 +02:00
|
|
|
<version>1.3</version> <!-- 1.3 is still compatible with java7 -->
|
2020-07-03 21:11:57 +02:00
|
|
|
</dependency>
|
2014-10-02 19:09:58 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2022-01-27 17:27:32 +01:00
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
2022-02-18 16:44:31 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
</dependency>
|
2016-09-02 17:34:44 -03:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy</artifactId>
|
2020-12-11 16:50:49 +01:00
|
|
|
<version>2.4.21</version>
|
2016-09-02 17:34:44 -03:00
|
|
|
</dependency>
|
2021-12-20 10:39:17 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>2.8.9</version>
|
|
|
|
</dependency>
|
2021-12-20 10:43:05 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.yaml</groupId>
|
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
|
<version>1.30</version>
|
|
|
|
</dependency>
|
2021-12-20 10:39:17 +01:00
|
|
|
|
2018-08-21 18:47:21 +02:00
|
|
|
|
|
|
|
<!-- TEST DEPENDENCIES -->
|
2019-03-10 19:32:20 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-test</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-09-24 15:01:29 +02:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-lang-test</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2019-03-10 19:32:20 +01:00
|
|
|
<dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
<groupId>com.github.oowekyala.treeutils</groupId>
|
|
|
|
<artifactId>tree-matchers</artifactId>
|
|
|
|
<version>2.1.0</version>
|
2019-03-10 19:32:20 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
<groupId>com.github.oowekyala.treeutils</groupId>
|
|
|
|
<artifactId>tree-printers</artifactId>
|
|
|
|
<version>2.1.0</version>
|
2019-03-10 19:32:20 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
|
2019-03-10 19:32:20 +01:00
|
|
|
<dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
2021-12-20 10:52:58 +01:00
|
|
|
<!-- using 31.0.1-android flavor instead of 31.0.1-jre, so that we are compatible with java7 -->
|
|
|
|
<version>31.0.1-android</version>
|
2019-03-10 19:32:20 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-08-21 18:47:21 +02:00
|
|
|
|
2019-03-10 19:32:20 +01:00
|
|
|
<dependency>
|
2020-05-04 23:00:28 +03:00
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest</artifactId>
|
|
|
|
<version>2.2</version>
|
2019-03-10 19:32:20 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-05-04 23:00:28 +03:00
|
|
|
|
2019-03-10 19:32:20 +01:00
|
|
|
<dependency>
|
2020-05-04 23:00:28 +03:00
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2020-10-15 11:35:03 +02:00
|
|
|
<version>4.13.1</version>
|
2019-03-10 19:32:20 +01:00
|
|
|
<scope>test</scope>
|
2020-05-04 23:00:28 +03:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-03-10 19:32:20 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>pl.pragmatists</groupId>
|
|
|
|
<artifactId>JUnitParams</artifactId>
|
|
|
|
<version>1.1.1</version>
|
2019-07-18 19:29:13 -03:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2020-05-11 15:25:07 +03:00
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>2.28.2</version>
|
|
|
|
<scope>test</scope>
|
2019-07-18 19:29:13 -03:00
|
|
|
</dependency>
|
2020-05-11 15:25:07 +03:00
|
|
|
|
2019-07-18 19:29:13 -03:00
|
|
|
<dependency>
|
2020-05-11 15:25:07 +03:00
|
|
|
<groupId>com.github.tomakehurst</groupId>
|
|
|
|
<artifactId>wiremock</artifactId>
|
|
|
|
<version>1.57</version>
|
2019-03-10 19:32:20 +01:00
|
|
|
<scope>test</scope>
|
2020-05-11 15:25:07 +03:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-03-10 19:32:20 +01:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2020-05-11 15:25:07 +03:00
|
|
|
<groupId>com.github.stefanbirkner</groupId>
|
|
|
|
<artifactId>system-rules</artifactId>
|
|
|
|
<version>1.19.0</version>
|
2019-03-10 19:32:20 +01:00
|
|
|
<scope>test</scope>
|
2021-07-29 11:24:49 +02:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit-dep</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-03-10 19:32:20 +01:00
|
|
|
</dependency>
|
2018-08-21 18:47:21 +02:00
|
|
|
|
2019-03-10 19:32:20 +01:00
|
|
|
<!-- Kotlin -->
|
2018-08-21 18:47:21 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-09-14 15:04:38 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-08-21 18:47:21 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-test-junit</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-07-02 14:16:39 +02:00
|
|
|
<dependency>
|
2020-07-20 00:12:40 +02:00
|
|
|
<groupId>io.kotest</groupId>
|
|
|
|
<artifactId>kotest-runner-junit5-jvm</artifactId>
|
|
|
|
<version>${kotest.version}</version>
|
2020-07-02 14:16:39 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-07-31 13:25:56 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.kotest</groupId>
|
|
|
|
<artifactId>kotest-runner-console-jvm</artifactId>
|
|
|
|
<version>${kotest.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-08-21 18:47:21 +02:00
|
|
|
<dependency>
|
2020-07-20 00:12:40 +02:00
|
|
|
<groupId>io.kotest</groupId>
|
|
|
|
<artifactId>kotest-assertions-core-jvm</artifactId>
|
|
|
|
<version>${kotest.version}</version>
|
2020-07-02 14:16:39 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
<dependency>
|
2020-07-20 00:12:40 +02:00
|
|
|
<groupId>io.kotest</groupId>
|
|
|
|
<artifactId>kotest-property-jvm</artifactId>
|
|
|
|
<version>${kotest.version}</version>
|
2020-07-02 15:12:31 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-08-21 18:47:21 +02:00
|
|
|
|
|
|
|
<dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
<groupId>org.jetbrains</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
|
|
|
<version>13.0</version>
|
2018-08-21 18:47:21 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2015-08-31 19:41:51 +02:00
|
|
|
<repositories>
|
2020-03-12 12:06:03 +01:00
|
|
|
<repository>
|
|
|
|
<id>central</id>
|
|
|
|
<name>Central Repository</name>
|
|
|
|
<url>https://repo.maven.apache.org/maven2</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>never</updatePolicy>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
2015-08-31 19:41:51 +02:00
|
|
|
<repository>
|
|
|
|
<id>sonatype-nexus-snapshots</id>
|
|
|
|
<name>Sonatype Nexus Snapshots</name>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>central</id>
|
|
|
|
<name>Central Repository</name>
|
|
|
|
<url>https://repo.maven.apache.org/maven2</url>
|
|
|
|
<releases>
|
2020-03-12 12:06:03 +01:00
|
|
|
<enabled>true</enabled>
|
2015-08-31 19:41:51 +02:00
|
|
|
<updatePolicy>never</updatePolicy>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>sonatype-nexus-plugin-snapshots</id>
|
|
|
|
<name>Sonatype Nexus Snapshots</name>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
2014-10-02 19:09:58 +02:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>pmd-release</id>
|
|
|
|
<properties>
|
2017-08-14 16:37:44 +02:00
|
|
|
<pmd.website.baseurl>https://pmd.github.io/pmd-${project.version}</pmd.website.baseurl>
|
2014-10-02 19:09:58 +02:00
|
|
|
</properties>
|
2019-03-30 18:49:51 +01:00
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>sign</id>
|
2017-02-24 20:00:01 +01:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
<version>1.6</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
2019-11-01 11:31:07 +01:00
|
|
|
<configuration>
|
|
|
|
<!-- https://issues.apache.org/jira/browse/MGPG-59 - once m-gpg-p 1.7. is released,
|
|
|
|
this should not be needed anymore -->
|
|
|
|
<gpgArguments>
|
|
|
|
<arg>--pinentry-mode</arg>
|
|
|
|
<arg>loopback</arg>
|
|
|
|
</gpgArguments>
|
|
|
|
</configuration>
|
2017-02-24 20:00:01 +01:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2014-10-02 19:09:58 +02:00
|
|
|
</profile>
|
2015-02-20 20:05:38 +01:00
|
|
|
|
2016-12-03 22:39:30 +01:00
|
|
|
<profile>
|
|
|
|
<id>doclint</id>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
2017-09-23 20:38:32 +02:00
|
|
|
<doclint>all</doclint>
|
2016-12-03 22:39:30 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2017-07-08 12:25:54 +02:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>coveralls</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2020-01-24 23:11:18 +01:00
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-prepare-agent</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2017-07-08 12:25:54 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eluder.coveralls</groupId>
|
|
|
|
<artifactId>coveralls-maven-plugin</artifactId>
|
|
|
|
<version>4.3.0</version>
|
2018-09-02 10:52:36 +02:00
|
|
|
<dependencies>
|
|
|
|
<!--
|
|
|
|
coveralls maven plugin needs javax.xml.bind api
|
|
|
|
See also https://github.com/trautonen/coveralls-maven-plugin/issues/112
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
<version>2.3.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2017-07-08 12:25:54 +02:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-09-02 12:15:45 +02:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>sonar</id>
|
|
|
|
<properties>
|
|
|
|
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
2019-11-07 20:26:22 +01:00
|
|
|
<sonar.organization>pmd</sonar.organization>
|
2020-11-14 12:20:11 +01:00
|
|
|
<sonar.java.source>1.8</sonar.java.source>
|
2018-09-02 12:15:45 +02:00
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonarsource.scanner.maven</groupId>
|
|
|
|
<artifactId>sonar-maven-plugin</artifactId>
|
2019-11-07 21:28:15 +01:00
|
|
|
<version>3.7.0.1746</version>
|
2018-09-02 12:15:45 +02:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2020-01-24 23:11:18 +01:00
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-prepare-agent</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2017-07-08 12:25:54 +02:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2014-10-02 19:09:58 +02:00
|
|
|
</profiles>
|
2013-01-13 19:17:44 +01:00
|
|
|
|
|
|
|
<modules>
|
2018-10-28 20:00:29 +01:00
|
|
|
<module>pmd-apex-jorje</module>
|
|
|
|
<module>pmd-apex</module>
|
2014-10-08 22:52:25 +02:00
|
|
|
<module>pmd-core</module>
|
2014-10-08 21:00:06 +02:00
|
|
|
<module>pmd-cpp</module>
|
2014-10-11 11:23:07 +02:00
|
|
|
<module>pmd-cs</module>
|
2019-04-05 15:19:28 +02:00
|
|
|
<module>pmd-dart</module>
|
2014-10-08 21:00:06 +02:00
|
|
|
<module>pmd-dist</module>
|
2018-10-28 20:00:29 +01:00
|
|
|
<module>pmd-doc</module>
|
2014-10-08 21:00:06 +02:00
|
|
|
<module>pmd-fortran</module>
|
2014-10-12 20:05:17 +02:00
|
|
|
<module>pmd-go</module>
|
2016-09-02 17:34:44 -03:00
|
|
|
<module>pmd-groovy</module>
|
2019-06-28 16:48:24 +02:00
|
|
|
<module>pmd-lua</module>
|
2014-09-30 19:51:42 +02:00
|
|
|
<module>pmd-java</module>
|
2014-10-04 18:23:23 +02:00
|
|
|
<module>pmd-javascript</module>
|
2014-10-08 21:00:06 +02:00
|
|
|
<module>pmd-jsp</module>
|
2018-10-12 12:21:56 +01:00
|
|
|
<module>pmd-kotlin</module>
|
2018-11-02 02:31:16 +01:00
|
|
|
<module>pmd-lang-test</module>
|
2015-01-07 10:46:03 +01:00
|
|
|
<module>pmd-matlab</module>
|
2019-09-28 16:21:58 +03:00
|
|
|
<module>pmd-modelica</module>
|
2015-01-08 16:04:15 +01:00
|
|
|
<module>pmd-objectivec</module>
|
2015-12-23 18:26:15 +01:00
|
|
|
<module>pmd-perl</module>
|
2014-10-04 20:00:55 +02:00
|
|
|
<module>pmd-php</module>
|
2014-10-08 21:00:06 +02:00
|
|
|
<module>pmd-plsql</module>
|
2015-01-06 17:02:02 +01:00
|
|
|
<module>pmd-python</module>
|
2014-10-04 20:09:46 +02:00
|
|
|
<module>pmd-ruby</module>
|
2020-06-07 12:24:54 +02:00
|
|
|
<module>pmd-scala</module> <!-- deprecated -->
|
|
|
|
<module>pmd-scala-modules/pmd-scala-common</module>
|
2020-05-31 11:56:43 +01:00
|
|
|
<module>pmd-scala-modules/pmd-scala_2.13</module>
|
|
|
|
<module>pmd-scala-modules/pmd-scala_2.12</module>
|
2016-03-02 11:11:02 +01:00
|
|
|
<module>pmd-swift</module>
|
2014-10-08 21:00:06 +02:00
|
|
|
<module>pmd-test</module>
|
2017-03-01 00:25:22 -03:00
|
|
|
<module>pmd-visualforce</module>
|
2014-10-08 21:00:06 +02:00
|
|
|
<module>pmd-vm</module>
|
|
|
|
<module>pmd-xml</module>
|
2013-01-13 19:17:44 +01:00
|
|
|
</modules>
|
|
|
|
</project>
|