Interesting. I didn't know there was such a property to set. Thanks for the 
tip. I'll play with that.

> -----Original Message-----
> From: Ansgar Konermann [mailto:[email protected]]
> Sent: Wednesday, January 18, 2012 2:13 PM
> To: [email protected]
> Subject: Re: Changing the working directory of the release plugin...
> 
> Am 18.01.2012 20:00, schrieb Thiessen, Todd (Todd):
> > You got it.  However, during the perform phase of the release plugin,
> you don't have that kind of control.  The release plugin does a
> checkout from the tag and then issues a deploy on your behalf. I am not
> able to issue a mvn -f.  Not that I know of anyway.
> 
> Next guess:
> 
> mvn -DworkingDirectory=$yourFavouriteDirectory release:perform
> 
> Not sure if it needs to be passed via -Darguments=... also, probably
> not.
> 
> HTH
> 
> Ansgar
> 
> 
> >
> >> -----Original Message-----
> >> From: Ansgar Konermann [mailto:[email protected]]
> >> Sent: Wednesday, January 18, 2012 1:34 PM
> >> To: [email protected]
> >> Subject: Re: Changing the working directory of the release plugin...
> >>
> >> Am 17.01.2012 23:48, schrieb Thiessen, Todd (Todd):
> >>> Does anyone know how to change the working directory, that the
> >> prepare phase of the release plugin uses, without also changing
> where
> >> it checkouts out the tag?
> >>> Basically, I want to run the top level pom, but from a different
> >> working directory.
> >> Not quite sure I got your requirement right.
> >>
> >> mvn -f $pathToPom might be your friend.
> >>
> >> Best regards,
> >>
> >> Ansgar
> >>
> >> --------------------------------------------------------------------
> -
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to