[ http://jira.codehaus.org/browse/MNG-1857?page=comments#action_53762 ]
Brett Porter commented on MNG-1857: ----------------------------------- It's intentionally the other way around. settings in reporting are already applied to build plugins so they don't need to be duplicated, but build plugins have a more honerous requirement - specifically they will often fail the build when the reporting plugin won't during site generation. For this reason, build configuration is not passed to the reports. > PluginManagement config is not used by plugins enabled in the site generation > phase > ----------------------------------------------------------------------------------- > > Key: MNG-1857 > URL: http://jira.codehaus.org/browse/MNG-1857 > Project: Maven 2 > Type: Bug > Components: maven-site-plugin > Versions: 2.0.2 > Environment: maven-site-plugin 2.0-beta-3-SNAPSHOT > Reporter: Indrajit Raychaudhuri > > > Consider the following POM: > {code:xml} > <!-- ... ... --> > <!-- ... ... --> > <build> > <pluginManagement> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-javadoc-plugin</artifactId> > <configuration> > <author>false</author> > </configuration> > </plugin> > </pluginManagement> > </build> > <!-- ... ... --> > <!-- ... ... --> > <reporting> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-javadoc-plugin</artifactId> > </plugin> > </plugins> > </reporting> > <!-- ... ... --> > {code} > {{mvn site:site}} doesn't honor the javadoc configuration specified in the > {{<pluginManagement/>}} section. > However, {{mvn javadoc:javadoc}} honors them. > This is true not just for javadoc but other plugins like checkstyle as well. > I guess, the {{<reporting/>}} section doesn't use the {{<pluginManagement/>}} > section at all. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]