[ http://jira.codehaus.org/browse/MNG-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-3588: ------------------------------ Fix Version/s: 2.0.x is this a regression? does settings.localRepository work? > ${maven.repo.local} in settings.xml doesn't work. > ------------------------------------------------- > > Key: MNG-3588 > URL: http://jira.codehaus.org/browse/MNG-3588 > Project: Maven 2 > Issue Type: Bug > Affects Versions: 2.0.9 > Reporter: Marcin Kuthan > Priority: Minor > Fix For: 2.0.x > > > I can't use ${maven.repo.local} parameter inside settings.xml file. The > parameter is simply ignored. > <settings> > <localRepository>c:\base_repo_location</localRepository> > <profiles> > <profile> > <id>my-profile</id> > <properties> > > <maven.repo.local>C:\alternative_repo_location</maven.repo.local> > </properties> > </profile> > </profiles> > </settings> > When I run > "mvn -P my-profile package" > all downloaded artifacts are stored under "c:\base_repo_location" not > "C:\alternative_repo_location". > When I run > "mvn -Dmaven.repo.local=C:\alternative_repo_location package" package > artifacts are stored under "C:\alternative_repo_location" as I expected. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira