Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11681

Re: Using --ignore in Maven packaging

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Emmanuel Bourg <ebourg@apache.org>
Newsgroups linux.debian.maint.java
Subject Re: Using --ignore in Maven packaging
Date Sun, 07 Jun 2020 11:10:01 +0200
Message-ID <AeZtv-691-3@gated-at.bofh.it> (permalink)
References <AdFnb-3Vg-3@gated-at.bofh.it> <AeLJU-64k-11@gated-at.bofh.it> <AeR2V-WN-5@gated-at.bofh.it>
X-Mailbox-Line From debian-java-request@lists.debian.org Sun Jun 7 09:00:19 2020
Old-Return-Path <ebourg@apache.org>
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 <debian-java@lists.debian.org> archive/latest/22261
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
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 <c532272f-429b-1370-e1ce-16542149b250@apache.org>
X-Original-References <CAJj0crTwqYKhB=Qy7hwmhibdcqaB11ZJmtAcdP9ausbo4W3Otw@mail.gmail.com> <a83a359a-70ad-8d9d-2ad8-f0e2fc9cead2@apache.org> <CAJj0crS6CGb-g8bs9MS=e-NQc6w0Bo6UJgq6+VTD6hzE=cJNMA@mail.gmail.com>
Xref csiph.com linux.debian.maint.java:11681

Show key headers only | View raw


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

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Find similar


Thread

Using --ignore in Maven packaging Olek Wojnar <olek@debian.org> - 2020-06-03 19:30 +0200
  Re: Using --ignore in Maven packaging Emmanuel Bourg <ebourg@apache.org> - 2020-06-06 20:30 +0200
    Re: Using --ignore in Maven packaging Olek Wojnar <olek@debian.org> - 2020-06-07 02:10 +0200
      Re: Using --ignore in Maven packaging Emmanuel Bourg <ebourg@apache.org> - 2020-06-07 11:10 +0200

csiph-web