Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Steinar Bang Newsgroups: linux.debian.maint.java Subject: Re: Is it possible to have multiple versions of a java-lib installed? Date: Thu, 18 Jan 2018 17:30:01 +0100 Message-ID: References: X-Original-To: debian-java@lists.debian.org X-Mailbox-Line: From debian-java-request@lists.debian.org Thu Jan 18 16:29:28 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-3.957 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HK_RANDOM_ENVFROM=0.001, LDO_WHITELIST=-5, MEDS2=2, RDNS_NONE=0.793] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -6.1 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: debian-java@lists.debian.org Organization: Probably a good idea Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (windows-nt) Mail-Copies-To: never Cancel-Lock: sha1:TpNmkvTpUaMn82lWuw+qmTOCy7U= X-Mailing-List: archive/latest/20646 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/86fu735dx5.fsf@dod.no Approved: robomod@news.nic.it Sender: robomod@news.nic.it X-Original-Date: Thu, 18 Jan 2018 17:28:54 +0100 X-Original-Message-ID: <86fu735dx5.fsf@dod.no> X-Original-References: <86a7xd7lr4.fsf@dod.no> <4fff8acf-c24b-3dfa-6815-87f21400e0bb@apache.org> <86wp0g5r1r.fsf@dod.no> <86shb45fef.fsf@dod.no> <0f70413a-262a-010d-d77a-a84d95aa52cb@apache.org> <86k1wg5d6c.fsf@dod.no> <301194a3-0305-ecfd-3464-d4e3b1c16033@apache.org> X-Original-X-Complaints-To: usenet@blaine.gmane.org Xref: csiph.com linux.debian.maint.java:10270 >>>>> Emmanuel Bourg : > Le 17/01/2018 à 23:32, Steinar Bang a écrit : >> Is pulling the jars in from maven central from maven depdencies >> acceptable? Or do they need to be acually built by the packaging >> project? > It's ok at run time but not at build time (the packages are built in > offline mode). Right. This is incidentially exactly how karaf works: pulling down runtime dependencies from maven central (or, potentially, other repos, I have e.g. used my own[1]) and then loading and starting them. But karaf needs its boot directory jars and the jars in the system.properties file (the set of jars discussed earlier in the thread), locally, before it can start using maven to pull stuff down. References: [1] (Text in Norwegian, but the extra maven repo setup config, is in step 6) (the deb package mentioned there is my home rolled, non-compliant package, and I'm trying to replace this with a real debian package)