Issue Details (XML | Word | Printable)

Key: MPXDOC-201
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Lukas Theussl
Reporter: Benoit Xhenseval
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x XDoc Plugin

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

Created: 12/Nov/06 06:42 PM   Updated: 13/Nov/06 06:26 AM   Resolved: 13/Nov/06 06:26 AM
Return to search
Component/s: None
Affects Version/s: 1.10
Fix Version/s: 1.10.1

Time Tracking:
Not Specified

Environment: PC


 Description  « Hide

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



There are no comments yet on this issue.