Skip to content

Instantly share code, notes, and snippets.

@ilyakava
Created September 23, 2014 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilyakava/2d29fd9b8766d2d387a5 to your computer and use it in GitHub Desktop.
Save ilyakava/2d29fd9b8766d2d387a5 to your computer and use it in GitHub Desktop.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- Build an executable jar via `mvn clean package` -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.snowplowanalytics.snowplow.kinesis.redshiftbasic.RedshiftBasicExecutor</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
@ilyakava
Copy link
Author

altered from here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment