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/04/17 07:57:32 UTC

[flink] branch master updated: [FLINK-12117][cassandra] Disable tests on Java 9

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

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


The following commit(s) were added to refs/heads/master by this push:
     new dd4566d  [FLINK-12117][cassandra] Disable tests on Java 9
dd4566d is described below

commit dd4566de0c935afae9b9064321359b9018319d0f
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Fri Apr 5 12:56:44 2019 +0200

    [FLINK-12117][cassandra] Disable tests on Java 9
---
 flink-connectors/flink-connector-cassandra/pom.xml | 21 +++++++++++++++++++++
 tools/travis/stage.sh                              |  1 -
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/flink-connectors/flink-connector-cassandra/pom.xml b/flink-connectors/flink-connector-cassandra/pom.xml
index f22e945..0218d6e 100644
--- a/flink-connectors/flink-connector-cassandra/pom.xml
+++ b/flink-connectors/flink-connector-cassandra/pom.xml
@@ -41,6 +41,27 @@ under the License.
 		<driver.version>3.0.0</driver.version>
 	</properties>
 
+	<profiles>
+		<profile>
+			<id>java9</id>
+			<activation>
+				<jdk>9</jdk>
+			</activation>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-surefire-plugin</artifactId>
+						<configuration>
+							<!-- cassandra does not support Java 9 -->
+							<skip>true</skip>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
+
 	<build>
 		<plugins>
 			<plugin>
diff --git a/tools/travis/stage.sh b/tools/travis/stage.sh
index 95ba1ff..be2c573 100644
--- a/tools/travis/stage.sh
+++ b/tools/travis/stage.sh
@@ -99,7 +99,6 @@ MODULES_CONNECTORS_JDK9_EXCLUSIONS="\
 !flink-filesystems/flink-s3-fs-presto,\
 !flink-formats/flink-avro,\
 !flink-connectors/flink-hbase,\
-!flink-connectors/flink-connector-cassandra,\
 !flink-connectors/flink-connector-kafka-0.9,\
 !flink-connectors/flink-connector-kafka-0.10,\
 !flink-connectors/flink-connector-kafka-0.11"