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

Why does maven-plugin-plugin always warn if goalPrefix is set?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.0
    • 3.6.1
    • Plugin Plugin
    • None

    Description

      If the <goalPrefix> parameter is set, the plugin will always issue a warning: https://github.com/apache/maven-plugin-tools/blob/26ba0323bfd66214222b1be4d71402b0948d51bf/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java#L216

      Obviously the provided value will differ from the default goal prefix; otherwise, why bother using this parameter at all?

      Shouldn't issue be logged as DEBUG instead of WARN?

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            cowwoc Gili
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: