Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-32

Make it an error for a plugin to have no mojo

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Maven plugins must have mojos to be useful, and not having a mojo causes a problem down the line like MNG-2925.

      Therefore it would be desirable for the plugin plugin to check for this and issue an error, so that errors will be caught early, not later. A silly pom mistake (such as not setting build/sourceDirectory right) causes this kind of problems.

      Attachments

        Issue Links

          Activity

            People

              brianf Brian E Fox
              kohsuke Kohsuke Kawaguchi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: