Use commons-lang for string replacement, util:replace does not work with maven 1.0.2
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@354128 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
9e3a72f2bb
commit
cf5c830c1a
3 files changed
+17
-4
No files matched your search
@@ -77,7 +77,7 @@
|
||||
<j:if test="${link.startsWith('/')}" trim="yes">
|
||||
<j:set var="link" value="${link.substring(1)}"/>
|
||||
</j:if>
|
||||
<util:replace value="${link}" var="xml_link" old=".html" new=".xml"/>
|
||||
<j:set var="xml_link" value="${stringUtils.replace(link, '.html', '.xml')}"/>
|
||||
<util:available file="${maven.docs.src}/${xml_link}">
|
||||
<util:file var="xmlfile" name="${maven.docs.src}/${xml_link}"/>
|
||||
<x:parse var="inputdoc" xml="${xmlfile}"/>
|
||||
|
||||
Reference in new issue
Block a user