Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-831

Configuration in reporting section not taken into account when running from cli

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • maven-reporting-impl 3.0
    • None
    • maven-reporting-impl
    • None

    Description

      Investigating on https://github.com/jeremylong/DependencyCheck/issues/1444 my conclusion is that plugin configuration using the reporting section does not work as documented on https://maven.apache.org/guides/mini/guide-configuring-plugins.html#Using_the_reporting_Tag_VS_build_Tag

      When configuring the plugin using the reporting section of the pom the configuration is not applied when calling the plugin goal from the CLI whereas the guide states that it is first looked up there and only when not found searched for in the build section.

      Don't know if this is the intended behaviour of the CLI-invocation of the plugins (and thus a documentation bug) or an actual bug in the configuration evaluation, but I spotted similar behaviour with the maven-project-info-reports-plugin

      Attachments

        Activity

          People

            Unassigned Unassigned
            aikebah Hans Aikema
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: