Skip to content

Instantly share code, notes, and snippets.

@mdellabitta
Created July 23, 2013 19:57
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 mdellabitta/6065621 to your computer and use it in GitHub Desktop.
Save mdellabitta/6065621 to your computer and use it in GitHub Desktop.
Maven assembly for hadoop jar
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<id>some-id</id>
<configuration>
<finalName>some-name</finalName>
<descriptors>
<descriptor>src/main/resources/assembly.xml</descriptor>
</descriptors>
<archive>
<manifest>
<mainClass>com.appinions.something.Main</mainClass>
</manifest>
</archive>
</configuration>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment