You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2019/08/29 12:56:02 UTC

[flink] 02/02: [s3] add jaxb test dependency

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

commit 343e7a652789ec5c757543510eb36f0266f30d8f
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Thu Aug 29 14:54:28 2019 +0200

    [s3] add jaxb test dependency
---
 flink-filesystems/flink-fs-hadoop-shaded/pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/flink-filesystems/flink-fs-hadoop-shaded/pom.xml b/flink-filesystems/flink-fs-hadoop-shaded/pom.xml
index 5a47cea..e72261b 100644
--- a/flink-filesystems/flink-fs-hadoop-shaded/pom.xml
+++ b/flink-filesystems/flink-fs-hadoop-shaded/pom.xml
@@ -260,4 +260,22 @@ under the License.
 			</plugin>
 		</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>
+					<scope>test</scope>
+				</dependency>
+			</dependencies>
+		</profile>
+	</profiles>
 </project>