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

one cannot call xdoc:copy-user-resources directly

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10
    • Labels:
      None
    • Environment:
      maven 1.0rc2
    • Number of attachments :
      1

      Description

      In the xdoc plugin found in 1.0rc2. property maven.docs.src.available doesn't exist when one calls

      $MAVEN_HOME/bin/maven xdoc:copy-user-resources

        Activity

        Hide
        Jerome Lacoste added a comment -

        The patch works by moving the initialization of maven.docs.src.available property into the init goal, making it available to the copy-user-resources goal.

        I've also seen that other tasks declare the maven.docs.src.available, so we can either use this patch and refactor the other tasks as required, or make the copy-user-resources goal declare the property without depending on init.

        Show
        Jerome Lacoste added a comment - The patch works by moving the initialization of maven.docs.src.available property into the init goal, making it available to the copy-user-resources goal. I've also seen that other tasks declare the maven.docs.src.available, so we can either use this patch and refactor the other tasks as required, or make the copy-user-resources goal declare the property without depending on init.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jerome Lacoste
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 5 minutes
              5m
              Remaining:
              Remaining Estimate - 5 minutes
              5m
              Logged:
              Time Spent - Not Specified
              Not Specified