Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 38926 invoked from network); 12 Sep 2007 15:11:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Sep 2007 15:11:56 -0000 Received: (qmail 22483 invoked by uid 500); 12 Sep 2007 15:11:49 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 22454 invoked by uid 500); 12 Sep 2007 15:11:49 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 22445 invoked by uid 99); 12 Sep 2007 15:11:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 08:11:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of heavy@ungoverned.org designates 69.89.20.231 as permitted sender) Received: from [69.89.20.231] (HELO outbound-mail-16.bluehost.com) (69.89.20.231) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Sep 2007 15:11:45 +0000 Received: (qmail 14280 invoked by uid 0); 12 Sep 2007 15:11:21 -0000 Received: from unknown (HELO host118.hostmonster.com) (74.220.207.118) by mailproxy1.bluehost.com with SMTP; 12 Sep 2007 15:11:21 -0000 Received: from nat-03.eecs.tufts.edu ([130.64.23.203] helo=heavy.glastender.com) by host118.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1IVTs8-0005WF-1H for dev@felix.apache.org; Wed, 12 Sep 2007 09:11:20 -0600 Message-ID: <46E80111.6040200@ungoverned.org> Date: Wed, 12 Sep 2007 11:09:05 -0400 From: "Richard S. Hall" User-Agent: Thunderbird 2.0.0.5 (X11/20070719) MIME-Version: 1.0 To: dev@felix.apache.org Subject: Re: Javax.servlet Module References: <46E564F4.5080500@apache.org> In-Reply-To: <46E564F4.5080500@apache.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1027:host118.hostmonster.com:ungovern:ungoverned.org} {sentby:smtp auth 130.64.23.203 authed with heavy@ungoverned.org} X-Virus-Checked: Checked by ClamAV on apache.org Carsten Ziegeler wrote: > I'm still wondering if we need our own version of the javax.servlet > implementation. I know that the spec mandates 2.1. > > We just ran into compilation problems because of two different > servlet-apis on the classpath. This is due to the problem that our > version uses "org.apache.felix" as the group id whereas the servlet api > uses "javax.servlet". Therefore mvn can't tell that this is the same > library just with different versions. So as we use 2.3 features of the > servlet-api and as maven wanted to put the 2.1 version before the 2.3 > version in the classpath, compilation failed. > > Now, of course, it's possible to exclude this dependency here and there, > but it has to be excluded nearly with every felix artifact and is a nice > pitfall. > > So, can't we just get rid off this? Or can we at least use the groupId > javax.servlet to make things easier? > Hmm. I was thinking the opposite...changing 2.1 to use "org.apache.felix" for its groupId... I think we could go in either direction, however. -> richard