provide a property always pointing to the currently effective local repository
------------------------------------------------------------------------------
Key: MANTRUN-151
URL: http://jira.codehaus.org/browse/MANTRUN-151
Project: Maven 2.x Antrun Plugin
Issue Type: New Feature
Affects Versions: 1.4, 1.3
Reporter: Petr Kozelka
Right now, there are at least 3 ways to define where local repository resides:
1) the default, ${user.home}/.m2/repository
2) settings.xml under /settings/localRepository
3) commandline property "maven.repo.local"
Unfortunately, when writing ant fragments that need to access the local
repository directly, there is no way to get effective local repo in all these
cases.
- I cannot use ant property "maven.repo.local" because it is only set if the
corresponding maven prop.(3) is set
- even adding fallback to default (1) still does not cover the case (2)
I suggest introducing something like "settings.localRepository.file" which
would always give me the right path
--
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