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

a way to copy xml files instead of transforming

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.9
    • Labels:
      None
    • Environment:
      Any
    • Number of attachments :
      0

      Description

      Currently, there is no way to copy xml files from the xdocs directory to the docs directory.
      cf. http://nagoya.apache.org/eyebrowse/ReadMsg?listName=users@maven.apache.org&msgId=812567

      It would be great if there was a property like maven.xdoc.exclude.xml to tell xdoc what xml to transform and what to just copy.

      A work-around would be to put the xml you want untouched outside of the xdocs directory and copy it on a postGoal of xdoc.

        Issue Links

          Activity

          Hide
          Arnaud Heritier added a comment -

          A new property is added : maven.xdoc.xml.copy

          A comma separated list of patterns to specify xml files to copy from $

          {maven.docs.src}

          to $

          {maven.docs.dest}

          without to perform a transformation to HTML.
          The default value is empty (no xml files are copied).

          you can download it with this command :

          maven plugin:download
          -Dmaven.repo.remote=http://cvs.apache.org/repository
          -DgroupId=maven
          -DartifactId=maven-xdoc-plugin
          -Dversion=SNAPSHOT

          Show
          Arnaud Heritier added a comment - A new property is added : maven.xdoc.xml.copy A comma separated list of patterns to specify xml files to copy from $ {maven.docs.src} to $ {maven.docs.dest} without to perform a transformation to HTML. The default value is empty (no xml files are copied). you can download it with this command : maven plugin:download -Dmaven.repo.remote= http://cvs.apache.org/repository -DgroupId=maven -DartifactId=maven-xdoc-plugin -Dversion=SNAPSHOT

            People

            • Assignee:
              Arnaud Heritier
              Reporter:
              Shinobu Kawai
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: