Skip to content

Add maven-artifact dependency to debezium support#8620

Merged
jamesnetherton merged 1 commit intoapache:mainfrom
jamesnetherton:fix-8239-debezium-maven-artifact
May 6, 2026
Merged

Add maven-artifact dependency to debezium support#8620
jamesnetherton merged 1 commit intoapache:mainfrom
jamesnetherton:fix-8239-debezium-maven-artifact

Conversation

@jamesnetherton
Copy link
Copy Markdown
Contributor

Relates to #8239

Users were experiencing NoClassDefFoundError for
org.apache.maven.artifact.versioning.InvalidVersionSpecificationException when using Debezium connectors with plugin version validation.

Root cause:

  • connect-runtime:4.2.0 has maven-artifact:3.9.6 as a runtime dependency
  • camel-quarkus-support-debezium excludes all transitive dependencies from connect-runtime with a blanket :
  • When Kafka Connect's AbstractHerder.validateConnectorConfig() validates plugin versions, it needs InvalidVersionSpecificationException from maven-artifact

The fix:

  • Add explicit maven-artifact dependency to camel-quarkus-support-debezium
  • Version is inherited from io.quarkus:quarkus-bom (3.9.15)
  • Dependency flows transitively to users automatically

Users were experiencing NoClassDefFoundError for
org.apache.maven.artifact.versioning.InvalidVersionSpecificationException
when using Debezium connectors with plugin version validation.

Root cause:
- connect-runtime:4.2.0 has maven-artifact:3.9.6 as a runtime dependency
- camel-quarkus-support-debezium excludes all transitive dependencies from
  connect-runtime with a blanket <exclusion>*:*</exclusion>
- When Kafka Connect's AbstractHerder.validateConnectorConfig() validates
  plugin versions, it needs InvalidVersionSpecificationException from
  maven-artifact

The fix:
- Add explicit maven-artifact dependency to camel-quarkus-support-debezium
- Version is inherited from io.quarkus:quarkus-bom (3.9.15)
- Dependency flows transitively to users automatically

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@jamesnetherton jamesnetherton merged commit ad9f29d into apache:main May 6, 2026
23 of 24 checks passed
@jamesnetherton jamesnetherton deleted the fix-8239-debezium-maven-artifact branch May 6, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants