| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <parent> |
| <artifactId>flink-end-to-end-tests</artifactId> |
| <groupId>org.apache.flink</groupId> |
| <version>1.11-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>flink-sql-client-test</artifactId> |
| <name>flink-sql-client-test</name> |
| <packaging>jar</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-table-common</artifactId> |
| <version>${project.version}</version> |
| <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-csv</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-sql-connector-kafka-0.10_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <!-- Used by maven-dependency-plugin --> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-sql-connector-kafka-0.11_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <!-- Used by maven-dependency-plugin --> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-sql-connector-kafka_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <!-- Used by maven-dependency-plugin --> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-sql-connector-elasticsearch6_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <!-- Used by maven-dependency-plugin --> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-sql-connector-elasticsearch7_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <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>2.2.2</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <plugins> |
| <!-- Build toolbox jar. --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <finalName>SqlToolbox</finalName> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- Copy SQL jars into dedicated "sql-jars" directory. --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/sql-jars</outputDirectory> |
| <!-- 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> |
| <artifactId>flink-avro</artifactId> |
| <version>${project.version}</version> |
| <classifier>sql-jar</classifier> |
| <type>jar</type> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-sql-connector-kafka-0.10_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <type>jar</type> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-sql-connector-kafka-0.11_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <type>jar</type> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-sql-connector-kafka_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <type>jar</type> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-sql-connector-elasticsearch6_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <type>jar</type> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-sql-connector-elasticsearch7_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <type>jar</type> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |