[ 
https://jira.codehaus.org/browse/MNG-5167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=279250#comment-279250
 ] 

Jason Pyeron commented on MNG-5167:
-----------------------------------

confirmed, ${maven.home} is able to locate a local repository relative to the 
maven home.

But I am unable to get any other properties to function as they have not yet 
been initialized yet.

Currently, the patch supports

LOCAL_REPOSITORY_RELATIVE_TO_VALUES.POM
LOCAL_REPOSITORY_RELATIVE_TO_VALUES.M2_HOME
LOCAL_REPOSITORY_RELATIVE_TO_VALUES.BASEDIRECTORY
LOCAL_REPOSITORY_RELATIVE_TO_VALUES.WORKINGDIRECTORY
LOCAL_REPOSITORY_RELATIVE_TO_VALUES.DEFAULT  // As far as I have been able to 
test, DEFAULT and WORKINGDIRECTORY should and do behave the same, but the code 
for an explicit working directory is different that the current code. So the 
defaul uses an unchanged logic, and the working directory explicitly uses the 
CWD.

I am working on adding support for
LOCAL_REPOSITORY_RELATIVE_TO_VALUES.ROOT_PARENT_POM but this is also going to 
come when a few other issues in the configuration engin and reactor are fixed 
too.


> relative local repository settings
> ----------------------------------
>
>                 Key: MNG-5167
>                 URL: https://jira.codehaus.org/browse/MNG-5167
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Settings
>    Affects Versions: 3.0.3, 3.0.4
>            Reporter: Jason Pyeron
>         Attachments: MNG-5167.patch
>
>
> see patch

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to