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

[doc] when and how to define plugins in a pom

    XMLWordPrintableJSON

    Details

      Description

      some simple rules to document

      1) define lifecycle per packaging, according to default behaviour
      2) if a project needs to add a mojo, use <execution/> + <phase/> (if needed)
      3) if a project needs to remove a mojo, make mojo configurable such that
      it can be skipped via POM configuration
      4) if there is a pattern in common for adjusting lifecycle for several
      projects, define a new packaging

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              brettporter Brett Porter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: