Maven 1.x XDoc Plugin
  1. Maven 1.x XDoc Plugin
  2. MPXDOC-201

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

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.10
    • Fix Version/s: 1.10.1
    • Labels:
      None
    • Environment:
      PC
    • Number of attachments :
      0

      Description

      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

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Lukas Theussl
            Reporter:
            Benoit Xhenseval
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: