Confirmed.

Having the definition of central-repo in mind: this one is nominated to be moved from the super-pom to the installation settings.xml. It makes sense to have the ability to always override it using the user settings.xml (if you want to). Next the proposal is still to finally provide the --settings <arg> to override the previous result (so not anymore replacing one of the previous files).

Based on the responses this seems to be preferred solution for handling this.

Robert


------ Origineel bericht ------
Van: "Tamás Cservenák" <ta...@cservenak.net>
Aan: "Maven Developers List" <dev@maven.apache.org>
Verzonden: 10-8-2021 22:18:22
Onderwerp: Re: Commandline inheritance

A git like behavior sound good for me as well.

So install/system-wise < user < project

T


On Tue, Aug 10, 2021, 08:22 Benjamin Marwell <bmarw...@apache.org> wrote:

 I read Michaels message the way like option 6:

 > Since we have only two files: installation and user, I'd expect
 that first the installation settings are parsed followed by user
 settings (generic to specific).

 Installation is more generic (global) than user.

 Same for git: it will first parse the installation settings (/etc), then
 any user settings, then any project settings.

 Or are we mixing up terms here?

 NPM does the same, too.




 On Mon, 9 Aug 2021, 16:35 Robert Scholte, <rfscho...@apache.org> wrote:

 > I'll add it, but it doesn't match the order of GIT[1] as mentioned by
 > Michael.
 > Maybe there should be a list of other comparable tools with their order
 >
 >
 > Robert
 >
 >
 > [1] https://git-scm.com/docs/git-config#FILES
 > On 9-8-2021 15:09:30, Benjamin Marwell <bmarw...@apache.org> wrote:
 > Hi Robert,
 >
 > I would like to propose another solution.
 > According to the wiki page and to the documentation, we have
 >
 > user
 >
 > where "
 >
 > From what I understand from other build systems, a more common approach
 > would be
 >
 > installation (aka global)
 >
 > This would fix the naming issue (global becomes global).
 > Of course this is a breaking change, but for maven 4, this seems
 > reasonable to me.
 >
 > Am So., 8. Aug. 2021 um 11:48 Uhr schrieb Robert Scholte :
 > >
 > > During a discussion with Michael we noticed there's something odd about
 > the names of some flags and the order of inheritance.
 > >
 > > I've tried to explain it on a separate wiki page[1] together with the
 > first 3 options how we could fix it.
 > > Please have a look at it and share your thoughts.
 > >
 > > thanks,
 > > Robert
 > >
 > > [1]
 >
https://cwiki.apache.org/confluence/display/MAVEN/Commandline+inheritance
 >
 > ---------------------------------------------------------------------
 > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 > For additional commands, e-mail: dev-h...@maven.apache.org
 >
 >



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to