maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ansgar Konermann <ansgar.konerm...@googlemail.com>
Subject Re: -gs does not apply to the forked maven execution in release:prepare
Date Sun, 04 Sep 2011 18:50:43 GMT
Am 04.09.2011 20:43 schrieb "Benson Margulies" <bimargulies@gmail.com>:
>
> On Sun, Sep 4, 2011 at 2:34 PM, Ansgar Konermann
> <ansgar.konermann@googlemail.com> wrote:
> > Am 04.09.2011 20:29 schrieb "Brian Fox" <brianf@infinity.nu>:
> >>
> >> Release forks the build and therefore not all the parameters are
> >> passed through. There is a parameter for the plugin though to specify
> >> which agurments to pass, I forget what it is, but I'm sure you know
> >> how to find it ;-)
> >
> > -Darguments="..."
>
> I wonder: why? Does anyone know a use case in which it's important to
> make the setttings or global settings different in the forked
> execution?

I'm not a Maven guru, but no, all the use cases I encountered involved
passing the same set of parameters to the forked lifecycle.

I'd also love to understand the motivation behind making this *not* the
default behaviour.

Best

Ansgar
>
> >
> >>
> >> On Sun, Sep 4, 2011 at 1:48 PM, Benson Margulies <bimargulies@gmail.com
>
> > wrote:
> >> > I was a bit taken aback when a run of the maven release plugin failed
> >> > because I ran
> >> >
> >> >   mvn -gs my_settings.xml release:prepare
> >> >
> >> > and then the build couldn't find the repositories from the global
> > settings?
> >> >
> >> > Is there really on purpose, or should I write up a JIRA?
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> > For additional commands, e-mail: users-help@maven.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message