Table of Contents

Driven Administrator Guide

version 2.1.4-eap-9

Integrating the Driven Plugin with Maven or Gradle

Maven

The Driven Plugin is published to the Conjars Maven repository.

Step 1: In the <repositories> block add:

<repository>
  <id>conjars</id>
  <url>http://conjars.org/repo</url>
</repository>

Step 2: Add the following dependency:

<dependency>
  <groupId>driven</groupId>
  <artifactId>driven-plugin</artifactId>
  <version>2.1.4-eap-9</version>
</dependency>

Gradle

Step 1: Add the repository:

repositories {
  maven { url 'http://conjars.org/repo' }
}

Step 2: Add the dependency:

compile group: 'driven', name: 'driven-plugin', version: '2.1.4-eap-9'

Packaging Note

The plugin is a shaded fat JAR. Including the plugin in your own fat JAR can lead to classpath issues. When including the plugin (and other dependencies) in your own submittable fat JAR for Hadoop, the best practice is to place them in a lib subdirectory of the submittable JAR.

For example, with Gradle, add this to the fatJar task:

doFirst {
    into( 'lib' ) {
    from '/full/path/to/plugin.jar'
  }
}

For More Information

Return to the general topic about Installing and Configuring the Driven Plugin.