Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. maven: Is it possible to override location of local repository via the use of command line option or env variable?
  2. mvn package -Dmaven.repo.local=/alternate/repo/location
  3.        
  4. <settings>
  5.   <localRepository>/repo</localRepository>
  6.   ...
  7. </settings>
  8.        
  9. mvn -U clean install -Dmaven.repo.local=C:tmp