Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4FCC811EA6 for ; Tue, 29 Jul 2014 06:03:41 +0000 (UTC) Received: (qmail 93627 invoked by uid 500); 29 Jul 2014 06:03:41 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 93510 invoked by uid 500); 29 Jul 2014 06:03:41 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 93491 invoked by uid 99); 29 Jul 2014 06:03:40 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2014 06:03:40 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 74.125.82.52 as permitted sender) Received: from [74.125.82.52] (HELO mail-wg0-f52.google.com) (74.125.82.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2014 06:03:24 +0000 Received: by mail-wg0-f52.google.com with SMTP id a1so8125325wgh.23 for ; Mon, 28 Jul 2014 23:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Yy5UVI6+kbrfc4x30FBRkoozVvn9dW+xes7t+ohMr5k=; b=rAQwJOeFDjrA00sYsznh1bY20Ba/o3+T/4D792E8hjvZZbye9/EcNj2utB6PMso+op BUUQE8m20jRG2KhhD8yKJKYFeWMViD+JMJ5argrVZ0k+tsc4eWNaMisb9AuSecqTTYx/ ceWx9rMUY5dSs32hMXre/KxZA/EmUvtcnMKXXiKh2GY3OQnI1dWPCNZZXVNRSimbfKsu hcUuM+JEa+DjJ91T8I8dPBZQan0TEOK8SBo9lbltQkqfNannwwcZUdI4//F/pKPuk7K1 heKDdphEPnlLnz0UIAtecerJSvG4zrm8DtpyTEjvqkaJZ2/xSa6jgm0393kI2XT/lSkJ 5eIg== MIME-Version: 1.0 X-Received: by 10.194.192.201 with SMTP id hi9mr57277505wjc.28.1406613779664; Mon, 28 Jul 2014 23:02:59 -0700 (PDT) Received: by 10.194.178.105 with HTTP; Mon, 28 Jul 2014 23:02:59 -0700 (PDT) In-Reply-To: <20140729025958.00002eba.ecki@zusammenkunft.net> References: <53906A0D.8050901@apache.org> <20140729025958.00002eba.ecki@zusammenkunft.net> Date: Tue, 29 Jul 2014 07:02:59 +0100 Message-ID: Subject: Re: [bcel] BCEL 6.0 review From: sebb To: Commons Developers List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On 29 July 2014 01:59, Bernd Eckenfels wrote: > Am Mon, 28 Jul 2014 19:34:05 +0100 > schrieb sebb : > >> There must be a 1-1 correspondance between the Maven pair {group id, >> artifact id} and package name. >> Otherwise Maven can add multiple copies of the jar to the same >> classpath. Jar hell. > > Uh, why is that? > > I think the maven version resolving is soley based on > coordinates. If you have different versions of a given coordinate it > will chose one. If you rename it, it will use both - no matter if it > has same package as others or not. Exactly. So Maven needs to be told (via the coords) which jars have the same packages and which are different. See https://wiki.apache.org/commons/MavenAndClasspath which is my attempt to explain this further. > I think only the OSGi/bnd stuff looks at the packages. And the Java classloader. > Gruss > Bernd > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org