Hi,

I would like to to utilize the maven-release-plugin (v 2.1) for one of our 
projects, but unfortunately I have a bit of a show stopper for actually doing 
this.

The mojo's in the maven-release-plugin utilize the maven-release-manager, which 
has a set of predefined release phases, such as this (for branching)
        <branchPhases>
          <phase>create-backup-poms</phase>
          <phase>check-poms</phase>
          <phase>scm-check-modifications</phase>
          <phase>map-branch-versions</phase>
          <phase>map-development-versions</phase>
          <phase>rewrite-poms-for-branch</phase>
          <phase>scm-commit-branch</phase>
          <phase>scm-branch</phase>
          <phase>rewrite-poms-for-development</phase>
          <phase>scm-commit-release</phase>
          <phase>end-release</phase>
        </branchPhases>

If I want to add additional phases in there, how would I go about doing it?
I  found the phases defined in a components-fragment.xml in the 
maven-release-manager plugin.

 I can see in the maven-release-plugin that it gets the MavenReleaseManager 
injected as a component, but I don't know if or how I can swap it out with a 
custom defined component. If anybody can point me to anything relevant I would 
be very grateful..

Regards


Niels B Nielsen | Lead Engineer
J.P. Morgan     | IBTech Global Rates Derivatives



This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

Reply via email to