Add maven.html2xdoc.enabled property allowing html files to be

treated as 'normal' xdoc when doing maven:site


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114037 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion 2003-09-19 07:35:23 +00:00
parent 333478db86
commit 3e2d10d7f4
4 changed files with 18 additions and 0 deletions

View File

@ -78,4 +78,11 @@
</j:forEach>
</goal>
<preGoal name="xdoc:jelly-transform">
<j:set var="enabled" value="${maven.html2xdoc.enabled}"/>
<j:if test="${enabled}">
<echo>html2xdoc is enabled</echo>
<attainGoal name="html2xdoc"/>
</j:if>
</preGoal>
</project>

View File

@ -3,3 +3,4 @@
# -------------------------------------------------------------------
# Html2XDoc log plugin.
# -------------------------------------------------------------------
maven.html2xdoc.enabled=false

View File

@ -7,6 +7,7 @@
<body>
<release version="1.1" date="in CVS">
<action dev="dion" type="add">Add maven.html2xdoc.enabled property</action>
<action dev="dion" type="update">
Upgrade to dom4j 1.4
</action>

View File

@ -20,6 +20,15 @@
ready for use by the xdoc plugin.
</td>
</tr>
<tr>
<td>maven.html2xdoc.enabled</td>
<td>Yes (default=false)</td>
<td>
If this is set to true, the html2xdoc plugin will run before any
xdocs are translated to html, allowing the html2xdoc conversion process
to produce its output as if it's a normal part of the site.
</td>
</tr>
<tr>
<td>maven.html2xdoc.jsl</td>
<td>Yes</td>