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:
parent
333478db86
commit
3e2d10d7f4
@ -78,4 +78,11 @@
|
|||||||
</j:forEach>
|
</j:forEach>
|
||||||
</goal>
|
</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>
|
</project>
|
||||||
|
|||||||
@ -3,3 +3,4 @@
|
|||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# Html2XDoc log plugin.
|
# Html2XDoc log plugin.
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
|
maven.html2xdoc.enabled=false
|
||||||
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<release version="1.1" date="in CVS">
|
<release version="1.1" date="in CVS">
|
||||||
|
<action dev="dion" type="add">Add maven.html2xdoc.enabled property</action>
|
||||||
<action dev="dion" type="update">
|
<action dev="dion" type="update">
|
||||||
Upgrade to dom4j 1.4
|
Upgrade to dom4j 1.4
|
||||||
</action>
|
</action>
|
||||||
|
|||||||
@ -20,6 +20,15 @@
|
|||||||
ready for use by the xdoc plugin.
|
ready for use by the xdoc plugin.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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>
|
<tr>
|
||||||
<td>maven.html2xdoc.jsl</td>
|
<td>maven.html2xdoc.jsl</td>
|
||||||
<td>Yes</td>
|
<td>Yes</td>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user