Skip to content

Commit

Permalink
Disable unit tests for Nashorn if on Java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlauer committed Oct 27, 2023
1 parent 0fe6b39 commit 2ce6b35
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion blaze-nashorn/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<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>
<groupId>com.fizzed</groupId>
<artifactId>blaze-nashorn</artifactId>
<packaging>jar</packaging>

Expand All @@ -14,6 +13,19 @@
<properties>
<main.java.package>com.fizzed.blaze.nashorn</main.java.package>
</properties>

<!-- disable running tests for this module on Java 8, nashorn only works on 11+ -->
<profiles>
<profile>
<id>java8-settings</id>
<activation>
<jdk>[1.3,1.8]</jdk>
</activation>
<properties>
<maven.test.skip>true</maven.test.skip>
</properties>
</profile>
</profiles>

<dependencies>

Expand Down

0 comments on commit 2ce6b35

Please sign in to comment.