| <?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>seatunnel-connectors-v2</artifactId> |
| <groupId>org.apache.seatunnel</groupId> |
| <version>2.2.0-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>connector-pulsar</artifactId> |
| |
| <properties> |
| <pulsar.version>2.8.0</pulsar.version> |
| <commons-lang3.version>3.4</commons-lang3.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.seatunnel</groupId> |
| <artifactId>seatunnel-format-json</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.seatunnel</groupId> |
| <artifactId>connector-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- Pulsar bundles the latest bookkeeper & zookeeper, --> |
| <!-- we don't override the version here. --> |
| <dependency> |
| <groupId>org.apache.pulsar</groupId> |
| <artifactId>testmocks</artifactId> |
| <version>${pulsar.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-testng</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.pulsar</groupId> |
| <artifactId>pulsar-broker</artifactId> |
| <version>${pulsar.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <artifactId>junit</artifactId> |
| <groupId>junit</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- Pulsar use a newer commons-lang3 in broker. --> |
| <!-- Bump the version only for testing. --> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>${commons-lang3.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Add Pulsar 2.x as a dependency. --> |
| <!-- Move this to button for avoiding class conflicts with pulsar-broker. --> |
| |
| <dependency> |
| <groupId>org.apache.pulsar</groupId> |
| <artifactId>pulsar-client-all</artifactId> |
| <version>${pulsar.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.pulsar</groupId> |
| <artifactId>pulsar-package-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| </project> |