Plugin Documentation

Goals available for this plugin:

Goal Description
kafka-connect:kafka-connect

Packages a project into an archive file for use on Confluent Hub. Allows user-specifiable metadata to be provided via configuration.

The archive will be a ZIP file generated in the target/components/packages directory.

For more details on the kinds of metadata that can be specified for a component, visit our documentation on the component archive format.

Any logo files submitted to Confluent Hub must contain a valid extension for their format, must be at least 400 pixels wide and 200 pixels tall, and be no larger than 45 MB in size.

String parameters with default values (such as source URL) can be manually nullified by specifying a value of "none".

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.0
JDK 7
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>io.confluent</groupId>
          <artifactId>kafka-connect-maven-plugin</artifactId>
          <version>0.12.0</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>io.confluent</groupId>
        <artifactId>kafka-connect-maven-plugin</artifactId>
        <version>0.12.0</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"