2014-10-04 18:56:33 +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-jsp</artifactId>
|
|
|
|
<name>PMD JSP</name>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
2014-10-08 22:52:25 +02:00
|
|
|
<artifactId>pmd</artifactId>
|
2018-09-30 10:10:21 +02:00
|
|
|
<version>6.9.0-SNAPSHOT</version>
|
2014-10-04 18:56:33 +02:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<build>
|
2014-10-08 22:31:29 +02:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2014-10-04 18:56:33 +02:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
|
|
|
<delimiters>
|
|
|
|
<delimiter>${*}</delimiter>
|
|
|
|
</delimiters>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-sources</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<ant antfile="src/main/ant/alljavacc.xml">
|
|
|
|
<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" />
|
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2014-10-12 19:50:25 +02:00
|
|
|
<execution>
|
|
|
|
<id>pmd-clean</id>
|
|
|
|
<phase>clean</phase>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
2015-03-15 14:59:55 +01:00
|
|
|
<echo>PMD specific tasks: cleaning generated markdown</echo>
|
2014-10-12 19:50:25 +02:00
|
|
|
<delete quiet="true">
|
2015-03-15 14:59:55 +01:00
|
|
|
<fileset dir="${basedir}/src/site/markdown/rules/" includes="**/*.md" />
|
|
|
|
<fileset dir="${basedir}/src/site/markdown/" includes="mergedruleset.xml" />
|
2014-10-12 19:50:25 +02:00
|
|
|
<fileset dir="${basedir}/src/site/" includes="site.xml" />
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2014-10-04 18:56:33 +02:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.java.dev.javacc</groupId>
|
|
|
|
<artifactId>javacc</artifactId>
|
|
|
|
</dependency>
|
2014-10-12 09:39:43 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-core</artifactId>
|
|
|
|
</dependency>
|
2017-09-23 22:27:34 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.saxon</groupId>
|
|
|
|
<artifactId>saxon</artifactId>
|
|
|
|
</dependency>
|
2014-10-11 13:26:10 +02:00
|
|
|
|
2017-09-23 22:27:34 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-10-04 18:56:33 +02:00
|
|
|
<dependency>
|
2014-10-11 13:26:10 +02:00
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-test</artifactId>
|
2014-10-04 18:56:33 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|