2007-08-30 17:59:08 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2014-02-10 19:49:43 +01:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2011-10-09 10:57:09 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2014-10-08 22:52:25 +02:00
|
|
|
<artifactId>pmd-core</artifactId>
|
2014-10-02 19:09:58 +02:00
|
|
|
<name>PMD Core</name>
|
2011-10-09 10:57:09 +00: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>
|
2020-04-24 10:53:12 +02:00
|
|
|
<version>6.24.0-SNAPSHOT</version>
|
2011-10-09 10:57:09 +00:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
<executions>
|
2012-10-03 21:48:52 +02:00
|
|
|
<execution>
|
2012-10-03 21:51:17 +02:00
|
|
|
<id>generate-sources</id>
|
|
|
|
<phase>generate-sources</phase>
|
2012-10-03 21:48:52 +02:00
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<ant antfile="src/main/ant/alljavacc.xml">
|
2014-02-10 19:49:43 +01:00
|
|
|
<property name="target" value="${project.build.directory}/generated-sources/javacc" />
|
|
|
|
<property name="javacc.jar" value="${settings.localRepository}/net/java/dev/javacc/javacc/${javacc.version}/javacc-${javacc.version}.jar" />
|
2012-10-03 21:48:52 +02:00
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
2011-11-11 22:07:36 +00:00
|
|
|
</execution>
|
2011-10-09 10:57:09 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-12-31 16:01:58 +01:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-javacc-generated-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${project.build.directory}/generated-sources/javacc</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-12-02 09:13:50 +01:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<suppressionsLocation>pmd-core-checkstyle-suppressions.xml</suppressionsLocation>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-06-24 09:27:07 +02:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<artifactSet>
|
|
|
|
<includes>jaxen:jaxen</includes>
|
|
|
|
</artifactSet>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>jaxen:jaxen</artifact>
|
|
|
|
<includes>
|
|
|
|
<include>org/jaxen/**</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>org/w3c/dom/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2011-10-09 10:57:09 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant</artifactId>
|
2014-08-14 21:58:31 +02:00
|
|
|
<scope>provided</scope>
|
2011-10-09 10:57:09 +00:00
|
|
|
</dependency>
|
2018-07-21 20:10:24 -03:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
|
|
</dependency>
|
2011-10-09 10:57:09 +00:00
|
|
|
<dependency>
|
2020-01-24 23:11:18 +01:00
|
|
|
<groupId>com.beust</groupId>
|
|
|
|
<artifactId>jcommander</artifactId>
|
2011-10-09 10:57:09 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-10-12 09:39:43 +02:00
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
2011-10-09 10:57:09 +00:00
|
|
|
</dependency>
|
2012-08-04 17:36:12 +02:00
|
|
|
<dependency>
|
2014-10-12 09:39:43 +02:00
|
|
|
<groupId>jaxen</groupId>
|
|
|
|
<artifactId>jaxen</artifactId>
|
2018-06-25 21:33:59 +02:00
|
|
|
<!--
|
|
|
|
Jaxen is optionally, so that it doesn't get inherited by default.
|
|
|
|
Jaxen is shaded into pmd-core (without org.w3c.dom.UserDataHandler).
|
|
|
|
Adding Jaxen again as a dependency would reintroduce the duplicated
|
|
|
|
org.w3c.dom.UserDataHandler interface.
|
|
|
|
See https://github.com/pmd/pmd/issues/1074
|
|
|
|
and https://github.com/pmd/pmd/pull/1201
|
|
|
|
-->
|
|
|
|
<optional>true</optional>
|
2012-08-04 17:36:12 +02:00
|
|
|
</dependency>
|
2011-10-09 10:57:09 +00:00
|
|
|
<dependency>
|
2014-10-12 09:39:43 +02:00
|
|
|
<groupId>net.java.dev.javacc</groupId>
|
|
|
|
<artifactId>javacc</artifactId>
|
2011-10-09 10:57:09 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.saxon</groupId>
|
|
|
|
<artifactId>saxon</artifactId>
|
|
|
|
</dependency>
|
2014-10-12 09:39:43 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ow2.asm</groupId>
|
|
|
|
<artifactId>asm</artifactId>
|
|
|
|
</dependency>
|
2016-01-02 12:30:49 -08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
2019-01-02 15:18:43 -06:00
|
|
|
<version>2.8.5</version>
|
2016-01-02 12:30:49 -08:00
|
|
|
</dependency>
|
|
|
|
|
2014-10-12 09:39:43 +02:00
|
|
|
|
2012-06-02 12:00:55 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.saxon</groupId>
|
|
|
|
<artifactId>saxon</artifactId>
|
|
|
|
<classifier>dom</classifier>
|
2014-08-14 21:58:31 +02:00
|
|
|
<scope>runtime</scope>
|
2012-06-02 12:00:55 +00:00
|
|
|
</dependency>
|
2014-10-12 09:39:43 +02:00
|
|
|
|
2014-12-10 21:54:17 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.tomakehurst</groupId>
|
|
|
|
<artifactId>wiremock</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-10-09 10:57:09 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2014-08-14 21:58:31 +02:00
|
|
|
<scope>test</scope>
|
2011-10-09 10:57:09 +00:00
|
|
|
</dependency>
|
2018-04-14 03:51:35 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-10-28 19:50:06 -03:00
|
|
|
<dependency>
|
|
|
|
<groupId>pl.pragmatists</groupId>
|
|
|
|
<artifactId>JUnitParams</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-10-09 10:57:09 +00:00
|
|
|
<dependency>
|
2014-10-12 09:39:43 +02:00
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant-testutil</artifactId>
|
|
|
|
<scope>test</scope>
|
2012-12-16 18:15:34 +01:00
|
|
|
</dependency>
|
2013-03-24 17:53:40 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-all</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-03-05 12:22:56 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.stefanbirkner</groupId>
|
|
|
|
<artifactId>system-rules</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-10-09 10:57:09 +00:00
|
|
|
</dependencies>
|
2018-06-26 17:17:43 +02:00
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
2020-01-24 23:11:18 +01:00
|
|
|
<id>m2e</id>
|
|
|
|
<!-- This profile is only activated when building in Eclipse with m2e -->
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>m2e.version</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
2018-06-26 17:17:43 +02:00
|
|
|
<!--
|
|
|
|
the maven-shade-plugin runs during package phase,
|
|
|
|
but inside eclipse, this phase is not executed during development.
|
|
|
|
Therefore this profile adds back the jaxen dependency in eclipse.
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>jaxen</groupId>
|
|
|
|
<artifactId>jaxen</artifactId>
|
|
|
|
<optional>false</optional>
|
|
|
|
</dependency>
|
2020-01-24 23:11:18 +01:00
|
|
|
</dependencies>
|
2018-06-26 17:17:43 +02:00
|
|
|
</profile>
|
2018-06-26 22:17:04 +02:00
|
|
|
<profile>
|
2020-01-24 23:11:18 +01:00
|
|
|
<id>idea</id>
|
|
|
|
<!-- This profile is only activated when building in IntelliJ -->
|
|
|
|
<!-- It serves the same purpose as the above for eclipse-->
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>idea.maven.embedder.version</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
2018-06-26 22:17:04 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>jaxen</groupId>
|
|
|
|
<artifactId>jaxen</artifactId>
|
|
|
|
<optional>false</optional>
|
|
|
|
</dependency>
|
2020-01-24 23:11:18 +01:00
|
|
|
</dependencies>
|
2018-06-26 22:17:04 +02:00
|
|
|
</profile>
|
2018-06-26 17:17:43 +02:00
|
|
|
</profiles>
|
2007-08-30 17:59:08 +00:00
|
|
|
</project>
|