You can, and probably should, configure preparationGoals with the release plugin configuration in the pom.xml if you need to add goals.
Kalle On Thu, Mar 5, 2009 at 10:50 AM, Julien Stern <[email protected]>wrote: > Jörg Schaible wrote: > >> Todd Thiessen wrote at Donnerstag, 5. März 2009 19:17: >> >> Ok. This is not what is recommended in the definitive guide though. It is >>> very clear in the optimzing POM section that ${project.version} should be >>> used when referencing sibling projects. >>> >> >> Well, actually this worked with older versions of the release plugin ;-) >> > > If I understand your issue all right, I believe you can solve it by passing > -DpreparationGoals="clean install verify" (instead of the default "clean > verify" to mvn release:prepare. > > We manage to keep on using ${project.version} like this. > > Cheers, > > -- > Julien > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
