Last active
August 29, 2015 13:56
-
-
Save jganoff/9026683 to your computer and use it in GitHub Desktop.
Kettle Storm topology jar with Janino support for the User Defined Java Class Step
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<assembly> | |
<id>for-remote-topology</id> | |
<formats> | |
<format>jar</format> | |
</formats> | |
<includeBaseDirectory>false</includeBaseDirectory> | |
<dependencySets> | |
<dependencySet> | |
<unpack>true</unpack> | |
<scope>runtime</scope> | |
</dependencySet> | |
</dependencySets> | |
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.pentaho</groupId> | |
<artifactId>test-project</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>test-project</name> | |
<properties> | |
<kettle.storm.version>0.0.1-SNAPSHOT</kettle.storm.version> | |
<main.class>org.pentaho.kettle.engines.storm.KettleStorm</main.class> | |
</properties> | |
<repositories> | |
<repository> | |
<id>github-releases</id> | |
<url>http://oss.sonatype.org/content/repositories/github-releases/</url> | |
</repository> | |
<repository> | |
<id>clojars.org</id> | |
<url>http://clojars.org/repo</url> | |
</repository> | |
<repository> | |
<id>pentaho</id> | |
<url>http://repo.pentaho.org/artifactory/repo/</url> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> | |
<groupId>org.pentaho.kettle.engines</groupId> | |
<artifactId>kettle-engine-storm</artifactId> | |
<version>${kettle.storm.version}</version> | |
</dependency> | |
<!-- Required for UDJC step --> | |
<dependency> | |
<groupId>janino</groupId> | |
<artifactId>janino</artifactId> | |
<!-- version omitted as it's inherited from the optional dep on kettle-engine --> | |
</dependency> | |
</dependencies> | |
<build> | |
<resources> | |
<resource> | |
<directory>src/main/resources</directory> | |
<filtering>true</filtering> | |
</resource> | |
</resources> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<version>2.2</version> | |
<executions> | |
<!-- This assembly will exclude the storm dependency so it can be used to submit a topology to a cluster without creating class loader conflicts. --> | |
<execution> | |
<id>for-remote-topology</id> | |
<phase>prepare-package</phase> | |
<goals> | |
<goal>single</goal> | |
</goals> | |
<configuration> | |
<descriptors> | |
<descriptor>for-remote-topology-assembly.xml</descriptor> | |
</descriptors> | |
<archive> | |
<manifest> | |
<mainClass>${main.class}</mainClass> | |
</manifest> | |
</archive> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment