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

Don't log a warning when packaging type unsupported -> info is enough

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.6.0
    • 3.6.1
    • Plugin Plugin
    • None

    Description

      At the moment, the maven-plugin-plugin issues as warning if the <packaging> is not one of the configured <packagingTypes>.

      [WARNING] Unsupported packaging type pom, execution skipped 

      This makes it very hard to get a warning-free build if you configure, e.g., the plugin:helpmojo goal in a parent POM.

      IMHO, an info-level log output is sufficient. After all, the goal does what it is configured to.

      Likewise for skip. (maven-surefire-plugin, maven-enforcer-plugin, maven-pmd-plugin, maven-chechkstyle-plugin and many more all use info-level logging for their "Skipping execution" messages.)

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            asewe Andreas Sewe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: