You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org> on 2005/07/27 16:13:57 UTC

[jira] Closed: (MNG-645) Allow for external reports

     [ http://jira.codehaus.org/browse/MNG-645?page=all ]
     
Emmanuel Venisse closed MNG-645:
--------------------------------

     Assign To: Emmanuel Venisse
    Resolution: Fixed

I added isExternalReport method

> Allow for external reports
> --------------------------
>
>          Key: MNG-645
>          URL: http://jira.codehaus.org/browse/MNG-645
>      Project: Maven 2
>         Type: Task
>   Components: maven-reports
>     Versions: 2.0-alpha-3
>     Reporter: Vincent Massol
>     Assignee: Emmanuel Venisse
>     Priority: Minor
>      Fix For: 2.0-beta-1

>
>
> Currently the AbstractMavenReport implementation has:
>     public void execute()
>         throws MojoExecutionException
>     {
>         try
>         {
>             String outputDirectory = getOutputDirectory();
>             XhtmlSink sink = getSiteRenderer().createSink( new File( outputDirectory ), getOutputName() + ".html",
>                                                            outputDirectory, getSiteDescriptor(), "maven" );
> [...]
> This means that an HTML file with the report name will always be created. However, for the Clover plugin the HTML files are generated by the Clover API itself and we don't control them. Thus we don't need this clover.html file.
> I believe the AbstractMavenReport class should support report mojos that have externally generated HTML files too.
> For now, I've implemented MavenReport instead of extending AbstractMavenReport.

-- 
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