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

hulee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git


The following commit(s) were added to refs/heads/master by this push:
     new 9699e95  Fix Maven builds failing on on Java 11 and above (#1424)
9699e95 is described below

commit 9699e951db3140543c77d2df667bf48613c28353
Author: Brent <[email protected]>
AuthorDate: Fri Oct 2 11:40:14 2020 -0700

    Fix Maven builds failing on on Java 11 and above (#1424)
    
    The helix-zookeeper and helix-core subprojects fail to build on later
    versions of Java due to changes in the structure of the JDK starting
    in Java 11. These dependencies on older J2EE packages are no longer
    in the JDK and must now be pulled from Maven directly.
---
 helix-core/pom.xml    | 5 +++++
 zookeeper-api/pom.xml | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/helix-core/pom.xml b/helix-core/pom.xml
index 252fcc1..16214db 100644
--- a/helix-core/pom.xml
+++ b/helix-core/pom.xml
@@ -152,6 +152,11 @@
       <artifactId>httpclient</artifactId>
       <version>4.5.8</version>
     </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>2.1</version>
+    </dependency>
   </dependencies>
   <build>
     <resources>
diff --git a/zookeeper-api/pom.xml b/zookeeper-api/pom.xml
index 3ed35bc..ed37e45 100644
--- a/zookeeper-api/pom.xml
+++ b/zookeeper-api/pom.xml
@@ -94,6 +94,11 @@
       <version>1.7.14</version>
     </dependency>
     <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>1.3.2</version>
+    </dependency>
+    <dependency>
       <groupId>org.testng</groupId>
       <artifactId>testng</artifactId>
       <scope>test</scope>

Reply via email to