On 08/03/2025 19:07, Mechtilde Stehmann wrote:
Hallo,

I want to update the package libjax-maven-plugin.

I want to fix this FTBFS-Issue

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091120

I have no idea how I can solve the problem.



The Maven logs contains this error:

> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/jax-maven-plugin/src/main/java/com/github/davidmoten/jaxws/Util.java:[3,39] package org.apache.commons.lang3 does not exist > [ERROR] /<<PKGBUILDDIR>>/jax-maven-plugin/src/main/java/com/github/davidmoten/jaxws/Util.java:[3,1] static import only from classes and interfaces > [ERROR] /<<PKGBUILDDIR>>/jax-maven-plugin/src/main/java/com/github/davidmoten/jaxws/Util.java:[4,39] package org.apache.commons.lang3 does not exist > [ERROR] /<<PKGBUILDDIR>>/jax-maven-plugin/src/main/java/com/github/davidmoten/jaxws/Util.java:[4,1] static import only from classes and interfaces > [ERROR] /<<PKGBUILDDIR>>/jax-maven-plugin/src/main/java/com/github/davidmoten/jaxws/Util.java:[15,32] package org.apache.commons.lang3 does not exist


It looks like there is a missing dependency on commons-lang3. This error can happen if the upstream projects uses the classes of a library but doesn't declare an explicit dependency on the library, relying instead on another dependency to add it to the classpath transitively.

The solution is to patch the pom.xml to declare the missing dependency.

Emmanuel Bourg

Reply via email to