2014-10-04 18:23:23 +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-javascript</artifactId>
|
|
|
|
<name>PMD JavaScript</name>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
2014-10-08 22:52:25 +02:00
|
|
|
<artifactId>pmd</artifactId>
|
2023-09-30 17:15:59 +02:00
|
|
|
<version>7.0.0-SNAPSHOT</version>
|
2022-06-04 11:00:30 +02:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
2014-10-04 18:23:23 +02:00
|
|
|
</parent>
|
|
|
|
|
2021-04-29 14:59:13 +02:00
|
|
|
<properties>
|
|
|
|
<java.version>8</java.version>
|
|
|
|
</properties>
|
|
|
|
|
2014-10-04 18:23:23 +02:00
|
|
|
<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:23:23 +02:00
|
|
|
<plugins>
|
2023-02-20 17:50:39 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2014-10-04 18:23:23 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
|
|
|
<delimiters>
|
|
|
|
<delimiter>${*}</delimiter>
|
|
|
|
</delimiters>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2016-06-06 09:31:04 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-sources</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
2020-03-17 18:00:23 +01:00
|
|
|
<ant antfile="${javacc.ant.wrapper}" target="alljavacc">
|
2023-04-29 23:39:28 +02:00
|
|
|
<property name="no-jjtree" value="true" /> <!-- This is a CPD module -->
|
2020-03-17 18:00:23 +01:00
|
|
|
<property name="lang-name" value="Ecmascript5" />
|
|
|
|
<property name="lang-terse-name" value="ecmascript5" />
|
2020-01-02 17:41:27 +01:00
|
|
|
<property name="javacc.jar" value="${javacc.jar}" />
|
2016-06-06 09:31:04 +02:00
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</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>
|
2023-04-04 19:09:15 +02:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<suppressionsLocation>pmd-javascript-checkstyle-suppressions.xml</suppressionsLocation>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-10-04 18:23:23 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
2014-10-08 22:52:25 +02:00
|
|
|
<artifactId>pmd-core</artifactId>
|
2014-10-04 18:23:23 +02:00
|
|
|
</dependency>
|
2023-02-20 17:50:39 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
|
|
</dependency>
|
2014-10-11 13:26:10 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mozilla</groupId>
|
|
|
|
<artifactId>rhino</artifactId>
|
2022-01-13 14:38:28 +01:00
|
|
|
<version>1.7.14</version>
|
2014-10-11 13:26:10 +02:00
|
|
|
</dependency>
|
2020-05-22 11:36:49 +02:00
|
|
|
|
2017-09-23 22:27:34 +02:00
|
|
|
<dependency>
|
2022-07-07 17:47:07 +02:00
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
2020-05-22 11:37:22 +02:00
|
|
|
<scope>test</scope>
|
2017-09-23 22:27:34 +02:00
|
|
|
</dependency>
|
2014-10-04 18:23:23 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-01-10 12:12:34 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-lang-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-10-04 18:23:23 +02:00
|
|
|
</dependencies>
|
|
|
|
</project>
|