Download http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/snapshot/jetty-8.1.14.v20131031.tar.bz2 and take the main pom.xml run %pom_xpath_remove "pom:modules/node()" + python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:modules/node()' Traceback (most recent call last): File "/usr/share/java-utils/pom_editor.py", line 356, in <module> macros[sys.argv[1]](*sys.argv[2:]) File "/usr/share/java-utils/pom_editor.py", line 98, in decorated function(*fnargs) File "/usr/share/java-utils/pom_editor.py", line 258, in pom_xpath_remove pom.replace_xml(element, "<!-- element removed by maintainer -->") File "/usr/share/java-utils/pom_editor.py", line 145, in replace_xml idx = parent.index(replaced) TypeError : Argument 'child' has incorrect type (expected lxml.etree._Element, got _ElementStringResult) The same call works with pom_editor.sh. Version: javapackages-tools-3.6.0-0.2.gitd370124.noarch
Should be fixed in upstream commit 5eb4ce0
Verified upstream.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
I believe that this bug is fixed in javapackages-tools-4.1.0-2, which is available in Fedora 21, so I am closing this bug now. The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=543061