The Answer to Life, the Universe, and Everything

Saturday, December 01, 2007

Maven2 : Adding jar to local repos

This is how you can add the Non globally installed jar to your local repos.
mvn install:install-file -DgroupId=<<$Group Name>> -DartifactId=<<$Project Name>> \
-Dversion=<<$S/W version>> -Dpackaging=jar -Dfile=<<$Path to the jar file>>

No comments: