Actually, I'm not sure...
I have a very special use case, let me try to explain it:
* We implemented a maven core extension (see ${maven.home}/lib/ext/), called b2.
* b2 is able to generate pom.xml files from plain eclipse plugin projects with
all the necessary configuration to build it with Maven/Tycho
* Works well for snapshot builds
* For release builds we have to adjust the eclipse plugins versions (specified
in the OSGi MANIFEST.MF) manually, whitch prevents the usage of the maven
release plugin
So, my idea is to add a prepare phase to the release manager that adjusts these
version numbers like the RewritePomsForReleasePhase does for poms.
I'm glad for each proposal :)
> -----Ursprüngliche Nachricht-----
> Von: Stephen Connolly [mailto:[email protected]]
> Gesendet: Dienstag, 26. Juni 2012 10:48
> An: Maven Developers List
> Betreff: Re: How to extend the release phases of the DefaultReleaseManager?
>
> 95% of use cases that I have seen can be reached by using
> preparationGoals to invoke an additional plugin or mix in an
> additional profile
>
> 99.9% of use cases that I have seen can be reached by using
> preparationGoals and completionGoals to tidy up afterwards.
>
> Of the remaining 0.1% of use cases that I have seen, they should not
> be doing it that way!
>
> Are you sure you need an additional prepare phase?
>
> On 26 June 2012 09:24, <[email protected]> wrote:
> > Hi,
> >
> > is there a way to extend the release phases of the DefaultReleaseManager?
> >
> > I'd like to add a custom release phase to the list of the release managers
> > prepare phases. The
> implementation of the custom phase should update some project specific files
> during the release
> preparation.
> >
> > Kind regards,
> > Bernd
> >
> >
> > ---------------------------------------------------------------------
> > 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]