Skip to content

Instantly share code, notes, and snippets.

@danyaljj
Created June 26, 2015 00:28
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 danyaljj/2e0f0e0a9cb289dd790d to your computer and use it in GitHub Desktop.
Save danyaljj/2e0f0e0a9cb289dd790d to your computer and use it in GitHub Desktop.
Maven summary
* Output as jar:
<packaging>jar</packaging>
* Comment:
<!-- Output to jar format -->
* (Create stanfalone package with dependencies )[http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven]
* Show tree of dependencies
mvn dependency:tree
* Skipping the tests
mvn install -Dmaven.test.skip=true
and for package:
mvn package -Dmaven.test.skip=true
* Deploy to mvn repo:
<distributionManagement>
<repository>
<id>CogcompSoftware</id>
<name>CogcompSoftware</name>
<url>scp://bilbo.cs.illinois.edu:/mounts/bilbo/disks/0/www/cogcomp/html/m2repo</url>
</repository>
</distributionManagement>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment