Prevent FAQ plugin from crashing if there is no /xdocs directory.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114399 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d2c5c1fee7
commit
c7819a19fc
@ -19,7 +19,7 @@
|
||||
-->
|
||||
<define:tag name="performTransformation">
|
||||
<!-- NOTE: part of this tag implementation is based on jelly-code from xdoc-plugin -->
|
||||
|
||||
<util:available file="${srcdir}">
|
||||
<util:file var="srcdirFile" name="${srcdir}"/>
|
||||
<j:set var="srcdir" value="${srcdirFile.getCanonicalPath()}"/>
|
||||
<util:file var="destdirFile" name="${destdir}"/>
|
||||
@ -117,6 +117,7 @@
|
||||
</document>
|
||||
</j:file>
|
||||
</j:forEach>
|
||||
</util:available>
|
||||
</define:tag>
|
||||
|
||||
</define:taglib>
|
||||
|
||||
@ -36,6 +36,15 @@
|
||||
<role>Developer</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Eric Pugh</name>
|
||||
<id>epugh</id>
|
||||
<email>epugh@upstate.com</email>
|
||||
<organization>Upstate</organization>
|
||||
<roles>
|
||||
<role>Java Developer</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
||||
@ -7,6 +7,9 @@
|
||||
|
||||
<body>
|
||||
<release version="1.2" date="in CVS">
|
||||
<action dev="epugh" type="fix">
|
||||
Only run when an xdocs directory exists.
|
||||
</action>
|
||||
<action dev="dion" type="fix">
|
||||
Fix MAVEN-973. xdocs source hardcoded.
|
||||
</action>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user