The following comment has been added to this issue:

     Author: Wayne Crosby
    Created: Fri, 25 Jul 2003 1:36 PM
       Body:
Mike 
 Thank you for the quick example.  I notice that in the maven-xdoc-plugin directory 
there are jelly-templates and velocity templates.  The index.xml template in these 
directories are used if you do not supply your own under the xdocs directory of your 
project.  These templates allow you to use velocity and jelly to generate the site 
pages.  If I copy the index.xml file from either folder an put it in my project xdocs 
directory, the page does not generate correctly since it is not being parsed by 
velocity or jelly.  

How do I get xml files in the xdoc directory to be parsed with velocity or jelly?

Any help is greatly appreciated.

-Wayne
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-157


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-157
    Summary: Xdoc example
       Type: Improvement

     Status: Assigned
   Priority: Minor

 Time Spent: Unknown
  Remaining: 1 minute

    Project: maven
 Components: 
             plugin-xdoc

   Assignee: dion gillard
   Reporter: dion gillard

    Created: Thu, 21 Nov 2002 7:42 PM
    Updated: Thu, 21 Nov 2002 7:48 PM

Description:


Hi dIon,

We like Maven a lot - every project we touch is now Maven-ised.  Yesterday
I joined a new team on a project, so first thing I did was write the POM
and try to compile it.  Already it threw up some dependencies they hadn't
realised were there so that's great.

Anyway I've put together a little xdoc example as a start.  You'll need to
add this to the xdoc plugin a little to copy the docs directory after the
images directory:

    <!-- Copy user supplied docs -->
    <copy todir="${maven.docs.dest}/docs" filtering="no">
      <fileset dir="${maven.docs.src}/docs">
        <include name="**/*"/>
      </fileset>
    </copy>

Hope this is helpful to people starting with Maven,

     Mike




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