You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/05/31 16:26:43 UTC

[jira] Created: (RAT-74) Custom stylesheets and raw XML output from the Maven plugin

Custom stylesheets and raw XML output from the Maven plugin
-----------------------------------------------------------

                 Key: RAT-74
                 URL: https://issues.apache.org/jira/browse/RAT-74
             Project: RAT
          Issue Type: New Feature
          Components: maven
            Reporter: Jukka Zitting


Currently the RAT Maven plugin only produces the default plain text reports.

It would be useful if the plugin could be configured to output also the raw XML report or to use a custom stylesheet to render the report.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (RAT-74) Custom stylesheets and raw XML output from the Maven plugin

Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAT-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig resolved RAT-74.
-------------------------------

    Fix Version/s: 0.7
       Resolution: Fixed

patch applied as svn revision 949951

Thanks!

> Custom stylesheets and raw XML output from the Maven plugin
> -----------------------------------------------------------
>
>                 Key: RAT-74
>                 URL: https://issues.apache.org/jira/browse/RAT-74
>             Project: RAT
>          Issue Type: New Feature
>          Components: maven
>            Reporter: Jukka Zitting
>             Fix For: 0.7
>
>         Attachments: RAT-74.patch
>
>
> Currently the RAT Maven plugin only produces the default plain text reports.
> It would be useful if the plugin could be configured to output also the raw XML report or to use a custom stylesheet to render the report.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (RAT-74) Custom stylesheets and raw XML output from the Maven plugin

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAT-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated RAT-74:
-----------------------------

    Attachment: RAT-74.patch

The attached patch adds a "reportStyle" configuration option. The option accepts the following values:

    "plain" - (default) use the default plain text format
    "xml" - output the raw XML report
    "/path/to/style.xslt" - use a custom XSL transformation

Here's an example configuration:

      <plugin>
        <groupId>org.apache.rat</groupId>
        <artifactId>apache-rat-plugin</artifactId>
        <version>0.7-SNAPSHOT</version>
        <configuration>
          <reportFile>${project.build.directory}/rat.xml</reportFile>
          <reportStyle>xml</reportStyle>
        </configuration>
      </plugin>


> Custom stylesheets and raw XML output from the Maven plugin
> -----------------------------------------------------------
>
>                 Key: RAT-74
>                 URL: https://issues.apache.org/jira/browse/RAT-74
>             Project: RAT
>          Issue Type: New Feature
>          Components: maven
>            Reporter: Jukka Zitting
>         Attachments: RAT-74.patch
>
>
> Currently the RAT Maven plugin only produces the default plain text reports.
> It would be useful if the plugin could be configured to output also the raw XML report or to use a custom stylesheet to render the report.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.