Skip to content

Commit

Permalink
JBERET-569 add dependency nashorn-core for javascript support (#250) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
chengfang authored Jul 7, 2022
1 parent 1b808ae commit 394c6e3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<version.dom4j>1.6.1</version.dom4j>
<version.org.apache.xmlbeans>3.1.0</version.org.apache.xmlbeans>

<version.org.openjdk.nashorn>15.4</version.org.openjdk.nashorn>
<version.org.apache.groovy>4.0.3</version.org.apache.groovy>
<version.org.jruby.jruby>9.0.0.0</version.org.jruby.jruby>
<version.org.python.jython>2.7-b1</version.org.python.jython>
Expand Down Expand Up @@ -655,6 +656,12 @@
</dependency>

<!-- Scripting testing dependency -->
<dependency>
<groupId>org.openjdk.nashorn</groupId>
<artifactId>nashorn-core</artifactId>
<version>${version.org.openjdk.nashorn}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-jsr223</artifactId>
Expand Down
10 changes: 8 additions & 2 deletions test-apps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,16 @@

<profiles>
<profile>
<id>jdk10</id>
<id>jdk10-or-above</id>
<activation>
<jdk>10</jdk>
<jdk>[10,]</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.openjdk.nashorn</groupId>
<artifactId>nashorn-core</artifactId>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
Expand Down

0 comments on commit 394c6e3

Please sign in to comment.