Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

Goal Description
cdk:create-dataset Create a named dataset whose entries conform to a defined schema.
cdk:deploy-app Deploy a packaged application to a Hadoop filesystem, such as HDFS.
cdk:drop-dataset Delete a dataset and its metadata.
cdk:package-app Package an application on the local filesystem.
cdk:run-app Run an app as a job on a cluster.
cdk:run-tool Run a Hadoop tool on the local machine.

System Requirements

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

Maven 2.0
JDK 1.6
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>com.cloudera.cdk</groupId>
          <artifactId>cdk-maven-plugin</artifactId>
          <version>0.5.0</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>com.cloudera.cdk</groupId>
        <artifactId>cdk-maven-plugin</artifactId>
        <version>0.5.0</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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