You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rodrigo Ruiz (JIRA)" <ji...@codehaus.org> on 2008/04/22 16:01:56 UTC
[jira] Commented: (MPIR-35) Site Plugin should work from Template.
Plugin Should not generate Markup from Java
[ http://jira.codehaus.org/browse/MPIR-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131722#action_131722 ]
Rodrigo Ruiz commented on MPIR-35:
----------------------------------
Having the ability to specify custom templates for the reports would be great. Much better than just the message properties.
> Site Plugin should work from Template. Plugin Should not generate Markup from Java
> -----------------------------------------------------------------------------------
>
> Key: MPIR-35
> URL: http://jira.codehaus.org/browse/MPIR-35
> Project: Maven 2.x Project Info Reports Plugin
> Issue Type: New Feature
> Reporter: Tim O'Brien
> Fix For: 2.x
>
> Attachments: maven-project-info-reports.patch, project-info-itest.zip
>
>
> The site plugin currently generates markup from Java. There is logic in the team list report that prints HTML and Javascript directly to a StringBuffer and there is no facility for customization. Because of this, every single site that uses the project info reports ends up with the same text. Google for the text of the team-list plugin and there are at least 18,000 matching pages.
> There needs to be a facility for customization. I propose that the default report is published from a velocity template loaded form the classpath, but the site plugin checks for the presence of an overriding velocity template in a know path (or from a URL).
--
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