Created
June 26, 2015 00:28
-
-
Save danyaljj/2e0f0e0a9cb289dd790d to your computer and use it in GitHub Desktop.
Maven summary
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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