Package: maven-ant-helper Version: 8.4 Severity: important Hello,
/usr/share/maven-ant-helper/maven-build.xml contains the following lines: <property name="xml-input-factory" value="com.bea.xml.stream.MXParserFactory" /> <property name="xml-output-factory" value="com.bea.xml.stream.XMLOutputFactoryBase" /> whereas the provider of com.bea.xml.stream.MXParserFactory does not seem to be installed as a dependency of maven-ant-helper. I have attempted to 'gbp buildpackage' openchemlib [1], what resulted in the following error: (initial lines omitted for brevity) ant -Duser.name debian Buildfile: /usr/share/maven-ant-helper/maven-build.xml init.pom: [echo] Base dir is /home/andrius/debian-packages/openchemlib [echo] Pom name in /home/andrius/debian-packages/openchemlib/debian/libopenchemlib-java.poms: pom.xml [echo] Pom file pom.xml available? true read.pom: [mkdir] Created dir: /home/andrius/debian-packages/openchemlib/debian/.mh [echo] Cleaner options: --has-package-version --artifact=target/openchemlib-*.jar --java-lib [java] Exception in thread "main" javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory not found [java] at java.xml/javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:196) [java] at java.xml/javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:148) [java] at java.xml/javax.xml.stream.FactoryFinder.find(FactoryFinder.java:260) [java] at java.xml/javax.xml.stream.FactoryFinder.find(FactoryFinder.java:222) [java] at java.xml/javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:161) [java] at org.debian.maven.repo.POMReader.<init>(POMReader.java:51) [java] at org.debian.maven.repo.POMTransformer.<init>(POMTransformer.java:49) [java] at org.debian.maven.repo.POMCleaner.<init>(POMCleaner.java:48) [java] at org.debian.maven.repo.POMCleaner.main(POMCleaner.java:257) [java] Caused by: java.lang.ClassNotFoundException: com/bea/xml/stream/MXParserFactory [java] at java.base/java.lang.Class.forName0(Native Method) [java] at java.base/java.lang.Class.forName(Class.java:374) [java] at java.xml/javax.xml.stream.FactoryFinder.getProviderClass(FactoryFinder.java:121) [java] at java.xml/javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:185) [java] ... 8 more [java] Java Result: 1 [copy] Copying 1 file to /home/andrius/debian-packages/openchemlib BUILD FAILED /usr/share/maven-ant-helper/maven-build.xml:207: Warning: Could not find file /home/andrius/debian-packages/openchemlib/debian/.mh/pom.xml to copy. I am uncommon with debugging such reports, but to me it seems that the class com.bea.xml.stream.MXParserFactory is not installed in my system. I would expect maven-ant-helper depend on it. Best, Andrius [1] https://salsa.debian.org/merkys-guest/openchemlib, git commit d3ef782a917f30c9bfb74c7da3468a49bb12f1bb -- Andrius Merkys Vilnius University Institute of Biotechnology, Saulėtekio al. 7, room V325 LT-10257 Vilnius, Lithuania