Skip to content

Instantly share code, notes, and snippets.

@juananpe
Created November 28, 2017 12:45
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 juananpe/565fdf2c1ab83d3c1ddddc2bc97f86bf to your computer and use it in GitHub Desktop.
Save juananpe/565fdf2c1ab83d3c1ddddc2bc97f86bf to your computer and use it in GitHub Desktop.
pom.xml assembly-plugin
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>hasiera.Taula</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
@juananpe
Copy link
Author

Run as / Run configurations ...

Goals: clean package assembly:single

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