| <?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/xsd/maven-4.0.0.xsd"> |
| <parent> |
| <artifactId>flink-end-to-end-tests</artifactId> |
| <groupId>org.apache.flink</groupId> |
| <version>1.13.2</version> |
| <relativePath>..</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>flink-glue-schema-registry-test</artifactId> |
| <name>Flink : E2E Tests : AWS Glue Schema Registry</name> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <httpclient.version>4.5.9</httpclient.version> |
| <httpcore.version>4.4.11</httpcore.version> |
| <aws.sdk.version>1.11.754</aws.sdk.version> |
| <aws.sdkv2.version>2.15.32</aws.sdkv2.version> |
| <reactivestreams.version>1.0.2</reactivestreams.version> |
| <lz4.version>1.6.0</lz4.version> |
| <netty.version>4.1.53.Final</netty.version> |
| <guava.version>29.0-jre</guava.version> |
| </properties> |
| |
| <!-- ============================= --> |
| <!-- DEPENDENCY MANAGEMENT --> |
| <!-- ============================= --> |
| <dependencyManagement> |
| <dependencies> |
| <!-- dependencies to solve enforcer check issue --> |
| <!-- can be removed once new version of Glue Schema Registry releases --> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>http-client-spi</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>aws-core</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>protocol-core</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>annotations</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>utils</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>apache-client</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.reactivestreams</groupId> |
| <artifactId>reactive-streams</artifactId> |
| <version>${reactivestreams.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.lz4</groupId> |
| <artifactId>lz4-java</artifactId> |
| <version>${lz4.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>aws-json-protocol</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>regions</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>sdk-core</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-codec-http</artifactId> |
| <version>${netty.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>netty-nio-client</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>auth</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>metrics-spi</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-handler</artifactId> |
| <version>${netty.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>${httpclient.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpcore</artifactId> |
| <version>${httpcore.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-streaming-java_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-connector-kinesis_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-streaming-kinesis-test_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-avro</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-avro-glue-schema-registry</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-connector-kinesis_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>sdk-core</artifactId> |
| <version>${aws.sdkv2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.amazonaws</groupId> |
| <artifactId>aws-java-sdk-kinesis</artifactId> |
| <version>${aws.sdk.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <!-- Use the shade plugin to build a fat jar for the Kinesis connector test --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>fat-jar-glue-schema-registry</id> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <shadeTestJar>false</shadeTestJar> |
| <shadedArtifactAttached>false</shadedArtifactAttached> |
| <createDependencyReducedPom>false</createDependencyReducedPom> |
| <transformers> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <mainClass>org.apache.flink.glue.schema.registry.test.GlueSchemaRegistryExample |
| </mainClass> |
| </transformer> |
| </transformers> |
| <finalName>GlueSchemaRegistryExample</finalName> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |