blob: 126120c81dff311e2fb904a4d765b859e23fe7fb [file] [log] [blame]
== Camel Kafka Connector generator plugin
The Camel Kafka Connector generator plugin allows you to generator connectors based off of a catalog of camel components.
=== Goals Supported
|===============
| Goal | Description
| generate-camel-kafka-connectors | Generate connectors based off of a catalog
|===============
=== Options
|===============
| Parameter | Default Value | Description
| excludedComponents | empty | components to exclude from connector generation
| overridePomFile | false | regenerate the pom file completely even if one exists
| initialPomTemplate | empty | Initial pom template
| noticeTemplate | empty | Initial NOTICE template
| licenseTemplate | empty | Inintial LICENSES template
| fixDependenciesProperties | camel-kafka-connector-fix-dependencies.properties | Properties file to configure additional dependencies
| packageFileTemplate | camel-kafka-connector-template-package.template | Package file template to be placed in src/main/assembly/package.xml
| exampleSinkPropertiesFileTemplate | camel-kafka-connector-template-example-sink-properties.template | Example connector sink file template
|===============
=== Developers
==== Run Maven plugin integration tests
The link:src/test/java/org/apache/camel/kafkaconnector/maven[Maven IT tests] try to generate all CKC connectors from Camel catalog for testing under `target/`. It's costly and time consuming, so disabled by default.
To run the IT tests manually:
[source,bash]
----
mvn clean verify -Pmaven-it
----