MAVEN-214: LinkChecker plugin additions

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112776 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding committed 2003-01-30 10:58:35 +00:00
1 parent 447af533c6
commit 17b604c9d2
1 file changed
+12 -2
+12 -2
View File
@@ -148,7 +148,7 @@
<j:forEach var="file" items="${docFiles.iterator()}">
<util:replace var="inDirForward" oldChar="\" newChar="/" value="${file.parent}"/>
<util:replace var="inDirForward" oldChar="\" newChar="/" value="${file.parent}"/>
<j:set var="outDir" value="${dirMapper.mapFileName(inDirForward).0}"/>
<mkdir dir="${outDir}"/>
@@ -454,6 +454,16 @@
</j:if>
</goal>
<!-- This is required as the linkchecker runs as a final pass over the generated
document tree -->
<goal name="xdoc:performJSL"
description="Allows the LinkCheck plugin to xdoc a single directory">
<j:set var="maven.xdoc.src" value="${pom.getPluginContext('maven-linkcheck-plugin').getVariable('maven.xdoc.src')}"/>
<doc:performJSL
srcdir="${maven.xdoc.src}"
destdir="${maven.docs.dest}"/>
</goal>
</project>