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

Maven Plugin Validation message is misleading

    XMLWordPrintableJSON

Details

    Description

      The Maven artifact scope validation is misleading, it claims "... should declare in provided scope", and this may happen in this case:

      • perfectly valid POM (does declare Maven artifacts in provided scope)
      • but plugin developer uses problematic maven-plugin-plugin (ie. 3.6.2 that suffers from descriptor generation bug)

      Proposal:

      • reword the message, to clearly point at "plugin descriptor contains bad entries..."
      • add new check that actually checks plugin dependencies (and not "derived" descriptor dependencies that may differ from POM declared ones due m-p-p bug)

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: