Path: csiph.com!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Emmanuel Bourg Newsgroups: linux.debian.maint.java Subject: Re: Intended use of ${maven:CompileDepends} Date: Sat, 11 Nov 2023 11:00:01 +0100 Message-ID: References: X-Original-To: Sebastiaan Couwenberg , Debian Java List X-Mailbox-Line: From debian-java-request@lists.debian.org Sat Nov 11 09:50:09 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12.445 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, NICE_REPLY_A=-3.137, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .apache. - helo: .mxout1-he-de.apache. - helo-domain: .apache.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; 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: 8bit X-Mailing-List: archive/latest/23406 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/996b9ef4-a223-9398-2884-3ace06492237@apache.org Approved: robomod@news.nic.it Lines: 18 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 11 Nov 2023 10:49:44 +0100 X-Original-Message-ID: <996b9ef4-a223-9398-2884-3ace06492237@apache.org> X-Original-References: <8c4a5ce9-79bf-45b4-bf2a-cadbe7c08364@xs4all.nl> Xref: csiph.com linux.debian.maint.java:12720 Hi Sebastiaan, Le 11/11/2023 à 09:15, Sebastiaan Couwenberg a écrit : > What's the intended use of the ${maven:CompileDepends} substvar? > > It shouldn't be added to Depends nor Built-Using. The dpkg-gencontrol > warning makes it very tempting to add it to Depends as some package in > the archive have incorrectly done. > > I've resorted to stripping it from the generated substvars file before > dh_gencontrol to get rid of the warning, but it seems better to do this > in maven-debian-helper. I'll have to check but I think the intended use of ${maven:CompileDepends} is for packaging parent poms, in this case you want the plugin dependencies to appear in the Depends field of the package. Emmanuel Bourg