simon wrote: > Hi, > > I would like to define some report configuration in a parent pom, so > that they apply to child modules. In particular, the maven-pmd-plugin > needs some config common to all the submodules. > > But I do not want those reports to actually *run* for the parent; it > makes no sense to have a pmd report in the parent site's reports > section, as the parent project has no code. > > For a build plugin, this kind of configuration be done in the > pluginManagement section. But configuring a report plugin in > pluginManagement does not appear to affect reports, and there is no > reportManagement section. > > So what is the equivalent for report plugins?
Unfortunately there is no equivalent. But there is an issue for it if you want to vote: http://jira.codehaus.org/browse/MNG-1931 > Is it something to do with the reportSets section? I have read the maven > docs on that several times and just don't understand what this is meant > to do.. reportSets are used by plugins that output multiple reports. An example of this is maven-changelog-plugin: http://maven.apache.org/plugins/maven-changelog-plugin/examples/selecting-reports.html > > Thanks, > > Simon > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
