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 75f39ce [FLINK-10051][tests][sql] Add missing dependencies for sql client E2E test 75f39ce is described below commit 75f39ce8b5c792fdeadef9fc117c04ab17660d40 Author: Chesnay <ches...@apache.org> AuthorDate: Mon Aug 6 10:56:35 2018 +0200 [FLINK-10051][tests][sql] Add missing dependencies for sql client E2E test --- .../flink-sql-client-test/pom.xml | 63 +++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) diff --git a/flink-end-to-end-tests/flink-sql-client-test/pom.xml b/flink-end-to-end-tests/flink-sql-client-test/pom.xml index 46bc2ba..ec5a0e1 100644 --- a/flink-end-to-end-tests/flink-sql-client-test/pom.xml +++ b/flink-end-to-end-tests/flink-sql-client-test/pom.xml @@ -42,8 +42,67 @@ under the License. <artifactId>scala-compiler</artifactId> <scope>provided</scope> </dependency> + + <!-- The following dependencies are for connector/format sql-jars that + we copy using the maven-dependency-plugin. When extending the test + to cover more connectors/formats, add a dependency here and an entry + to the dependency-plugin configuration below. + This ensures that all modules we actually need (as defined by the + dependency-plugin configuration) are built before this module. --> + <dependency> + <!-- Used by maven-dependency-plugin --> + <groupId>org.apache.flink</groupId> + <artifactId>flink-avro</artifactId> + <version>${project.version}</version> + <classifier>sql-jar</classifier> + <scope>provided</scope> + </dependency> + <dependency> + <!-- Used by maven-dependency-plugin --> + <groupId>org.apache.flink</groupId> + <artifactId>flink-json</artifactId> + <version>${project.version}</version> + <classifier>sql-jar</classifier> + <scope>provided</scope> + </dependency> + <dependency> + <!-- Used by maven-dependency-plugin --> + <groupId>org.apache.flink</groupId> + <artifactId>flink-connector-kafka-0.9_${scala.binary.version}</artifactId> + <version>${project.version}</version> + <classifier>sql-jar</classifier> + <scope>provided</scope> + </dependency> + <dependency> + <!-- Used by maven-dependency-plugin --> + <groupId>org.apache.flink</groupId> + <artifactId>flink-connector-kafka-0.10_${scala.binary.version}</artifactId> + <version>${project.version}</version> + <classifier>sql-jar</classifier> + <scope>provided</scope> + </dependency> + <dependency> + <!-- Used by maven-dependency-plugin --> + <groupId>org.apache.flink</groupId> + <artifactId>flink-connector-kafka-0.11_${scala.binary.version}</artifactId> + <version>${project.version}</version> + <classifier>sql-jar</classifier> + <scope>provided</scope> + </dependency> </dependencies> + <dependencyManagement> + <dependencies> + <dependency> + <!-- Pick an arbitrary version here to satisfy the enforcer-plugin, + as we neither access nor package the kafka dependencies --> + <groupId>org.apache.kafka</groupId> + <artifactId>kafka-clients</artifactId> + <version>0.11.0.2</version> + </dependency> + </dependencies> + </dependencyManagement> + <build> <plugins> <!-- Build toolbox jar. --> @@ -76,7 +135,9 @@ under the License. </goals> <configuration> <outputDirectory>${project.build.directory}/sql-jars</outputDirectory> - <!-- List of currently provided SQL jars. --> + <!-- List of currently provided SQL jars. + When extending this list please also add a dependency + for the respective module. --> <artifactItems> <artifactItem> <groupId>org.apache.flink</groupId>