[ http://jira.codehaus.org/browse/MPIR-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131722#action_131722 ]
nodens2k edited comment on MPIR-35 at 4/22/08 9:13 AM: ----------------------------------------------------------- Having the ability to specify custom templates for the reports would be great. Much better than just the message properties. For example, I would like to merge the Organisation and Organisation URL columns of the Projet Team report into a single column with a link to the URL using the Organisation name as the link text (I don't know why it is not so). Such changes would be very easy to do with templates. BTW, custom templates would be a valid solution for issues MPIR-78, MPIR-86, MPIR-94 and MPIR-97. was (Author: nodens2k): Having the ability to specify custom templates for the reports would be great. Much better than just the message properties. BTW, custom templates would be a valid solution for issues MPIR-78, MPIR-86, MPIR-94 and MPIR-97. > 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