Page 1 of 1

Maven home setting

Posted: Sat Mar 23, 2013 7:12 am
by Sambhav
Hi

While running jetty-demo ant task os site, it downloads and look for dependecies in the default .m2/repository folder.

I did change all references of ${maven.home} to my Maven installation.

Do I need to point to my repository folder instead of Maven home?

Re: Maven home setting

Posted: Sat Mar 23, 2013 9:50 am
by karim.hj
While running jetty-demo ant task os site, it downloads and look for dependecies in the default .m2/repository folder.

it's totally normal, maven installation folder and maven repository folder are 2 different locations.
if you want to change your local maven repository folder,
[*]edit your $MAVEN_HOME/conf/settings.xml (localRepository property)
[*]or configure maven plugin in Eclipse.
ScreenShot187.png
ScreenShot187.png (11.53 KiB) Viewed 5227 times


For example mine is:
#build.properties from BLC project
maven.home=E:/Blcshop/products/maven/apache-maven-3.0.3/

Re: Maven home setting

Posted: Fri Sep 27, 2013 7:01 am
by BethSolly
Hey I was not knowing that there are two locations. I thought there was always only one location where all the setting get stored. :(