Explicitly add the define namespace in case it's not in plugin.jelly.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@424197 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f243a93b60
commit
0599c33155
@ -174,6 +174,7 @@ public class PluginToTags
|
||||
SAXBuilder builder = new SAXBuilder();
|
||||
Document doc = builder.build(new File(getPluginScript()));
|
||||
XPath xpath = XPath.newInstance("/project/define:taglib");
|
||||
xpath.addNamespace( "define", "jelly:define" );
|
||||
List taglibElements = xpath.selectNodes(doc);
|
||||
List taglibs = new LinkedList();
|
||||
for (Iterator iter = taglibElements.iterator(); iter.hasNext();)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user