You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2020/06/03 13:01:44 UTC

[camel-quarkus] 03/04: Regenerate MySQL Debezium docs; fixup 8022c77

This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 1ff3411bf4c9c333be6a1222ba5d160423a3d6b2
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Wed Jun 3 11:14:06 2020 +0200

    Regenerate MySQL Debezium docs; fixup 8022c77
---
 .../ROOT/pages/extensions/debezium-mysql.adoc       | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/docs/modules/ROOT/pages/extensions/debezium-mysql.adoc b/docs/modules/ROOT/pages/extensions/debezium-mysql.adoc
index b67b329..b541a4c 100644
--- a/docs/modules/ROOT/pages/extensions/debezium-mysql.adoc
+++ b/docs/modules/ROOT/pages/extensions/debezium-mysql.adoc
@@ -29,14 +29,23 @@ Check the xref:user-guide/index.adoc[User guide] for more information about writ
 
 == Usage
 
-We can not add driver as a compile scope dependency for legal reasons.
+We cannot add the MySQL JDBC driver as a compile scope dependency of this extension because it is GPL2 licensed and it
+would be against the policy of the Apache Software Foundation.
 
-To use extension, you have to add runtime dependency to mysql driver. Suggested version and driver is
-`mysql:mysql-connector-java:8.0.20`. (It is the transitive dependency from `o.quarkus:quarkus-jdbc-mysql:1.5.0.CR1`)
+Therefore you have to add the dependency to your project yourself, as long as you are able to comply with its license
+terms.
 
-To execute integration tests you have to add driver jar into the specific folder in the module. Name of the file (which
-also specifies version) is defined as property `mysql.driver.file` with default value
-`libs/mysql-connector-java-8.0.20.jar`
+`quarkus-bom` (transitively included by `camel-quakrus-bom` and `quarkus-universe-bom`) manages a version
+of `mysql:mysql-connector-java` compatible with Camel Quarkus. So you do not need specify the version of the
+driver if you import any of the mentioned BOMs. The following should be sufficient for Maven:
+
+[source,xml]
+----
+<dependency>
+    <groupId>mysql</groupId>
+    <artifactId>mysql-connector-java</artifactId>
+</dependency>
+----
 
 
 == Camel Quarkus limitations