2018-10-12 12:21:56 +01: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-kotlin</artifactId>
|
|
|
|
<name>PMD Kotlin</name>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<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>
|
2018-10-12 12:21:56 +01:00
|
|
|
</parent>
|
|
|
|
|
2021-09-07 16:17:58 +02:00
|
|
|
<properties>
|
|
|
|
<antlr4.visitor>true</antlr4.visitor>
|
|
|
|
</properties>
|
|
|
|
|
2018-10-12 12:21:56 +01:00
|
|
|
<build>
|
2021-11-25 15:20:29 +01:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2018-10-12 12:21:56 +01:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2020-08-30 18:59:48 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>antlr-cleanup</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
2021-09-08 18:37:00 +02:00
|
|
|
<ant antfile="${antlr4.ant.wrapper}" target="pmd-language">
|
2020-08-30 18:59:48 +02:00
|
|
|
<property name="lang-name" value="Kotlin" />
|
2024-02-23 17:45:23 +01:00
|
|
|
<property name="lang-id" value="kotlin" />
|
2022-03-03 20:58:46 +01:00
|
|
|
<property name="root-node-name" value="KotlinFile" />
|
2021-09-07 16:17:58 +02:00
|
|
|
<property name="node-prefix" value="Kt" />
|
2020-08-30 18:59:48 +02:00
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-10-12 12:21:56 +01:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
|
|
|
<delimiters>
|
|
|
|
<delimiter>${*}</delimiter>
|
|
|
|
</delimiters>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2024-04-04 15:20:15 +02:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.siom79.japicmp</groupId>
|
|
|
|
<artifactId>japicmp-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<parameter>
|
|
|
|
<excludes combine.children="append">
|
|
|
|
<exclude>net.sourceforge.pmd.lang.kotlin.rule.xpath.internal</exclude>
|
|
|
|
</excludes>
|
|
|
|
</parameter>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-10-12 12:21:56 +01:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-07-02 15:12:31 +02:00
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
2018-10-12 12:21:56 +01:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2022-07-29 17:21:34 +02:00
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
2018-10-12 12:21:56 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-06-13 22:04:06 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
|
|
<artifactId>pmd-lang-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-10-12 12:21:56 +01:00
|
|
|
</dependencies>
|
|
|
|
</project>
|