Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Emmanuel Bourg Newsgroups: linux.debian.maint.java Subject: Re: Using --ignore in Maven packaging Date: Sun, 07 Jun 2020 11:10:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-java-request@lists.debian.org Sun Jun 7 09:00:19 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12.001 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/22261 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/c532272f-429b-1370-e1ce-16542149b250@apache.org Approved: robomod@news.nic.it Lines: 16 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 7 Jun 2020 11:00:01 +0200 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.maint.java:11681 Le 07/06/2020 à 01:50, Olek Wojnar a écrit : > But say there's a dummy root POM and I don't want to have a > "dummy-build-only" directory added to the final package. So I add a > --ignore for that POM (also tried --ignore-pom) but then I get > complaints that required dependencies are not present. Specifically, the > dependencies for the ignored POM that I have listed in the ignoreRules. > It almost seems that if I --ignore a POM then the ignore-Rules for that > POM are ignored as well, but the package build still tries to find those > dependencies. Does that make sense? I'm not sure to understand, but the root pom should not be ignored, it has to be installed in the binary package. Otherwise there might be missing information for other projects depending on this project. Emmanuel Bourg