You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/09/30 14:03:08 UTC

[commons-text] branch master updated: [TEXT-187] add graalvm dependencies in test scope (#171)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git


The following commit(s) were added to refs/heads/master by this push:
     new c9f369b  [TEXT-187] add graalvm dependencies in test scope (#171)
c9f369b is described below

commit c9f369b90657161812d0c902c232688725e496f4
Author: Bruno P. Kinoshita <ki...@users.noreply.github.com>
AuthorDate: Thu Oct 1 03:02:57 2020 +1300

    [TEXT-187] add graalvm dependencies in test scope (#171)
    
    * [TEXT-187]: add graalvm dependencies in test scope
    
    * [TEXT-187]: use a property for graalvm version
    
    * [TEXT-187]: add changelog
---
 pom.xml                 | 14 ++++++++++++++
 src/changes/changes.xml |  1 +
 2 files changed, 15 insertions(+)

diff --git a/pom.xml b/pom.xml
index fda687e..20fbb74 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,6 +58,8 @@
 
     <commons.javadoc.version>3.2.0</commons.javadoc.version>
 
+    <graalvm.version>20.2.0</graalvm.version>
+
     <!-- generate report even if there are binary incompatible changes -->
     <commons.japicmp.breakBuildOnBinaryIncompatibleModifications>true</commons.japicmp.breakBuildOnBinaryIncompatibleModifications>
     <commons.japicmp.version>0.14.3</commons.japicmp.version>
@@ -105,6 +107,18 @@
       <version>${commons.mockito.version}</version>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.graalvm.js</groupId>
+      <artifactId>js</artifactId>
+      <version>${graalvm.version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.graalvm.js</groupId>
+      <artifactId>js-scriptengine</artifactId>
+      <version>${graalvm.version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 54e046e..1d49d2b 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -45,6 +45,7 @@ The <action> type attribute can be add,update,fix,remove.
   </properties>
   <body>
   <release version="1.9.1" date="202Y-MM-DD" description="Release 1.9.1. Requires Java 8.">
+    <action issue="TEXT-187" type="fix" dev="kinow">Add GraalVM test dependencies to fix test failures with Java 15.</action>
     <action                  type="update" dev="kinow" due-to="Dependabot">Bump junit-jupiter from 5.6.2 to 5.7.0 #163.</action>
     <action                  type="update" dev="kinow" due-to="Dependabot">Bump assertj-core from 3.16.1 to 3.17.2 #151 #157 #160.</action>
     <action                  type="update" dev="kinow" due-to="Dependabot">Bump commons-io from 2.7 to 2.8.0 #161.</action>