Skip to content

Commit

Permalink
[FLINK-12117][cassandra] Disable tests on Java 9
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Apr 17, 2019
1 parent 7fba616 commit dd4566d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
21 changes: 21 additions & 0 deletions flink-connectors/flink-connector-cassandra/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion tools/travis/stage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dd4566d

Please sign in to comment.