Path: csiph.com!tncsrv06.tnetconsulting.net!newsfeed.endofthelinebbs.com!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Emmanuel Bourg Newsgroups: linux.debian.maint.java Subject: Re: Updating libjax-maven-plugin-java Date: Mon, 10 Mar 2025 18:40:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-java-request@lists.debian.org Mon Mar 10 17:33:02 2025 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12.026 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, NICE_REPLY_A=-0.13, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 Authentication-Results: apache.org; auth=none MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/23669 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/1bf3a2de-417d-8711-9bcc-2cdc9f6f707c@apache.org Approved: robomod@news.nic.it Lines: 42 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 10 Mar 2025 18:32:37 +0100 X-Original-Message-ID: <1bf3a2de-417d-8711-9bcc-2cdc9f6f707c@apache.org> X-Original-References: <0ab5ed11-3a27-4a85-b146-f9b4a85099a8@debian.org> Xref: csiph.com linux.debian.maint.java:12949 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] /<>/jax-maven-plugin/src/main/java/com/github/davidmoten/jaxws/Util.java:[3,39] package org.apache.commons.lang3 does not exist > [ERROR] /<>/jax-maven-plugin/src/main/java/com/github/davidmoten/jaxws/Util.java:[3,1] static import only from classes and interfaces > [ERROR] /<>/jax-maven-plugin/src/main/java/com/github/davidmoten/jaxws/Util.java:[4,39] package org.apache.commons.lang3 does not exist > [ERROR] /<>/jax-maven-plugin/src/main/java/com/github/davidmoten/jaxws/Util.java:[4,1] static import only from classes and interfaces > [ERROR] /<>/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