You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/09/25 08:20:20 UTC
[camel] 01/01: Camel-Debezium: Makes mysql-connector excluded and
provided
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch debezium-mysql-fix
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 32a3c812405bfee0a1bd7e8e30785d7653e1d4b2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Sep 25 10:19:31 2019 +0200
Camel-Debezium: Makes mysql-connector excluded and provided
---
components/camel-debezium/pom.xml | 15 ++++++++++++++-
parent/pom.xml | 1 +
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/components/camel-debezium/pom.xml b/components/camel-debezium/pom.xml
index a3fee77..7af6c8e 100644
--- a/components/camel-debezium/pom.xml
+++ b/components/camel-debezium/pom.xml
@@ -62,6 +62,19 @@
<groupId>io.debezium</groupId>
<artifactId>debezium-connector-mysql</artifactId>
<version>${debezium-version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>${debezium-mysql-connector-version}</version>
+ <scope>provided</scope>
</dependency>
<!-- test -->
@@ -104,4 +117,4 @@
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/parent/pom.xml b/parent/pom.xml
index 1e5ab97..1acf224 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -173,6 +173,7 @@
<drools-version>7.26.0.Final</drools-version>
<dropbox-version>3.1.1</dropbox-version>
<debezium-version>0.9.5.Final</debezium-version>
+ <debezium-mysql-connector-version>8.0.15</debezium-mysql-connector-version>
<egit-github-core-version>2.1.5</egit-github-core-version>
<egit-github-core-bundle-version>2.1.5_1</egit-github-core-bundle-version>
<ehcache-version>2.10.6</ehcache-version>