if you have an index.xml in your root directory, the plugin will fail...
------------------------------------------------------------------------

                 Key: MPXDOC-201
                 URL: http://jira.codehaus.org/browse/MPXDOC-201
             Project: maven-xdoc-plugin
          Issue Type: Bug
    Affects Versions: 1.10
         Environment: PC
            Reporter: Benoit Xhenseval
             Fix For: 1.10


If you have a file called index.xml in your root directory (/ or c:/), the 
plugin will fail:

xdoc:generate-from-pom:
    [echo] Generating xdocs from POM ...


BUILD FAILED
File...... file:/C:/Documents and Settings/Benoit 
Xhenseval/.maven/cache/maven-xdoc-plugin-1.10/plugin.jelly
Element... velocity:merge
Line...... 728
Column.... 13
This tag must define 'basedir' and 'template'
    Total time   : 5 seconds
    Finished at  : 13 November 2006 00:12:44 GMT

I believe that it should be more robust if the maven.xdoc.custom.templateDir is 
empty (default), it should not assume that it is the root directory...

Thanks
Benoit

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

        

Reply via email to