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

<executions> inside <pluginManagement> should raise a warning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.0.5
    • None
    • None
    • None
    • Ubuntu 14.04.3

    Description

      When I was setting up my project's pom.xml, I was unaware that there was a difference between project/build/pluginManagement/plugins and project/build/plugins. These StackOverflow questions indicate I'm not the only one who was confused:

      If we have to have such a confusing schema, then can we please at least raise a warning when the confusion inevitably occurs, given how easy it is to detect (since AFAICT there'd be no reason to put an executions tag inside pluginManagement/plugins/plugin)?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Pr0methean Chris Hennick
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: