You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2005/06/17 04:53:25 UTC

[jira] Commented: (MNG-469) implement report configuration

    [ http://jira.codehaus.org/browse/MNG-469?page=comments#action_41442 ] 

John Casey commented on MNG-469:
--------------------------------

I'm trying to understand how the reporting stuff works...are we attempting to make the site mojo work more like the lifecycle executor, then, in that it iterates over the reports and calls getReport() on the report 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org