Uploaded image for project: 'Maven Project Web Site'
  1. Maven Project Web Site
  2. MNGSITE-128

Inconsistent, missing docs for maven plugin naming conventions and auto operations based on that

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None

    Description

      The page http://maven.apache.org/guides/plugin/guide-java-plugin-development.html has a small entry under "shortening the command line" which says that artifactId patterns maven-$name-plugin and $name-maven-plugin are treated specially (by convention).

      The email of Sep 27, 2008 to maven users list, from Stephen Connolly says

      AFAIK only plugins with the groupId org.apache.maven.plugins are allowed to
      use the maven-______-plugin pattern. I could not find this documented (other than on the users email list.).

      The page http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html

      says that the conventional mappings only happen for the "maven-$name-plugin" style, and don't mention the other style ($name-maven-plugin).

      I recommend using the text from the 1st ref (which seems to be the clearest) as a starting point, to augment and expand the text in the 3rd ref.

      The Complete Reference book is missing this information, as well, I believe.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            brett Brett Porter
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment