[ http://jira.codehaus.org/browse/MNG-469?page=comments#action_41545 ]
Brett Porter commented on MNG-469: ---------------------------------- in point form, here is how I see it - command line execution is a build plugin - build plugins use configuration from both the build section and the report section - site plugins use only configuration from the report section - all this should be in the plugin manager. I'll try and do this today as I push the build config into the plugin manager > implement report configuration > ------------------------------ > > Key: MNG-469 > URL: http://jira.codehaus.org/browse/MNG-469 > Project: Maven 2 > Type: Bug > Components: maven-reports > Versions: 2.0-alpha-2 > Reporter: Brett Porter > Assignee: John Casey > Fix For: 2.0-alpha-3 > > > notes: > - if in <reports> the configuration applies to the report, which may be > different to the mojo in <build/> if the plugin is executed there. So we need > that separate section. > - currently, the report is not configured at all, as we use a map lookup > implementation: > - similar to executeMojo, a getReport method should get a configured > MavenReport > - remove the MavenConfiguration inline with this, AbstractMavenReport should > have a outputDirectory and project field. due to the way locales are done, > this will moving the output directory creation into the abstract report where > it can concat the locale > - reports should be configured from the <reports/> whether they are being > executed or as part of the site, not in <build/> like normal plugins > - design as shown here: > http://docs.codehaus.org/display/MAVEN/Multiple+Goal+Declaration, ie: > <report> > <g/a/v> > <configuration /> > <reportSets> > <reportSet> > <id /> > <configuration /> > <reports> > <report>...</report> > <report>...</report> > </reports> > </reportSet> > </reportSets> > </report> > -- 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]