Bug#1099298: xml-maven-plugin: FTBFS: [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/codehaus/mojo/xml/test/AbstractXmlMojoTestCase.java:[56, 37] constructor DefaultResourceManager in class org.codehaus.plexus.resource.DefaultResourceManager cannot be applied to given types

Julien Plissonneau Duquène sre4ever at free.fr
Sat Apr 12 16:31:34 BST 2025


Control: reassign 1099298 src:plexus-resources
Control: affects 1099298 + src:xml-maven-plugin

Cc: Andreas as part of my postmortem investigation, as he introduced the 
issue.

Hi Pierre,

Le 2025-04-12 12:44, Pierre Gruet a écrit :
> 
> I tested various things (fixed classpath, dependencies, ...) but was 
> unsuccessful in identifying the problem.

After trying a few things, what I've found so far is that:
- build plugins were moved to a pluginManagement section [1] by Andreas, 
this is what cause builds of 1.1.0 using that 1.3.0 packaging to be 
nonfunctional
- restoring the build plugins in 1.3.0 doesn't make the package 
functional as it does for 1.1.0
- xml-maven-plugin probably needs to be updated to 1.1.0 to work with 
the new version of plexus-resources; among other things the test case 
was modified to not use the constructor with no arguments. I haven't 
investigated further.

> xml-maven-plugin was locally built successfully against this new 
> version, I will close the current bug when it is appropriate.

I can confirm that your rollback also fixes the FTBFS issues with 
epubcheck and fop. Thank you for that upload.

Best regards,


[1]: 
https://salsa.debian.org/java-team/plexus-resources/-/blob/debian/1.3.0-1/debian/patches/pom_fixes.patch?ref_type=tags#L28-L60

-- 
Julien Plissonneau Duquène



More information about the pkg-java-maintainers mailing list