maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Hammar (JIRA)" <j...@codehaus.org>
Subject [jira] (MINVOKER-97) Add possibility to inherit settings.xml from calling process
Date Sun, 15 Apr 2012 10:22:02 GMT

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

Anders Hammar commented on MINVOKER-97:
---------------------------------------

Should the user have to enable merging by configuraton? That would preserve the current default
behavior. BUT, I argue that the current behavior of ignoring the settings of the initiating
process is wrong (a bug) and therefore the default behavior should be to use it. I'd even
go so far that I'd argue that it shouldn't be possible to turn off. If you want a specific
setting you need to specify that in the specified settings file.

So here's my proposed solution:
* If no settings file is specified in the plugin configuration, use the one of the invoking
process.
* If a settings file is specified in the plugin configuration, merge it with the one of the
invoking process. Coniguration in the specified settings file is dominant.
* In both cases the current behavior of local repository should be preserved.

                
> Add possibility to inherit settings.xml from calling process
> ------------------------------------------------------------
>
>                 Key: MINVOKER-97
>                 URL: https://jira.codehaus.org/browse/MINVOKER-97
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.4
>            Reporter: Konstantin Titorenko
>            Assignee: Olivier Lamy
>             Fix For: 1.6
>
>         Attachments: MINVOKER-97.patch
>
>
> Invoker will use default settings xml even if differetn settings xml is specified in
calling maven process. It would be very usefull to add posibility to "inherit" settings.xml
to invoker:run goal (settingsFile parameter is not enough, since it seems imposible to determine
settings file from in calling maven process)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message