Add a pmd-ui module, which can use java8 and javafx

This commit is contained in:
Andreas Dangel 2015-06-01 22:16:05 +02:00
parent f9b3f4ce4a
commit ecdcc20bda
3 changed files with 45 additions and 1 deletions

View File

@ -141,6 +141,19 @@
</dependencies>
<profiles>
<profile>
<id>jdk8-modules</id>
<activation>
<jdk>1.8</jdk>
</activation>
<dependencies>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-ui</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>jdk9-disabled</id>
<activation>

30
pmd-ui/pom.xml Normal file
View File

@ -0,0 +1,30 @@
<?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-ui</artifactId>
<name>PMD UI Applications</name>
<parent>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd</artifactId>
<version>5.4.0-SNAPSHOT</version>
</parent>
<properties>
<config.basedir>${basedir}/../pmd-core</config.basedir>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>

View File

@ -778,12 +778,13 @@
</profile>
<profile>
<id>jdk8-integration</id>
<id>jdk8-modules</id>
<activation>
<jdk>1.8</jdk>
</activation>
<modules>
<module>pmd-java8</module>
<module>pmd-ui</module>
</modules>
</profile>