2014-10-01 19:46:31 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>pmd-dist</artifactId>
|
2014-10-02 19:09:58 +02:00
|
|
|
<name>PMD Distribution Packages</name>
|
2017-02-14 20:34:09 +01:00
|
|
|
<packaging>jar</packaging>
|
2014-10-01 19:46:31 +02:00
|
|
|
|
|
|
|
<parent>
|
2014-10-02 19:09:58 +02:00
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
2014-10-08 22:52:25 +02:00
|
|
|
<artifactId>pmd</artifactId>
|
2024-10-25 09:28:54 +02:00
|
|
|
<version>7.8.0-SNAPSHOT</version>
|
2022-06-04 11:00:30 +02:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
2014-10-01 19:46:31 +02:00
|
|
|
</parent>
|
|
|
|
|
2018-11-10 20:27:35 +01:00
|
|
|
<properties>
|
|
|
|
<pmd.dist.bin.baseDirectory>pmd-bin-${project.version}</pmd.dist.bin.baseDirectory>
|
|
|
|
</properties>
|
|
|
|
|
2014-10-01 19:46:31 +02:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2024-02-22 12:14:34 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.cyclonedx</groupId>
|
|
|
|
<artifactId>cyclonedx-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<outputName>pmd-${project.version}-cyclonedx</outputName>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-11-10 20:27:35 +01:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-resources</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/extra-resources</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-10-01 19:46:31 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
2023-04-06 11:38:46 +02:00
|
|
|
<appendAssemblyId>true</appendAssemblyId>
|
2014-10-01 19:46:31 +02:00
|
|
|
<attach>false</attach>
|
|
|
|
<archiverConfig>
|
|
|
|
<defaultDirectoryMode>493</defaultDirectoryMode> <!-- 0755 -->
|
|
|
|
</archiverConfig>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>build-bin-dist</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
2018-11-10 20:27:35 +01:00
|
|
|
<descriptor>src/main/resources/assemblies/pmd-bin.xml</descriptor>
|
2014-10-01 19:46:31 +02:00
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>build-src-dist</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
2018-11-10 20:27:35 +01:00
|
|
|
<descriptor>src/main/resources/assemblies/pmd-src.xml</descriptor>
|
2014-10-01 19:46:31 +02:00
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2021-11-18 09:15:23 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-ant</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant</artifactId>
|
2024-03-07 09:37:26 +01:00
|
|
|
<version>${ant.version}</version>
|
2021-11-18 09:15:23 +01:00
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant-launcher</artifactId>
|
2024-03-07 09:37:26 +01:00
|
|
|
<version>${ant.version}</version>
|
2021-11-18 09:15:23 +01:00
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${project.build.directory}/ant</outputDirectory>
|
|
|
|
<stripVersion>true</stripVersion>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-02-14 20:34:09 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2020-08-01 17:53:45 +02:00
|
|
|
<id>failsafe-default</id>
|
2017-02-14 20:34:09 +01:00
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-10-01 19:46:31 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
2020-08-06 11:51:38 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
2023-04-06 10:17:04 +02:00
|
|
|
<artifactId>pmd-core</artifactId>
|
2020-08-06 11:51:38 +02:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2022-08-23 23:18:48 -03:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-cli</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2022-08-09 20:57:41 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-ant</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-08-06 11:51:38 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
2024-02-15 09:01:55 +01:00
|
|
|
<artifactId>pmd-designer</artifactId>
|
2020-08-06 11:51:38 +02:00
|
|
|
<version>${pmd-designer.version}</version>
|
|
|
|
</dependency>
|
2020-12-11 10:30:37 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
2023-04-06 10:17:04 +02:00
|
|
|
<artifactId>pmd-languages-deps</artifactId>
|
2020-12-11 10:30:37 +01:00
|
|
|
<version>${project.version}</version>
|
2023-04-06 10:17:04 +02:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>runtime</scope>
|
2020-12-11 10:30:37 +01:00
|
|
|
</dependency>
|
2018-02-18 19:07:37 +01:00
|
|
|
|
2022-02-17 15:12:39 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2017-09-23 22:27:34 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2022-10-03 16:15:30 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-02-14 20:34:09 +01:00
|
|
|
<dependency>
|
2020-07-02 20:33:32 +02:00
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest</artifactId>
|
2017-02-14 20:34:09 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-02-20 17:51:19 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
2024-11-11 03:35:46 +00:00
|
|
|
<version>1.27.1</version>
|
2017-02-20 17:51:19 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-10-01 19:46:31 +02:00
|
|
|
</dependencies>
|
2015-02-20 20:05:38 +01:00
|
|
|
|
|
|
|
<profiles>
|
2015-06-01 22:16:05 +02:00
|
|
|
<profile>
|
2020-08-06 11:52:07 +02:00
|
|
|
<id>jdk8-compat-it</id>
|
2020-08-01 17:53:45 +02:00
|
|
|
<activation>
|
|
|
|
<property>
|
2020-08-06 11:52:07 +02:00
|
|
|
<name>java8.home</name>
|
2020-08-01 17:53:45 +02:00
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2020-08-06 11:52:07 +02:00
|
|
|
<id>jdk8-compat-it</id>
|
2020-08-01 17:53:45 +02:00
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<environmentVariables>
|
2020-08-06 11:52:07 +02:00
|
|
|
<JAVA_HOME>${java8.home}</JAVA_HOME>
|
|
|
|
<PATH>${java8.home}/bin:${env.PATH}</PATH>
|
2020-08-01 17:53:45 +02:00
|
|
|
</environmentVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2021-11-18 11:10:53 +01:00
|
|
|
<profile>
|
|
|
|
<id>jdk17-compat-it</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java17.home</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>jdk17-compat-it</id>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${java17.home}</JAVA_HOME>
|
|
|
|
<PATH>${java17.home}/bin:${env.PATH}</PATH>
|
|
|
|
</environmentVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2023-08-10 15:32:26 +02:00
|
|
|
<profile>
|
|
|
|
<id>jdk21-compat-it</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java21.home</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>jdk21-compat-it</id>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${java21.home}</JAVA_HOME>
|
|
|
|
<PATH>${java21.home}/bin:${env.PATH}</PATH>
|
|
|
|
</environmentVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2015-02-20 20:05:38 +01:00
|
|
|
</profiles>
|
2014-10-01 19:46:31 +02:00
|
|
|
</project>
|