The following comment has been added to this issue:

     Author: Arnaud HERITIER
    Created: Mon, 14 Feb 2005 5:28 PM
       Body:
It seems interesting Ignacio.
Can you add a plugin-test and a patch for the documentation please ?
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPXDOC-131?page=comments#action_29869

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPXDOC-131

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPXDOC-131
    Summary: Allow velocity in user-documentation and expose pom
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-xdoc-plugin

   Assignee: Arnaud HERITIER
   Reporter: Ignacio G. Mac Dowell

    Created: Fri, 11 Feb 2005 5:07 AM
    Updated: Mon, 14 Feb 2005 5:28 PM

Description:
Currently, we can't directly use the pom or velocity in user-documentation. 

JSL is applied to the user-docs as-is. I suggest having a property called 
maven.docs.src.templates (defaults to false) that when set to true treats 
user-docs as templates.

Then, slightly modify the goal xdoc:jelly-transform.

We need to var's:

<j:set var="mergeUserDocs" value="${maven.docs.src.templates}"/>
<j:set var="hasUserDocs" value="${maven.docs.src.available}"/>

If both evaluate to true then velocity:merge the user docs before doing jsl. If 
they evaluate to false do as before.

It would probably be nice to be able to use jelly as well as user-supplied docs.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to