Skip to content

Instantly share code, notes, and snippets.

@fahadsiddiqui
Created October 14, 2016 05:36
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 fahadsiddiqui/cbe4c85e75568961696604ccce211bb0 to your computer and use it in GitHub Desktop.
Save fahadsiddiqui/cbe4c85e75568961696604ccce211bb0 to your computer and use it in GitHub Desktop.
Have a look here on the pom file, i'm using this plugin
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>org.webcrawler.core.Driver</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment