Skip to content

Instantly share code, notes, and snippets.

@berinle
Created December 7, 2012 19:59
Show Gist options
  • Select an option

  • Save berinle/4236052 to your computer and use it in GitHub Desktop.

Select an option

Save berinle/4236052 to your computer and use it in GitHub Desktop.
install jar in maven
libs mvn install:install-file -Dfile=army-fleet-1.0-SNAPSHOT.jar -DgroupId=com.armyfleet -DartifactId=fleet -Dversion=1.0-SNAPSHOT -Dpackaging=jar
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-pom ---
[INFO] Installing C:\tmp\army-fleet\build\libs\army-fleet-1.0-SNAPSHOT.jar to C:\Users\berinle\.m2\repository\com\armyfleet\fleet\1.0-SNAPSHOT\fleet-1.0-SNAPSHOT.jar
[INFO] Installing C:\Users\berinle\AppData\Local\Temp\mvninstall1365836677560122908.pom to C:\Users\berinle\.m2\repository\com\armyfleet\fleet\1.0-SNAPSHOT\fleet-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.099s
[INFO] Finished at: Fri Dec 07 14:44:07 EST 2012
[INFO] Final Memory: 12M/490M
[INFO] ------------------------------------------------------------------------
? libs
? greg-test git:(master) ? grails
| Downloading: C:\Users\berinle\.m2\repository\com\armyfleet\fleet\1.0-SNAPSHOT\| Downloading: C:\Users\berinle\.m2\repository\com\armyfleet\fleet\1.0-SNAPSHOT\| Enter a script name to run. Use TAB for completion:
grails> compile
| Compiling 3 source files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment