Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-523

Configuring build and reporting goals (under reportPlugins) requires duplication

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.0-beta-3
    • None
    • inheritance
    • None
    • Apache Maven 3.0 (r1004208; 2010-10-04 13:50:56+0200)
      Java version: 1.6.0_22

    Description

      Many plugins (maven-checkstyle-plugin, maven-javadoc-plugin, maven-pmd-plugin) have both build and reporting goals. Unfortunately, the plugin configuration done in the build section of the POM does not carry over to the plugin configuration done for the reportPlugins of the maven-site-plugin. Consequently, one has to duplicate any custom configuration which should apply to both build and reporting, e.g., the configLocation configuration element of the m-checkstyle-p.

      Note that a workaround is possible, once MSITE-516 is resolved; still, I consider this to be an independent issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sewe Andreas Sewe
              Votes:
              12 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: