|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
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/maven-v4_0_0.xsd">
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
|
|
|
<artifactId>flink-formats</artifactId>
|
|
|
|
<version>2.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>flink-protobuf</artifactId>
|
|
|
|
<name>Flink : Formats : Protobuf</name>
|
|
|
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- the same with flink-table/pom.xml -->
|
|
|
|
<janino.version>3.1.10</janino.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- core dependencies -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
|
|
|
<artifactId>flink-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
|
|
|
<artifactId>flink-table-common</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Filesystem connector is only present to ensure bulk files are not supported -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
|
|
|
<artifactId>flink-connector-files</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
<version>${protoc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.janino</groupId>
|
|
|
|
<artifactId>janino</artifactId>
|
|
|
|
<!-- this should be the same version of flink-table module -->
|
|
|
|
<version>${janino.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- test dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
|
|
|
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
|
|
|
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- test utils dependency -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
|
|
|
<artifactId>flink-test-utils</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.os72</groupId>
|
|
|
|
<artifactId>protoc-jar-maven-plugin</artifactId>
|
|
|
|
<version>3.11.4</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<protocArtifact>com.google.protobuf:protoc:${protoc.version}</protocArtifact>
|
|
|
|
<includeMavenTypes>direct</includeMavenTypes>
|
|
|
|
<inputDirectories>
|
|
|
|
<include>src/test/proto</include>
|
|
|
|
</inputDirectories>
|
|
|
|
<outputTargets>
|
|
|
|
<outputTarget>
|
|
|
|
<type>java</type>
|
|
|
|
<addSources>none</addSources>
|
|
|
|
<outputDirectory>target/test-proto-sources</outputDirectory>
|
|
|
|
</outputTarget>
|
|
|
|
</outputTargets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-test-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>target/test-proto-sources</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|