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

chesnay pushed a commit to branch java11_test
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/java11_test by this push:
     new bcf64ba  presto
bcf64ba is described below

commit bcf64bac4952242d264d98877c044a2903ef4a41
Author: Chesnay Schepler <ches...@apache.org>
AuthorDate: Mon Sep 2 14:49:57 2019 +0200

    presto
---
 flink-filesystems/flink-s3-fs-presto/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/flink-filesystems/flink-s3-fs-presto/pom.xml 
b/flink-filesystems/flink-s3-fs-presto/pom.xml
index dd9c03b..5c19c2a 100644
--- a/flink-filesystems/flink-s3-fs-presto/pom.xml
+++ b/flink-filesystems/flink-s3-fs-presto/pom.xml
@@ -249,6 +249,10 @@ under the License.
                                                        <relocations>
                                                                <!-- relocate 
the references to Hadoop to match the pre-shaded hadoop artifact -->
                                                                <relocation>
+                                                                       
<pattern>javax.xml.bind</pattern>
+                                                                       
<shadedPattern>org.apache.flink.fs.shaded.hadoop3.javax.xml.bind</shadedPattern>
+                                                               </relocation>
+                                                               <relocation>
                                                                        
<pattern>org.apache.hadoop</pattern>
                                                                        
<shadedPattern>org.apache.flink.fs.shaded.hadoop3.org.apache.hadoop</shadedPattern>
                                                                </relocation>
@@ -324,4 +328,21 @@ under the License.
                </plugins>
        </build>
 
+       <profiles>
+               <profile>
+                       <id>java11</id>
+                       <activation>
+                               <jdk>11</jdk>
+                       </activation>
+                       <dependencies>
+                               <dependency>
+                                       <!-- Hadoop requires jaxb-api for 
javax.xml.bind.JAXBException -->
+                                       <groupId>javax.xml.bind</groupId>
+                                       <artifactId>jaxb-api</artifactId>
+                                       <version>2.3.0</version>
+                               </dependency>
+                       </dependencies>
+               </profile>
+       </profiles>
+
 </project>

Reply via email to