+0 in general, but I think we should first check how multiple extensions
will/may work, and see, what actually, was the original intention of
extensions. We might miss some important reasons to NOT do this (maybe due
to some technical reason?)

For example, I use Takari smart builder, Takari concurrent local repo and
okhttp connector.
For now, if I put these on "installation" level, but I may have some other
connector on "user" level, while some project I checked out may define it's
own in .mvn... can we guarantee that Maven will keep working correctly?

I am targeting at fact that extension loading is not verified in same way
as plugins are, they are "just" sisu components, and they may cause havoc
by replacing -- or the opposite -- by non replacing things due to
priorities on other level extensions....

Well, we could assign priorities to extension sources (distro, user,
project, like latter overrides former), but given that SISU @Priority is
already used to select some components, this is a bit... hm, convoluted?

Now that I think about it, this becomes not quite trivial thing to resolve
properly :D



On Tue, Jan 12, 2016 at 9:12 AM Stephen Connolly <
[email protected]> wrote:

> +1
>
> On Tuesday 12 January 2016, Hervé BOUTEMY <[email protected]> wrote:
>
> > installation level need to point to user space, in a per-user location
> (~,
> > or
> > ${user.home} if you prefer this syntax): then the user space is filled or
> > not,
> > user per user
> >
> > multi-user installation is exactly the target use: with this user
> > extensions
> > feature, each user can customize its own extensions without doing a full
> > Maven
> > installation
> >
> > Regards,
> >
> > Hervé
> >
> > Le mardi 12 janvier 2016 08:14:28 Anders Hammar a écrit :
> > > > Then I think we are missing *user* extensions, that would be added in
> > > > ${maven.home}/bin/m2.conf the same way as installation extensions,
> but
> > > > pointing to ~/.m2/ext/*.jar
> > >
> > > What would the benefit be of configuring this on installation level but
> > > keep the jar in user space? How would that work for a multiuser
> > > installation?
> > >
> > > /Anders
> > >
> > > > This would give us 3 levels of extensions:
> > > > - installation: as available for ages
> > > > - user: could be configured manualy on old Maven installation, and
> > would
> > > > be
> > > > available with Maven 3.4.0 distribution
> > > > - project: as added in Maven 3.3.0
> > > >
> > > > Any objection?
> > > > I still didn't create corresponding Jira issue, but will do if
> > popsitive
> > > > feedback
> > > >
> > > > Regards,
> > > >
> > > > Hervé
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [email protected]
> > <javascript:;>
> > > > For additional commands, e-mail: [email protected]
> > <javascript:;>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected] <javascript:;>
> > For additional commands, e-mail: [email protected]
> <javascript:;>
> >
> >
>
> --
> Sent from my phone
>

Reply via email to