Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.10
-
Labels:None
-
Environment:maven 1.0rc2
-
Number of attachments :
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
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.