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>
|
2024-07-26 10:11:46 +02:00
|
|
|
<version>7.5.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>
|
2024-05-03 19:47:22 +02:00
|
|
|
PMD is an extensible multilanguage static code analyzer. It finds common programming flaws like unused variables,
|
|
|
|
empty catch blocks, unnecessary object creation, and so forth. It's mainly concerned with Java and
|
|
|
|
Apex, but supports 16 other languages. It comes with 400+ built-in rules. It can be
|
|
|
|
extended with custom rules. It uses JavaCC and Antlr to parse source files into abstract syntax trees
|
|
|
|
(AST) and runs rules against them to find violations. Rules can be written in Java or using a XPath query.
|
2017-01-27 18:19:27 -03:00
|
|
|
|
2024-05-03 19:47:22 +02:00
|
|
|
Currently, PMD supports Java, JavaScript, Salesforce.com Apex and Visualforce,
|
|
|
|
Kotlin, Swift, Modelica, PLSQL, Apache Velocity, JSP, WSDL, Maven POM, HTML, XML and XSL.
|
2023-02-16 19:24:32 +01:00
|
|
|
Scala is supported, but there are currently no Scala rules available.
|
|
|
|
|
|
|
|
Additionally, it includes CPD, the copy-paste-detector. CPD finds duplicated code in
|
2024-05-03 19:47:22 +02:00
|
|
|
Coco, C/C++, C#, Dart, Fortran, Gherkin, Go, Groovy, HTML, Java, JavaScript, JSP, Julia, Kotlin,
|
|
|
|
Lua, Matlab, Modelica, Objective-C, Perl, PHP, PLSQL, Python, Ruby, Salesforce.com Apex and
|
|
|
|
Visualforce, Scala, Swift, T-SQL, Typescript, Apache Velocity, WSDL, XML and XSL.
|
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>
|
2024-07-26 10:11:46 +02: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>
|
2024-07-26 09:03:38 +02:00
|
|
|
<project.build.outputTimestamp>2024-07-26T06:43:17Z</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>
|
2024-05-24 14:47:22 +02:00
|
|
|
<kotlin.version>1.9.24</kotlin.version>
|
2024-06-06 16:35:29 +02:00
|
|
|
<kotest.version>5.9.1</kotest.version>
|
2022-10-21 12:14:32 +02:00
|
|
|
<junit5.version>5.8.2</junit5.version> <!-- needed by kotest -->
|
2024-05-24 14:47:22 +02:00
|
|
|
<dokka.version>1.9.20</dokka.version>
|
2018-08-21 18:47:21 +02:00
|
|
|
|
2014-10-02 19:09:58 +02:00
|
|
|
<javacc.version>5.0</javacc.version>
|
2024-03-07 08:59:23 +01:00
|
|
|
<surefire.version>3.2.5</surefire.version>
|
|
|
|
<checkstyle.version>10.14.0</checkstyle.version>
|
2024-07-26 17:36:58 +02:00
|
|
|
<checkstyle.plugin.version>3.4.0</checkstyle.plugin.version>
|
2024-07-19 14:49:53 +02:00
|
|
|
<pmd.plugin.version>3.24.0</pmd.plugin.version>
|
2024-03-07 09:37:26 +01:00
|
|
|
<ant.version>1.10.14</ant.version>
|
2024-03-07 08:59:23 +01:00
|
|
|
<javadoc.plugin.version>3.6.3</javadoc.plugin.version>
|
2024-03-07 09:37:49 +01:00
|
|
|
<antlr.version>4.9.3</antlr.version>
|
2022-06-24 20:18:07 +02:00
|
|
|
<slf4j.version>1.7.36</slf4j.version>
|
2024-08-29 10:23:42 +02:00
|
|
|
<saxon.version>12.5</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>
|
2023-03-30 11:52:18 +02:00
|
|
|
<pmd.website.baseurl>https://docs.pmd-code.org/snapshot</pmd.website.baseurl>
|
2014-10-08 22:31:29 +02:00
|
|
|
|
2022-07-19 23:17:39 -03:00
|
|
|
<argLine>-Xmx512m -Dfile.encoding=${project.build.sourceEncoding} ${extraArgLine}</argLine>
|
2022-07-30 11:35:53 +02:00
|
|
|
<extraArgLine /> <!-- empty by default, profiles set it as needed -->
|
2015-09-26 18:13:34 +02:00
|
|
|
|
2024-06-27 09:00:11 +02:00
|
|
|
<pmd.build-tools.version>26</pmd.build-tools.version>
|
2018-08-21 18:47:21 +02:00
|
|
|
|
2024-05-31 11:21:36 +02:00
|
|
|
<pmd-designer.version>7.2.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>
|
2018-08-21 18:47:21 +02:00
|
|
|
|
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>
|
2024-02-23 10:50:58 +01:00
|
|
|
|
|
|
|
<dokka.skip>false</dokka.skip>
|
2014-10-02 19:09:58 +02:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<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>
|
2023-01-26 14:21:18 +01:00
|
|
|
<version>3.1.0</version>
|
2023-02-21 22:01:47 +01:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.java.dev.javacc</groupId>
|
|
|
|
<artifactId>javacc</artifactId>
|
|
|
|
<version>${javacc.version}</version>
|
|
|
|
</dependency>
|
2024-04-18 09:31:56 +02:00
|
|
|
<!-- Use the latest ant version to preserve file permissions when doing replaceregexp -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant</artifactId>
|
|
|
|
<version>${ant.version}</version>
|
|
|
|
</dependency>
|
2023-02-21 22:01:47 +01:00
|
|
|
</dependencies>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
2024-03-07 08:59:23 +01:00
|
|
|
<version>3.6.0</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2024-08-12 03:37:24 +00:00
|
|
|
<version>3.7.1</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
2024-03-07 08:59:23 +01:00
|
|
|
<version>3.0.1</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>
|
2024-03-07 08:59:23 +01:00
|
|
|
<version>3.3.2</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
2018-08-21 18:47:21 +02:00
|
|
|
|
2024-02-23 10:50:58 +01:00
|
|
|
<!-- adds kotlin source directories for checkstyle header checks -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
2024-03-07 08:59:23 +01:00
|
|
|
<version>3.5.0</version>
|
2024-02-23 10:50:58 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-kotlin-source-dir</id>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${project.basedir}/src/main/kotlin</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>add-kotlin-test-source-dir</id>
|
|
|
|
<goals>
|
|
|
|
<goal>add-test-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${project.basedir}/src/test/kotlin</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-08-21 18:47:21 +02:00
|
|
|
<!-- Kotlin compiler for test-compile -->
|
2024-02-23 10:50:58 +01:00
|
|
|
<!-- The kotlin plugin has to run before the maven-compiler-plugin -->
|
2018-08-21 18:47:21 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
<executions>
|
2024-02-23 10:50:58 +01:00
|
|
|
<execution>
|
|
|
|
<id>kotlin-compile</id>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirs>
|
|
|
|
<sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
|
|
|
|
<sourceDir>${project.basedir}/src/main/java</sourceDir>
|
|
|
|
</sourceDirs>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-08-21 18:47:21 +02:00
|
|
|
<execution>
|
|
|
|
<id>kotlin-test-compile</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test-compile</goal>
|
|
|
|
</goals>
|
|
|
|
<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>
|
2024-07-26 17:46:08 +02:00
|
|
|
<version>3.13.0</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>
|
2024-03-07 08:59:23 +01:00
|
|
|
<version>3.1.1</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
2024-03-07 08:59:23 +01:00
|
|
|
<version>3.1.1</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2023-01-26 13:27:12 +01:00
|
|
|
<version>3.3.0</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2024-03-07 08:59:23 +01:00
|
|
|
<version>3.3.1</version>
|
2023-03-23 10:47:10 +01:00
|
|
|
<configuration>
|
|
|
|
<propertiesEncoding>${project.build.sourceEncoding}</propertiesEncoding>
|
|
|
|
</configuration>
|
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>
|
2024-03-07 08:59:23 +01:00
|
|
|
<version>3.5.2</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>
|
|
|
|
<runOrder>alphabetical</runOrder>
|
2019-05-09 16:35:47 +02:00
|
|
|
<systemPropertyVariables>
|
2024-05-24 14:47:22 +02:00
|
|
|
<!-- used by pmd-lang-test::net.sourceforge.pmd.lang.test.BaseTextComparisonTest -->
|
2020-06-07 11:51:10 +02:00
|
|
|
<mvn.project.src.test.resources>${project.build.testResources[0].directory}</mvn.project.src.test.resources>
|
2024-05-24 14:47:22 +02:00
|
|
|
<!-- https://kotest.io/docs/framework/project-config.html#runtime-detection -->
|
|
|
|
<kotest.framework.classpath.scanning.config.disable>true</kotest.framework.classpath.scanning.config.disable>
|
|
|
|
<kotest.framework.classpath.scanning.autoscan.disable>true</kotest.framework.classpath.scanning.autoscan.disable>
|
2019-05-09 16:35:47 +02:00
|
|
|
</systemPropertyVariables>
|
2023-01-20 20:14:46 +01:00
|
|
|
<statelessTestsetInfoReporter implementation="net.sourceforge.pmd.buildtools.surefire.PMDStatelessTestSetInfoConsoleReporter">
|
|
|
|
<showFailedTests>true</showFailedTests>
|
|
|
|
<showSuccessfulTests>false</showSuccessfulTests>
|
|
|
|
<showSkippedTests>true</showSkippedTests>
|
|
|
|
<usePhrasedFileName>true</usePhrasedFileName>
|
|
|
|
<usePhrasedClassNameInRunning>true</usePhrasedClassNameInRunning>
|
|
|
|
<usePhrasedClassNameInTestCaseSummary>true</usePhrasedClassNameInTestCaseSummary>
|
|
|
|
</statelessTestsetInfoReporter>
|
|
|
|
|
|
|
|
<statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter">
|
|
|
|
<usePhrasedFileName>true</usePhrasedFileName>
|
|
|
|
<usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName>
|
|
|
|
<usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName>
|
|
|
|
<usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName>
|
|
|
|
</statelessTestsetReporter>
|
2014-10-02 19:09:58 +02:00
|
|
|
</configuration>
|
2020-07-17 12:03:45 +02:00
|
|
|
<dependencies>
|
2023-01-20 20:14:46 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-build-tools-config</artifactId>
|
|
|
|
<version>${pmd.build-tools.version}</version>
|
|
|
|
</dependency>
|
2020-07-17 12:03:45 +02:00
|
|
|
</dependencies>
|
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>
|
2024-03-07 08:59:23 +01:00
|
|
|
<version>3.2.0</version>
|
2020-07-16 18:14:46 +02:00
|
|
|
</plugin>
|
2014-10-02 19:09:58 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2024-04-18 09:30:07 +02:00
|
|
|
<version>3.3.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>
|
2024-03-07 21:18:46 +01:00
|
|
|
<doclint>all</doclint>
|
|
|
|
<failOnError>true</failOnError>
|
2024-02-01 10:47:15 +01:00
|
|
|
<!-- exclude any internal package and up to two sub-packages inside -->
|
|
|
|
<excludePackageNames>*.internal,*.internal.*,*.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>
|
2024-02-27 19:49:23 +01:00
|
|
|
<location>${project.basedir}/../pmd-core/target/apidocs</location>
|
|
|
|
<url>../../pmd-core/${project.version}</url>
|
2020-04-14 15:47:36 +02:00
|
|
|
</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>
|
|
|
|
<offlineLink>
|
2024-02-27 19:49:23 +01:00
|
|
|
<location>${project.basedir}/../pmd-lang-test/target/dokkaJavadocJar</location>
|
|
|
|
<url>../../pmd-lang-test/${project.version}</url>
|
2020-04-14 15:23:14 +02:00
|
|
|
</offlineLink>
|
|
|
|
</offlineLinks>
|
2024-03-07 19:53:18 +01:00
|
|
|
<tags>
|
|
|
|
<tag>
|
|
|
|
<name>apiNote</name>
|
|
|
|
<placement>a</placement>
|
|
|
|
<head>API Note:</head>
|
|
|
|
</tag>
|
|
|
|
<tag>
|
|
|
|
<name>implSpec</name>
|
|
|
|
<placement>a</placement>
|
|
|
|
<head>Implementation Requirements:</head>
|
|
|
|
</tag>
|
|
|
|
<tag>
|
|
|
|
<name>implNote</name>
|
|
|
|
<placement>a</placement>
|
|
|
|
<head>Implementation Note:</head>
|
|
|
|
</tag>
|
|
|
|
<tag><name>param</name></tag>
|
|
|
|
<tag><name>return</name></tag>
|
|
|
|
<tag><name>throws</name></tag>
|
|
|
|
<tag><name>since</name></tag>
|
|
|
|
<tag><name>version</name></tag>
|
|
|
|
<tag><name>serialData</name></tag>
|
|
|
|
<tag><name>see</name></tag>
|
|
|
|
</tags>
|
2017-03-03 18:32:45 +01:00
|
|
|
</configuration>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
2024-02-23 10:50:58 +01:00
|
|
|
<plugin>
|
|
|
|
<!-- When using kotlin/dokka, you need to disable maven-javadoc-plugin@attach-javadocs -->
|
|
|
|
<groupId>org.jetbrains.dokka</groupId>
|
|
|
|
<artifactId>dokka-maven-plugin</artifactId>
|
|
|
|
<version>${dokka.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<skip>${dokka.skip}</skip>
|
2024-02-27 19:49:23 +01:00
|
|
|
<externalDocumentationLinks>
|
|
|
|
<link>
|
|
|
|
<url>https://docs.pmd-code.org/apidocs/pmd-core/${project.version}/</url>
|
|
|
|
<packageListUrl>file://${project.basedir}/../pmd-core/target/apidocs/element-list</packageListUrl>
|
|
|
|
</link>
|
|
|
|
<link>
|
|
|
|
<url>https://docs.pmd-code.org/apidocs/pmd-test/${project.version}/</url>
|
|
|
|
<packageListUrl>file://${project.basedir}/../pmd-test/target/apidocs/element-list</packageListUrl>
|
|
|
|
</link>
|
|
|
|
<link>
|
|
|
|
<url>https://docs.pmd-code.org/apidocs/pmd-lang-test/${project.version}/</url>
|
|
|
|
<packageListUrl>file:///${project.basedir}/../pmd-lang-test/target/dokkaJavadocJar/element-list</packageListUrl>
|
|
|
|
</link>
|
|
|
|
</externalDocumentationLinks>
|
2024-02-23 10:50:58 +01:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>javadocJar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-10-02 19:09:58 +02:00
|
|
|
<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>
|
2024-02-23 10:14:43 +01:00
|
|
|
<excludeGeneratedSources>true</excludeGeneratedSources>
|
2024-04-04 10:46:05 +02:00
|
|
|
<includes>**/*.java,**/*.kt</includes>
|
2024-02-23 10:50:58 +01:00
|
|
|
<resourceIncludes>**/*.properties,**/*.less</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>
|
2024-03-07 08:59:23 +01:00
|
|
|
<version>3.4.1</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>
|
2023-01-26 13:31:30 +01:00
|
|
|
<version>${surefire.version}</version>
|
2020-08-01 17:53:45 +02:00
|
|
|
</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>
|
2023-01-17 15:42:39 +01:00
|
|
|
<id>pmd-main</id>
|
2018-03-23 10:12:38 +01:00
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
2024-05-03 20:26:05 +02:00
|
|
|
<goal>pmd</goal>
|
2018-03-23 10:12:38 +01:00
|
|
|
<goal>check</goal>
|
2024-05-03 20:26:05 +02:00
|
|
|
<goal>cpd</goal>
|
2021-09-07 19:38:18 +02:00
|
|
|
<goal>cpd-check</goal>
|
2018-03-23 10:12:38 +01:00
|
|
|
</goals>
|
2024-05-03 20:26:05 +02:00
|
|
|
<configuration>
|
|
|
|
<skip>${pmd.skip}</skip>
|
|
|
|
<minimumTokens>100</minimumTokens>
|
|
|
|
<rulesets>
|
|
|
|
<ruleset>/net/sourceforge/pmd/pmd-dogfood-config.xml</ruleset>
|
|
|
|
</rulesets>
|
|
|
|
<excludeRoots>
|
|
|
|
<excludeRoot>target/generated-sources/javacc</excludeRoot>
|
|
|
|
<excludeRoot>target/generated-sources/antlr4</excludeRoot>
|
|
|
|
</excludeRoots>
|
|
|
|
</configuration>
|
2018-03-23 10:12:38 +01:00
|
|
|
</execution>
|
2023-01-17 15:42:39 +01:00
|
|
|
<execution>
|
|
|
|
<id>pmd-test</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>pmd</goal>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2024-05-03 20:26:05 +02:00
|
|
|
<skip>${pmd.skip}</skip>
|
2023-01-17 15:42:39 +01:00
|
|
|
<targetDirectory>${project.build.directory}/pmdTest/</targetDirectory>
|
|
|
|
<includeTests>true</includeTests>
|
|
|
|
<rulesets>
|
|
|
|
<ruleset>/net/sourceforge/pmd/pmd-test-dogfood-config.xml</ruleset>
|
|
|
|
</rulesets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-03-23 10:12:38 +01:00
|
|
|
</executions>
|
|
|
|
<configuration>
|
2023-04-06 11:57:37 +02:00
|
|
|
<linkXRef>false</linkXRef>
|
2018-03-23 10:12:38 +01:00
|
|
|
<targetJdk>1.${java.version}</targetJdk>
|
|
|
|
<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>
|
2024-05-03 20:26:05 +02:00
|
|
|
<!-- Skip the default pmd executions, which is triggered by pmd:check and avoid
|
|
|
|
unnecessary pmd analysis of the main code.
|
|
|
|
We use executions pmd-main and pmd-test instead and explicitly run pmd:pmd. -->
|
|
|
|
<skip>true</skip>
|
2018-03-23 10:12:38 +01:00
|
|
|
</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>
|
2024-07-26 11:08:05 +02:00
|
|
|
<version>7.4.0</version> <!-- pmd.dogfood.version -->
|
2018-03-23 10:12:38 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-java</artifactId>
|
2024-07-26 11:08:05 +02:00
|
|
|
<version>7.4.0</version> <!-- pmd.dogfood.version -->
|
2018-03-23 10:12:38 +01:00
|
|
|
</dependency>
|
2022-04-22 08:20:46 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-jsp</artifactId>
|
2024-07-26 11:08:05 +02:00
|
|
|
<version>7.4.0</version> <!-- pmd.dogfood.version -->
|
2022-04-22 08:20:46 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-javascript</artifactId>
|
2024-07-26 11:08:05 +02:00
|
|
|
<version>7.4.0</version> <!-- pmd.dogfood.version -->
|
2022-04-22 08:20:46 +02:00
|
|
|
</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>
|
2024-07-26 20:04:41 +02:00
|
|
|
<!-- Allow to build PMD with Java 23 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ow2.asm</groupId>
|
|
|
|
<artifactId>asm</artifactId>
|
|
|
|
<version>9.7</version>
|
|
|
|
</dependency>
|
2018-03-23 10:12:38 +01:00
|
|
|
</dependencies>
|
2014-10-02 19:09:58 +02:00
|
|
|
</plugin>
|
2022-06-04 15:49:01 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
2024-08-13 12:53:15 +02:00
|
|
|
<version>4.0.0-M16</version>
|
2022-06-04 15:49:01 +02:00
|
|
|
</plugin>
|
2017-09-23 21:03:53 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>versions-maven-plugin</artifactId>
|
2024-07-26 18:06:14 +02:00
|
|
|
<version>2.17.1</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>
|
2023-01-26 13:33:17 +01:00
|
|
|
<version>1.6.13</version>
|
2017-02-24 20:00:01 +01:00
|
|
|
</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>
|
2024-02-23 10:56:30 +01:00
|
|
|
<version>0.8.11</version>
|
2017-10-01 13:18:35 +02:00
|
|
|
</plugin>
|
2023-04-06 12:49:37 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.cyclonedx</groupId>
|
|
|
|
<artifactId>cyclonedx-maven-plugin</artifactId>
|
2024-03-07 08:59:23 +01:00
|
|
|
<version>2.7.11</version>
|
2023-04-06 12:49:37 +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>
|
2024-04-04 15:20:15 +02:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.siom79.japicmp</groupId>
|
|
|
|
<artifactId>japicmp-maven-plugin</artifactId>
|
|
|
|
<version>0.20.0</version>
|
|
|
|
<configuration>
|
|
|
|
<parameter>
|
|
|
|
<breakBuildBasedOnSemanticVersioning>true</breakBuildBasedOnSemanticVersioning>
|
|
|
|
<onlyModified>true</onlyModified>
|
|
|
|
<excludes>
|
2024-04-04 17:46:58 +02:00
|
|
|
<exclude>@net.sourceforge.pmd.annotation.Experimental</exclude>
|
2024-04-04 15:20:15 +02:00
|
|
|
<exclude>@net.sourceforge.pmd.annotation.InternalApi</exclude>
|
|
|
|
</excludes>
|
|
|
|
</parameter>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>japicmp</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>cmp</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-10-02 19:09:58 +02:00
|
|
|
</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>
|
2022-06-04 15:49:01 +02:00
|
|
|
<execution>
|
|
|
|
<id>enforce-no-snapshots</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireReleaseDeps>
|
|
|
|
<message>No Snapshots Allowed!</message>
|
|
|
|
<onlyWhenRelease>true</onlyWhenRelease>
|
|
|
|
</requireReleaseDeps>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-plugin-versions</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requirePluginVersions>
|
|
|
|
<message>Best Practice is to always define plugin versions!</message>
|
|
|
|
</requirePluginVersions>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2017-09-23 19:24:37 +02:00
|
|
|
</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>
|
2023-04-06 12:49:37 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.cyclonedx</groupId>
|
|
|
|
<artifactId>cyclonedx-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>makeAggregateBom</goal>
|
|
|
|
</goals>
|
2024-04-18 09:44:07 +02:00
|
|
|
<configuration>
|
|
|
|
<!-- PMD is released in two phases: first everything without pmd-cli/pmd-dist
|
|
|
|
(profile cli-dist-modules disabled), and then only pmd-cli/pmd-dist.
|
|
|
|
The BOM for the main artifact net.sourceforge.pmd:pmd is created and published
|
|
|
|
in the first phase and doesn't contain pmd-cli/pmd-dist. In order to be able
|
|
|
|
to reproduce the BOM, we exclude this two modules always.
|
|
|
|
-->
|
|
|
|
<excludeArtifactId>
|
|
|
|
<artifactId>pmd-cli</artifactId>
|
|
|
|
<artifactId>pmd-dist</artifactId>
|
|
|
|
</excludeArtifactId>
|
|
|
|
</configuration>
|
2023-04-06 12:49:37 +02:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2024-04-04 15:20:15 +02:00
|
|
|
<!-- Enable japicmp for all modules by default -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.siom79.japicmp</groupId>
|
|
|
|
<artifactId>japicmp-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2014-10-03 21:00:28 +02:00
|
|
|
</plugins>
|
2014-10-02 19:09:58 +02:00
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2016-03-29 19:49:04 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
|
|
<version>${antlr.version}</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>
|
2022-07-22 10:53:58 -03:00
|
|
|
<groupId>info.picocli</groupId>
|
|
|
|
<artifactId>picocli</artifactId>
|
2024-03-07 09:38:37 +01:00
|
|
|
<version>4.7.5</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2022-11-25 01:24:10 -03:00
|
|
|
<groupId>me.tongfei</groupId>
|
|
|
|
<artifactId>progressbar</artifactId>
|
2024-03-07 12:26:10 +01:00
|
|
|
<version>0.9.5</version>
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ow2.asm</groupId>
|
|
|
|
<artifactId>asm</artifactId>
|
2024-07-11 12:13:42 +02:00
|
|
|
<version>9.7</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>
|
2024-08-05 03:18:42 +00:00
|
|
|
<version>4.0.2</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>
|
2022-08-09 20:27:01 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-ant</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2022-05-20 20:12:42 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-test-schema</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>
|
2024-03-07 09:40:24 +01:00
|
|
|
<version>2.11.1</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>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2024-03-07 09:40:39 +01:00
|
|
|
<version>3.14.0</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>
|
2024-07-29 03:54:56 +00:00
|
|
|
<version>1.12.0</version>
|
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>
|
2014-10-02 19:09:58 +02:00
|
|
|
</dependency>
|
2016-09-02 17:34:44 -03:00
|
|
|
<dependency>
|
2023-10-21 02:07:56 -03:00
|
|
|
<groupId>org.apache.groovy</groupId>
|
2016-09-02 17:34:44 -03:00
|
|
|
<artifactId>groovy</artifactId>
|
2024-03-07 09:41:06 +01:00
|
|
|
<version>4.0.19</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>
|
2024-03-07 09:41:21 +01:00
|
|
|
<version>2.10.1</version>
|
2021-12-20 10:39:17 +01:00
|
|
|
</dependency>
|
2021-12-20 10:43:05 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.yaml</groupId>
|
|
|
|
<artifactId>snakeyaml</artifactId>
|
2023-10-21 02:10:18 -03:00
|
|
|
<version>2.2</version>
|
2021-12-20 10:43:05 +01:00
|
|
|
</dependency>
|
2023-06-24 20:45:07 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
2024-02-13 19:00:45 +01:00
|
|
|
<version>33.0.0-jre</version>
|
2023-06-24 20:45:07 +02:00
|
|
|
</dependency>
|
2021-12-20 10:39:17 +01:00
|
|
|
|
2024-03-07 09:42:46 +01:00
|
|
|
<!-- scala-reflect and scala-library needed by pmd-apex via apex-link -->
|
2023-09-29 14:17:20 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
|
<artifactId>scala-reflect</artifactId>
|
2024-03-07 09:42:46 +01:00
|
|
|
<version>2.13.13</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
|
<artifactId>scala-library</artifactId>
|
|
|
|
<version>2.13.13</version>
|
2023-09-29 14:17:20 +02:00
|
|
|
</dependency>
|
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>
|
|
|
|
|
2024-03-07 10:06:29 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.oowekyala.ooxml</groupId>
|
|
|
|
<artifactId>nice-xml-messages</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
</dependency>
|
|
|
|
|
2020-07-02 15:12:31 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.oowekyala.treeutils</groupId>
|
|
|
|
<artifactId>tree-matchers</artifactId>
|
|
|
|
<version>2.1.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.oowekyala.treeutils</groupId>
|
|
|
|
<artifactId>tree-printers</artifactId>
|
|
|
|
<version>2.1.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
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
|
|
|
|
2022-04-29 16:48:09 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit</groupId>
|
|
|
|
<artifactId>junit-bom</artifactId>
|
2024-03-07 09:49:23 +01:00
|
|
|
<version>${junit5.version}</version>
|
2022-04-29 16:48:09 +02:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
2022-04-29 18:21:55 +02:00
|
|
|
|
2022-05-20 14:28:46 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
<artifactId>junit-platform-suite</artifactId>
|
2024-03-07 09:43:06 +01:00
|
|
|
<version>1.10.2</version>
|
2022-05-20 14:28:46 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2022-04-29 18:21:55 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.stefanbirkner</groupId>
|
|
|
|
<artifactId>system-lambda</artifactId>
|
|
|
|
<version>1.2.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2020-05-11 15:25:07 +03:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
2023-01-10 12:09:01 +01:00
|
|
|
<version>4.11.0</version>
|
2020-05-11 15:25:07 +03:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2023-10-18 17:24:01 +02:00
|
|
|
<!-- byte-buddy is used by mockito.
|
|
|
|
Using a newer version than the one from mockito 4.11.0 for Java 21 compatibility
|
|
|
|
At least byte-buddy 1.14.3 is required for Java 21.
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.bytebuddy</groupId>
|
|
|
|
<artifactId>byte-buddy</artifactId>
|
2024-03-07 09:43:27 +01:00
|
|
|
<version>1.14.12</version>
|
2023-10-18 17:24:01 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.bytebuddy</groupId>
|
|
|
|
<artifactId>byte-buddy-agent</artifactId>
|
2024-08-19 03:50:15 +00:00
|
|
|
<version>1.14.19</version>
|
2023-10-18 17:24:01 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2020-05-11 15:25:07 +03:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.stefanbirkner</groupId>
|
|
|
|
<artifactId>system-rules</artifactId>
|
|
|
|
<version>1.19.0</version>
|
|
|
|
<scope>test</scope>
|
2021-07-29 11:24:49 +02:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit-dep</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2020-05-11 15:25:07 +03:00
|
|
|
</dependency>
|
|
|
|
|
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>
|
2022-07-22 06:30:39 +00:00
|
|
|
<scope>runtime</scope>
|
2018-08-21 18:47:21 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
2022-07-22 06:30:39 +00:00
|
|
|
<scope>runtime</scope>
|
2018-08-21 18:47:21 +02:00
|
|
|
</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>
|
2023-01-27 11:49:03 +01:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2018-08-21 18:47:21 +02:00
|
|
|
</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>
|
2023-01-27 11:49:03 +01:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2020-07-02 14:16:39 +02:00
|
|
|
</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>
|
2020-07-02 14:16:39 +02:00
|
|
|
</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>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
2024-03-07 09:43:44 +01:00
|
|
|
<version>24.1.0</version>
|
2018-08-21 18:47:21 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-06-09 16:19:28 +02:00
|
|
|
|
2022-06-09 16:22:29 +02:00
|
|
|
<!-- transitive dependency through org.scalameta:trees_2.13
|
|
|
|
upgrade to 3.16.1 to fix CVE-2021-22569 A potential Denial of Service issue in protobuf-java
|
|
|
|
https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-wrvw-hg22-4m67
|
2022-10-06 10:03:25 +02:00
|
|
|
upgrade to 3.16.3 to fix CVE-2022-3171 protobuf-java has a potential Denial of Service issue
|
|
|
|
https://github.com/advisories/GHSA-h4h5-3hr4-j3g2
|
2022-06-09 16:22:29 +02:00
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
2024-03-07 09:43:59 +01:00
|
|
|
<version>3.25.3</version>
|
2022-06-09 16:22:29 +02:00
|
|
|
</dependency>
|
2023-01-20 20:13:48 +01:00
|
|
|
|
|
|
|
<!-- Make sure to use the correct version the JUnit5 needs. E.g. 5.8.2 needs 1.8.2
|
|
|
|
Kotest might bring a wrong version.
|
|
|
|
see junit5.version -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
<artifactId>junit-platform-commons</artifactId>
|
|
|
|
<version>1.8.2</version>
|
|
|
|
<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>
|
2022-06-10 12:12:41 +02:00
|
|
|
<pluginRepository>
|
|
|
|
<id>apache.snapshots</id>
|
|
|
|
<name>Apache Snapshot Repository</name>
|
|
|
|
<url>https://repository.apache.org/snapshots</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
2015-08-31 19:41:51 +02:00
|
|
|
</pluginRepositories>
|
|
|
|
|
2014-10-02 19:09:58 +02:00
|
|
|
<profiles>
|
2022-04-15 20:26:25 +02:00
|
|
|
<profile>
|
|
|
|
<!-- Adds an SLF4J implementation, useful when developing within an IDE -->
|
|
|
|
<id>with-slf4j-impl</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
2022-07-25 20:07:11 +02:00
|
|
|
|
2022-07-19 23:17:39 -03:00
|
|
|
<profile>
|
|
|
|
<id>Java 18+</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>[18,)</jdk>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
2022-07-25 20:07:11 +02:00
|
|
|
<!-- java.security.manager=allow is needed under Java 18+ for usages of com.github.stefanbirkner.systemlambda.SystemLambda.catchSystemExit -->
|
2022-07-19 23:17:39 -03:00
|
|
|
<extraArgLine>-Djava.security.manager=allow</extraArgLine>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
2014-10-02 19:09:58 +02:00
|
|
|
<profile>
|
|
|
|
<id>pmd-release</id>
|
|
|
|
<properties>
|
2023-03-30 11:52:18 +02:00
|
|
|
<pmd.website.baseurl>https://docs.pmd-code.org/pmd-doc-${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>
|
2024-03-07 08:59:23 +01:00
|
|
|
<version>3.1.0</version>
|
2017-02-24 20:00:01 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
</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>
|
2024-03-07 21:18:46 +01:00
|
|
|
<failOnWarnings>true</failOnWarnings>
|
2016-12-03 22:39:30 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2017-07-08 12:25:54 +02:00
|
|
|
|
|
|
|
<profile>
|
2024-02-23 10:56:30 +01:00
|
|
|
<!-- skips many plugins. Useful for sonar and coveralls and reproducible builds -->
|
|
|
|
<id>fastSkip</id>
|
|
|
|
<properties>
|
|
|
|
<maven.javadoc.skip>true</maven.javadoc.skip>
|
|
|
|
<maven.source.skip>true</maven.source.skip>
|
|
|
|
<checkstyle.skip>true</checkstyle.skip>
|
|
|
|
<pmd.skip>true</pmd.skip>
|
|
|
|
<cpd.skip>true</cpd.skip>
|
|
|
|
<cyclonedx.skip>true</cyclonedx.skip>
|
|
|
|
<dokka.skip>true</dokka.skip>
|
2024-04-04 15:20:15 +02:00
|
|
|
<japicmp.skip>true</japicmp.skip>
|
2024-02-23 10:56:30 +01:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<!--
|
|
|
|
Configuration: https://docs.coveralls.io/java | https://github.com/hazendaz/coveralls-maven-plugin
|
|
|
|
Report is available here: https://coveralls.io/github/pmd/pmd -->
|
2017-07-08 12:25:54 +02:00
|
|
|
<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>
|
2024-02-23 10:56:30 +01:00
|
|
|
<groupId>com.github.hazendaz.maven</groupId>
|
2017-07-08 12:25:54 +02:00
|
|
|
<artifactId>coveralls-maven-plugin</artifactId>
|
2024-02-23 10:56:30 +01:00
|
|
|
<version>4.5.0-M3</version>
|
2017-07-08 12:25:54 +02:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-09-02 12:15:45 +02:00
|
|
|
|
|
|
|
<profile>
|
2024-01-18 08:32:27 +01:00
|
|
|
<!--
|
|
|
|
Configuration: https://docs.sonarsource.com/sonarcloud/advanced-setup/ci-based-analysis/sonarscanner-for-maven/
|
|
|
|
Report is available here: https://sonarcloud.io/dashboard?id=net.sourceforge.pmd%3Apmd
|
|
|
|
-->
|
2018-09-02 12:15:45 +02:00
|
|
|
<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>
|
2024-01-18 08:32:27 +01:00
|
|
|
<version>3.10.0.2594</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>
|
2018-09-02 12:15:45 +02:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2023-09-29 16:54:12 +02:00
|
|
|
|
|
|
|
<profile>
|
2023-11-16 10:47:49 +01:00
|
|
|
<id>cli-dist-modules</id>
|
2023-09-29 16:54:12 +02:00
|
|
|
<activation>
|
2023-11-16 10:47:49 +01:00
|
|
|
<property>
|
|
|
|
<name>!skip-cli-dist</name>
|
|
|
|
</property>
|
2023-09-29 16:54:12 +02:00
|
|
|
</activation>
|
|
|
|
<modules>
|
|
|
|
<module>pmd-cli</module>
|
|
|
|
<module>pmd-dist</module>
|
|
|
|
</modules>
|
|
|
|
</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</module>
|
2023-03-23 11:55:16 +01:00
|
|
|
<module>pmd-coco</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>
|
2018-10-28 20:00:29 +01:00
|
|
|
<module>pmd-doc</module>
|
2014-10-08 21:00:06 +02:00
|
|
|
<module>pmd-fortran</module>
|
2022-06-01 15:11:08 +02:00
|
|
|
<module>pmd-gherkin</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>
|
2022-04-22 14:37:25 +02:00
|
|
|
<module>pmd-html</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>
|
2023-02-22 05:36:11 +01:00
|
|
|
<module>pmd-julia</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-08-01 17:53:45 +02:00
|
|
|
<module>pmd-scala-modules/pmd-scala-common</module>
|
|
|
|
<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>
|
2022-05-17 23:32:57 +02:00
|
|
|
<module>pmd-test-schema</module>
|
2023-02-16 20:53:46 +01:00
|
|
|
<module>pmd-tsql</module>
|
2024-02-23 16:32:35 +01:00
|
|
|
<module>pmd-velocity</module>
|
2017-03-01 00:25:22 -03:00
|
|
|
<module>pmd-visualforce</module>
|
2014-10-08 21:00:06 +02:00
|
|
|
<module>pmd-xml</module>
|
2022-08-09 20:27:01 +02:00
|
|
|
<module>pmd-ant</module>
|
2023-04-06 10:17:04 +02:00
|
|
|
<module>pmd-languages-deps</module>
|
2013-01-13 19:17:44 +01:00
|
|
|
</modules>
|
|
|
|
</project>
|