Skip to content

Commit

Permalink
Ref #547: Remove common from Debezium sub-components (#556)
Browse files Browse the repository at this point in the history
## Motivation

We have a split package issue fixed in Camel so that we can remove the workaround.

## Modifications:

* Remove `camel-debezium-common` from all the wrappers
* Re-add `camel-debezium-common` to the feature of the same name
  • Loading branch information
essobedo authored Dec 10, 2024
1 parent 305f5fa commit b362d2e
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 86 deletions.
14 changes: 0 additions & 14 deletions components/camel-debezium/camel-debezium-db2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,6 @@
</exclusion>
</exclusions>
</dependency>
<!-- Must be removed once the split package issue is fixed in Camel -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-common</artifactId>
<version>${camel-version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.camel</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand All @@ -81,8 +69,6 @@
<configuration>
<artifactSet>
<includes>
<!-- Must be removed once the split package issue is fixed in Camel -->
<include>org.apache.camel:camel-debezium-common</include>
<include>org.apache.camel:camel-debezium-db2</include>
</includes>
</artifactSet>
Expand Down
14 changes: 0 additions & 14 deletions components/camel-debezium/camel-debezium-mongodb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,6 @@
</exclusion>
</exclusions>
</dependency>
<!-- Must be removed once the split package issue is fixed in Camel -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-common</artifactId>
<version>${camel-version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.camel</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand All @@ -81,8 +69,6 @@
<configuration>
<artifactSet>
<includes>
<!-- Must be removed once the split package issue is fixed in Camel -->
<include>org.apache.camel:camel-debezium-common</include>
<include>org.apache.camel:camel-debezium-mongodb</include>
</includes>
</artifactSet>
Expand Down
14 changes: 0 additions & 14 deletions components/camel-debezium/camel-debezium-mysql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,6 @@
</exclusion>
</exclusions>
</dependency>
<!-- Must be removed once the split package issue is fixed in Camel -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-common</artifactId>
<version>${camel-version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.camel</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand All @@ -81,8 +69,6 @@
<configuration>
<artifactSet>
<includes>
<!-- Must be removed once the split package issue is fixed in Camel -->
<include>org.apache.camel:camel-debezium-common</include>
<include>org.apache.camel:camel-debezium-mysql</include>
</includes>
</artifactSet>
Expand Down
14 changes: 0 additions & 14 deletions components/camel-debezium/camel-debezium-oracle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,6 @@
</exclusion>
</exclusions>
</dependency>
<!-- Must be removed once the split package issue is fixed in Camel -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-common</artifactId>
<version>${camel-version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.camel</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand All @@ -81,8 +69,6 @@
<configuration>
<artifactSet>
<includes>
<!-- Must be removed once the split package issue is fixed in Camel -->
<include>org.apache.camel:camel-debezium-common</include>
<include>org.apache.camel:camel-debezium-oracle</include>
</includes>
</artifactSet>
Expand Down
14 changes: 0 additions & 14 deletions components/camel-debezium/camel-debezium-postgres/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,6 @@
</exclusion>
</exclusions>
</dependency>
<!-- Must be removed once the split package issue is fixed in Camel -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-common</artifactId>
<version>${camel-version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.camel</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand All @@ -81,8 +69,6 @@
<configuration>
<artifactSet>
<includes>
<!-- Must be removed once the split package issue is fixed in Camel -->
<include>org.apache.camel:camel-debezium-common</include>
<include>org.apache.camel:camel-debezium-postgres</include>
</includes>
</artifactSet>
Expand Down
14 changes: 0 additions & 14 deletions components/camel-debezium/camel-debezium-sqlserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,6 @@
</exclusion>
</exclusions>
</dependency>
<!-- Must be removed once the split package issue is fixed in Camel -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-common</artifactId>
<version>${camel-version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.camel</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand All @@ -81,8 +69,6 @@
<configuration>
<artifactSet>
<includes>
<!-- Must be removed once the split package issue is fixed in Camel -->
<include>org.apache.camel:camel-debezium-common</include>
<include>org.apache.camel:camel-debezium-sqlserver</include>
</includes>
</artifactSet>
Expand Down
3 changes: 1 addition & 2 deletions features/src/main/feature/camel-features.xml
Original file line number Diff line number Diff line change
Expand Up @@ -951,8 +951,7 @@
<bundle dependency='true'>wrap:mvn:io.debezium/debezium-embedded/${debezium-version}</bundle>
<bundle dependency='true'>wrap:mvn:io.debezium/debezium-core/${debezium-version}$DynamicImport-Package=io.debezium.connector.*&amp;${spi-consumer}</bundle>
<bundle>wrap:mvn:io.debezium/debezium-storage-file/${debezium-version}</bundle>
<!-- Uncomment when the split package issue is fixed in Camel -->
<!--<bundle>mvn:org.apache.camel.karaf/camel-debezium-common/${project.version}</bundle>-->
<bundle>mvn:org.apache.camel.karaf/camel-debezium-common/${project.version}</bundle>
</feature>
<feature name='camel-debezium-db2' version='${project.version}' start-level='50'>
<feature version='${camel-osgi-version-range}'>camel-debezium-common</feature>
Expand Down

0 comments on commit b362d2e

Please sign in to comment.