This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-pulsar.git
The following commit(s) were added to refs/heads/main by this push:
new bbc7c1e [FLINK-30400][build] Stop bundling flink-connector-base (#61)
bbc7c1e is described below
commit bbc7c1e87f9a86e3d74ced431713639046117aa2
Author: Hang Ruan <[email protected]>
AuthorDate: Tue Dec 5 23:09:06 2023 +0800
[FLINK-30400][build] Stop bundling flink-connector-base (#61)
Co-authored-by: Martijn Visser <[email protected]>
---
flink-connector-pulsar-e2e-tests/pom.xml | 6 ++++++
flink-connector-pulsar/pom.xml | 1 +
flink-sql-connector-pulsar/pom.xml | 7 ++++++-
pom.xml | 3 ++-
4 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/flink-connector-pulsar-e2e-tests/pom.xml
b/flink-connector-pulsar-e2e-tests/pom.xml
index b730be7..53d3eac 100644
--- a/flink-connector-pulsar-e2e-tests/pom.xml
+++ b/flink-connector-pulsar-e2e-tests/pom.xml
@@ -54,6 +54,12 @@ under the License.
<groupId>org.testcontainers</groupId>
<artifactId>pulsar</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-connector-base</artifactId>
+ <version>${flink.version}</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<profiles>
diff --git a/flink-connector-pulsar/pom.xml b/flink-connector-pulsar/pom.xml
index 96d96a9..24063ab 100644
--- a/flink-connector-pulsar/pom.xml
+++ b/flink-connector-pulsar/pom.xml
@@ -41,6 +41,7 @@ under the License.
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-base</artifactId>
+ <scope>provided</scope>
</dependency>
<!-- Connectors -->
diff --git a/flink-sql-connector-pulsar/pom.xml
b/flink-sql-connector-pulsar/pom.xml
index bdc3809..70af8ae 100644
--- a/flink-sql-connector-pulsar/pom.xml
+++ b/flink-sql-connector-pulsar/pom.xml
@@ -48,6 +48,12 @@ under the License.
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-connector-base</artifactId>
+ <version>${flink.version}</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
@@ -66,7 +72,6 @@ under the License.
<artifactSet>
<includes>
<include>com.fasterxml.jackson.core:jackson-annotations</include>
-
<include>org.apache.flink:flink-connector-base</include>
<include>org.apache.flink:flink-connector-pulsar</include>
<include>org.apache.pulsar:pulsar-client-admin-api</include>
<include>org.apache.pulsar:pulsar-client-all</include>
diff --git a/pom.xml b/pom.xml
index 4c7792d..b89ce78 100644
--- a/pom.xml
+++ b/pom.xml
@@ -273,6 +273,7 @@ under the License.
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-base</artifactId>
<version>${flink.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
@@ -540,4 +541,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>