Run before xdoc:init so generated xdocs can also be used by pdf plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116014 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
carlos committed 2004-08-28 21:09:35 +00:00
1 parent 190e218e55
commit 6d1dabfed9
1 file changed
+6 -1
+6 -1
View File
@@ -28,6 +28,11 @@
<!-- FIXME: This should work like other xdoc generating plugins -->
<goal name="html2xdoc" prereqs="xdoc:init"
description="Generates XDoc documentation from normal HTML files">
<attainGoal name="html2xdoc:transform"/>
</goal>
<goal name="html2xdoc:transform"
description="Performs the html to xdoc transformation">
<j:set var="destdir" value="${maven.gen.docs}"/>
<!-- FIXME: Shouldn't need to do this check -->
@@ -103,7 +108,7 @@
<j:set var="enabled" value="${maven.html2xdoc.enabled}"/>
<j:if test="${enabled}">
<echo>html2xdoc is enabled</echo>
<attainGoal name="html2xdoc"/>
<attainGoal name="html2xdoc:transform"/>
</j:if>
</preGoal>
</project>