Skip to content

Conversation

@zentol
Copy link
Contributor

@zentol zentol commented Aug 3, 2018

What is the purpose of the change

This PR adds missing dependencies to the sql-client end-to-end test.

The sql-client end-to-end test uses the dependency-plugin to copy a few jars into the /target directory. However since the module doesn't define dependencies on these jars there's no guarantee that these jars are built before the test, or even at all. This caused the tests to fail, since the kafka 0.11 connector wasn't at all and also wasn't available in the SNAPSHOT repository.

Brief change log

add dependencies for all kafka connectors, avro and json.

Verifying this change

flink-ci build: https://travis-ci.org/zentol/flink-ci/builds/411803521
I modified the flink version to guard against the issue being obfuscated by existing SNAPSHOT artifacts.

@yanghua
Copy link
Contributor

yanghua commented Aug 4, 2018

+1

Copy link
Contributor

@twalthr twalthr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @zentol. +1 from my side.

<artifactId>scala-compiler</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Add a comment that a new jar has to be added here and in the bottom section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants