Goals available for this plugin:

Goal Description
cdk:create-dataset Create a named dataset whose entries conform to a defined schema.
cdk:delete-dataset Delete a dataset and its metadata.
cdk:deploy-app Deploy a packaged application to a Hadoop filesystem, such as HDFS.
cdk:drop-dataset Deprecated. will be removed in 0.10.0; use delete-dataset instead.
cdk:help Display help information on cdk-maven-plugin.
Call mvn cdk:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
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.
cdk:update-dataset Update a dataset's schema.

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.9.1</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.9.1</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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

Back to top

Version: 0.9.1. Last Published: 2014-01-14.

Reflow Maven skin by Andrius Velykis.