Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2097

adding a phase called prepare-package

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.1.0, 3.0-alpha-1
    • Plugins and Lifecycle
    • None
    • all

    Description

      Hi,
      I have an artifact (packaging war).
      I have some jobs to do (xdoclet-maven-plugin others internal plugin) which are only needed for included materials in the war :

      • web.xml
      • automatic generated pages (about page etc..)
        Actually I attached it tho the phase process-classes or test.
        But when I just want to try a simple the simple : mvn -Dtest=something clean test.
        All of my .java are parsed by the plugin and all other jobs made whereas this should be done in a phase just before packaging.
        I really need a phase just before package to place all this jobs.
        Probably this can be extends to phase deploy.
        Olivier

      Attachments

        1. MNG-2097.diff
          0.7 kB
          Olivier Lamy

        Issue Links

          Activity

            People

              brett Brett Porter
              olamy Olivier Lamy
              Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: