Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-62

Option not to run install phase during realease:prepare

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • xp,clearcase,starteam

    Description

      I have a build environments where daily release build is required and the build is long ( 1 - 2 hours is the norm).

      By using the current release plugin, the prepare step forces the install phase, we end up to do the build at both
      prepare and perform steps and therefore the build time is double.

      I would like to propose that maven-release-plugin allows an option not to invoke the install phase. Here are my
      thoughts on this.

      • Fail daily build is a norm, however failure is selfdom now with the help of contiguous integration (ie Continuum).
      • Since the build is long, passing the prepare phase, does not mean it will pass at perform phase since user
        can checkin changes at the build phase in prepare step.

      Thoughts?

      Would binding preprare mojo to initialize phase is good enought? how can we optionally change the execute phase
      at run time?

      Attachments

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              dantran Dan Tran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: