Disable Scala for jdk9 builds for now (see #1314 Enable Scala for JDK9)

This commit is contained in:
Andreas Dangel 2015-02-20 20:05:38 +01:00
parent 21d7ebb809
commit 96b425be46
2 changed files with 34 additions and 6 deletions

View File

@ -128,11 +128,6 @@
<artifactId>pmd-ruby</artifactId> <artifactId>pmd-ruby</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-scala</artifactId>
<version>${project.version}</version>
</dependency>
<dependency> <dependency>
<groupId>net.sourceforge.pmd</groupId> <groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-vm</artifactId> <artifactId>pmd-vm</artifactId>
@ -144,4 +139,24 @@
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
<profiles>
<profile>
<id>jdk9-disabled</id>
<activation>
<jdk>!1.9</jdk>
</activation>
<dependencies>
<!--
https://issues.scala-lang.org/browse/SI-9103
https://sourceforge.net/p/pmd/bugs/1314/
-->
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-scala</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project> </project>

15
pom.xml
View File

@ -846,6 +846,20 @@
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile>
<id>jdk9-disabled</id>
<activation>
<jdk>!1.9</jdk>
</activation>
<modules>
<!--
https://issues.scala-lang.org/browse/SI-9103
https://sourceforge.net/p/pmd/bugs/1314/
-->
<module>pmd-scala</module>
</modules>
</profile>
</profiles> </profiles>
<modules> <modules>
@ -864,7 +878,6 @@
<module>pmd-plsql</module> <module>pmd-plsql</module>
<module>pmd-python</module> <module>pmd-python</module>
<module>pmd-ruby</module> <module>pmd-ruby</module>
<module>pmd-scala</module>
<module>pmd-test</module> <module>pmd-test</module>
<module>pmd-vm</module> <module>pmd-vm</module>
<module>pmd-xml</module> <module>pmd-xml</module>