Tuesday, February 12, 2008

Setting local maven repository

Maven has a convenient property that can be used to set the location of the local maven repository. It can be passed as a parameter using the "-D" option.

mvn -Dmaven.repo.local=/home/path/to/local/repo install

No comments: