Return-Path: Delivered-To: apmail-incubator-felix-dev-archive@www.apache.org Received: (qmail 10858 invoked from network); 23 Apr 2007 03:56:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2007 03:56:24 -0000 Received: (qmail 71679 invoked by uid 500); 23 Apr 2007 03:52:25 -0000 Delivered-To: apmail-incubator-felix-dev-archive@incubator.apache.org Received: (qmail 71660 invoked by uid 500); 23 Apr 2007 03:52:25 -0000 Mailing-List: contact felix-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: felix-dev@incubator.apache.org Delivered-To: mailing list felix-dev@incubator.apache.org Received: (qmail 71645 invoked by uid 99); 23 Apr 2007 03:52:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 20:52:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [69.60.122.60] (HELO srv01.ops4j.org) (69.60.122.60) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 20:52:02 -0700 Received: from [202.146.77.122] (helo=f3.local) by srv01.ops4j.org with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.62) (envelope-from ) id 1HfpaW-0005Yk-RT for felix-dev@incubator.apache.org; Mon, 23 Apr 2007 03:51:41 +0000 From: Niclas Hedhman To: felix-dev@incubator.apache.org Subject: Maven Failing mysteriously with Bundle plugin Date: Mon, 23 Apr 2007 11:51:34 +0800 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200704231151.35022.niclas@hedhman.org> X-Virus-Checked: Checked by ClamAV on apache.org I guess this is a question for Carlos; Look at=20 http://ci.ops4j.org/bamboo/build/viewBuildLog.action?buildKey=3DPAX-CLIN&bu= ildNumber=3D113 At the end, you will see that Pax Wicket Toolkit fails due to Pax Wicket=20 Service 0.5.0-SNAPSHOT is missing, but it is being built a couple of projec= ts=20 earlier. The problem is the following 23-Apr-2007 05:34:47 [INFO] Installing /var/=E2=80=8Bbamboo/=E2=80=8Bxml= =2Ddata/=E2=80=8Bbuild-dir/=E2=80=8B PAX-CLIN/=E2=80=8Bwicket/=E2=80=8Bservice/=E2=80=8Btarget/=E2=80=8B service= =2D0.5.0-SNAPSHOT.jar to /home/=E2=80=8B tomcat/=E2=80=8B.m2/=E2=80=8Brepository/=E2=80=8Borg/=E2=80=8Bops4j/=E2=80= =8Bpax/=E2=80=8Bwicket/=E2=80=8Bservice/=E2=80=8B 0.5.0-SNAPSHOT/=E2=80=8B service-0.5.0-SNAPSHOT.bundle The Pax Wicket Service is installed with a "bundle" extension, and the Pax= =20 Wicket Toolkit is looking for; 23-Apr-2007 05:34:52 1) org.ops4j.pax.wicket:service:jar:0.5.0-SNAPSHOT a JAR. Well, that is not completely unexpected, but then let's look at=20 http://ci.ops4j.org/bamboo/build/viewBuildLog.action?buildKey=3DPAXWICKET-D= EFAULT&buildNumber=3D7 This is the same sources being built. But here the Pax Wicket Service is=20 installed as a ".jar" and NOT a ".bundle" 23-Apr-2007 05:47:10 [INFO] Installing /var/=E2=80=8Bbamboo/=E2=80=8Bxml= =2Ddata/=E2=80=8Bbuild-dir/=E2=80=8B PAXWICKET-DEFAULT/=E2=80=8Bservice/=E2=80=8Btarget/=E2=80=8B service-0.5.0-= SNAPSHOT.jar to /home/=E2=80=8B tomcat/=E2=80=8B.m2/=E2=80=8Brepository/=E2=80=8Borg/=E2=80=8Bops4j/=E2=80= =8Bpax/=E2=80=8Bwicket/=E2=80=8Bservice/=E2=80=8B 0.5.0-SNAPSHOT/=E2=80=8B service-0.5.0-SNAPSHOT.jar And the only difference is that in case one, the build is done from pax/ an= d=20 the second one is built from pax/wicket/ Somewhere along the line, Maven looses track of the mapping between=20 the "bundle" type and the "jar" extension. Any clue what is going on?? Oh, and if I declare the dependency in Toolkit for Service to be=20 bundle, then the first case will work and the second will fail. Cheers =2D-=20 Niclas Hedhman, Software Developer I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug