|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +Licensed to the Apache Software Foundation (ASF) under one |
| 4 | +or more contributor license agreements. See the NOTICE file |
| 5 | +distributed with this work for additional information |
| 6 | +regarding copyright ownership. The ASF licenses this file |
| 7 | +to you under the Apache License, Version 2.0 (the |
| 8 | +"License"); you may not use this file except in compliance |
| 9 | +with the License. You may obtain a copy of the License at |
| 10 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +Unless required by applicable law or agreed to in writing, |
| 12 | +software distributed under the License is distributed on an |
| 13 | +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | +KIND, either express or implied. See the License for the |
| 15 | +specific language governing permissions and limitations |
| 16 | +under the License. |
| 17 | +--> |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 19 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 20 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 21 | + |
| 22 | + <modelVersion>4.0.0</modelVersion> |
| 23 | + |
| 24 | + <parent> |
| 25 | + <groupId>org.apache.flink</groupId> |
| 26 | + <artifactId>flink-connectors</artifactId> |
| 27 | + <version>1.16-SNAPSHOT</version> |
| 28 | + </parent> |
| 29 | + |
| 30 | + <artifactId>flink-connector-rabbitmq</artifactId> |
| 31 | + <name>Flink : Connectors : RabbitMQ</name> |
| 32 | + |
| 33 | + <packaging>jar</packaging> |
| 34 | + |
| 35 | + <!-- Allow users to pass custom connector versions --> |
| 36 | + <properties> |
| 37 | + <rabbitmq.version>5.9.0</rabbitmq.version> |
| 38 | + </properties> |
| 39 | + |
| 40 | + <dependencies> |
| 41 | + |
| 42 | + <!-- Core --> |
| 43 | + |
| 44 | + <dependency> |
| 45 | + <groupId>org.apache.flink</groupId> |
| 46 | + <artifactId>flink-connector-base</artifactId> |
| 47 | + <version>${flink.version}</version> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>org.apache.flink</groupId> |
| 51 | + <artifactId>flink-streaming-java</artifactId> |
| 52 | + <version>${flink.version}</version> |
| 53 | + <scope>provided</scope> |
| 54 | + </dependency> |
| 55 | + |
| 56 | + <!-- RabbitMQ --> |
| 57 | + |
| 58 | + <dependency> |
| 59 | + <groupId>com.rabbitmq</groupId> |
| 60 | + <artifactId>amqp-client</artifactId> |
| 61 | + <version>${rabbitmq.version}</version> |
| 62 | + </dependency> |
| 63 | + |
| 64 | + <!-- Tests --> |
| 65 | + |
| 66 | + <dependency> |
| 67 | + <groupId>org.testcontainers</groupId> |
| 68 | + <artifactId>rabbitmq</artifactId> |
| 69 | + <version>1.15.1</version> |
| 70 | + <scope>test</scope> |
| 71 | + </dependency> |
| 72 | + |
| 73 | + <dependency> |
| 74 | + <groupId>org.apache.flink</groupId> |
| 75 | + <artifactId>flink-test-utils</artifactId> |
| 76 | + <scope>test</scope> |
| 77 | + </dependency> |
| 78 | + |
| 79 | + <dependency> |
| 80 | + <groupId>org.apache.flink</groupId> |
| 81 | + <artifactId>flink-connector-test-utils</artifactId> |
| 82 | + <version>${flink.version}</version> |
| 83 | + <scope>test</scope> |
| 84 | + </dependency> |
| 85 | + |
| 86 | + <dependency> |
| 87 | + <groupId>org.apache.flink</groupId> |
| 88 | + <artifactId>flink-runtime</artifactId> |
| 89 | + <version>${flink.version}</version> |
| 90 | + <type>test-jar</type> |
| 91 | + <scope>test</scope> |
| 92 | + </dependency> |
| 93 | + |
| 94 | + <dependency> |
| 95 | + <groupId>org.apache.flink</groupId> |
| 96 | + <artifactId>flink-streaming-java</artifactId> |
| 97 | + <version>${flink.version}</version> |
| 98 | + <scope>test</scope> |
| 99 | + <type>test-jar</type> |
| 100 | + </dependency> |
| 101 | + </dependencies> |
| 102 | + |
| 103 | + <build> |
| 104 | + <plugins> |
| 105 | + <plugin> |
| 106 | + <groupId>org.apache.maven.plugins</groupId> |
| 107 | + <artifactId>maven-jar-plugin</artifactId> |
| 108 | + <executions> |
| 109 | + <execution> |
| 110 | + <goals> |
| 111 | + <goal>test-jar</goal> |
| 112 | + </goals> |
| 113 | + </execution> |
| 114 | + </executions> |
| 115 | + </plugin> |
| 116 | + </plugins> |
| 117 | + </build> |
| 118 | + |
| 119 | +</project> |
0 commit comments