Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Created August 14, 2019 02:09
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 goyalmohit/693c55befce1830c12dfd281cc4457b2 to your computer and use it in GitHub Desktop.
Save goyalmohit/693c55befce1830c12dfd281cc4457b2 to your computer and use it in GitHub Desktop.
Adding assembly plugin to pom file
<plugins>
..
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<descriptor>src/assembly/assembly.xml</descriptor>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
..
</plugins>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment