You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by kr...@apache.org on 2019/03/29 21:06:39 UTC

[calcite-avatica] branch master updated: [CALCITE-2961] Enable Travis to test against JDK 13

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

krisden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git


The following commit(s) were added to refs/heads/master by this push:
     new 1f8a213  [CALCITE-2961] Enable Travis to test against JDK 13
1f8a213 is described below

commit 1f8a21354d73af14c50d946c3c82edd94f5c44c3
Author: Kevin Risden <kr...@apache.org>
AuthorDate: Fri Mar 29 15:16:45 2019 -0400

    [CALCITE-2961] Enable Travis to test against JDK 13
    
    Signed-off-by: Kevin Risden <kr...@apache.org>
---
 .travis.yml |  1 +
 pom.xml     | 11 +++++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 35c45f4..ef0dad7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,7 @@ language: java
 matrix:
   fast_finish: true
   include:
+    - env: IMAGE=maven:3-jdk-13
     - env: IMAGE=maven:3-jdk-12
     - env: IMAGE=maven:3-jdk-11 ERRORPRONE="-P ErrorProne"
     - env: IMAGE=maven:3-jdk-10
diff --git a/pom.xml b/pom.xml
index 1693ae4..e8aff9f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,6 +63,7 @@ limitations under the License.
 
     <!-- This list is in alphabetical order. -->
     <apache-rat-plugin.version>0.13</apache-rat-plugin.version>
+    <asm.version>7.1</asm.version>
     <bouncycastle.version>1.60</bouncycastle.version>
     <build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version>
     <!-- Needed for JDK 10 javadoc for [LANG-1365] -->
@@ -700,8 +701,14 @@ limitations under the License.
               <groupId>com.github.spotbugs</groupId>
               <artifactId>spotbugs</artifactId>
               <version>${spotbugs.version}</version>
-    </dependency>
-  </dependencies>
+            </dependency>
+            <!-- Upgrade ASM to 7.1 to support JDK 13. Remove when spotbugs upgrades -->
+            <dependency>
+              <groupId>org.ow2.asm</groupId>
+              <artifactId>asm</artifactId>
+              <version>${asm.version}</version>
+            </dependency>
+          </dependencies>
         </plugin>
       </plugins>
     </pluginManagement>