I can never remember the command line option to use an isolated local Maven repository for a given Maven run (so that, for example, you can make sure that your dependencies are properly defined and you don’t run into conflicts due to a shared repository) and couldn’t find it again quickly enough via Google so I thought I’d post it here, as a reminder:

mvn -Dmaven.repo.local=/foo/bar

Related posts:

  1. Improving deployment of WSRP-related artifacts in GateIn As you may know, I am working on WSRP for...

Related posts brought to you by Yet Another Related Posts Plugin.