-Dmaven.repo.local=<absolut-path-to-repository folder>

e.g.:

-Dmaven.repo.local=/Users/foo/.m2/repository

notice, its not to the .m2 folder itself but to the repository folder
inside of it.

regards,

Karl

On Wed, Jul 13, 2011 at 10:54 PM, Henry Story <[email protected]> wrote:
> Hi,
>
>  I have been spending way too much time searching how to set a non standard 
> local maven repository.
> I have been walking through the org.ops4j.pax.url.maven.commons code, which 
> is extreemly tedious in IntelliJ because the source files are not tied in a 
> standard way to the class jars. So one has to hunt around the web to find the 
> source files, and as it happens their own site is down.
>
>  I tried a few command line arguements including -Dmaven.repo.local=/Dev/.m2/ 
> and setting $M2_HOME but nothing seems to work. Perhaps someone knows the 
> magic incantation?
>
>        Henry
>
> Social Web Architect
> http://bblfish.net/
>
>



-- 
Karl Pauls
[email protected]
http://twitter.com/karlpauls
http://www.linkedin.com/in/karlpauls
https://profiles.google.com/karlpauls

Reply via email to