Return-Path: Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: (qmail 45959 invoked from network); 9 Apr 2010 13:14:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Apr 2010 13:14:20 -0000 Received: (qmail 61857 invoked by uid 500); 9 Apr 2010 13:14:19 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 61828 invoked by uid 500); 9 Apr 2010 13:14:19 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 61820 invoked by uid 99); 9 Apr 2010 13:14:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 13:14:19 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of justinedelson@gmail.com designates 209.85.160.49 as permitted sender) Received: from [209.85.160.49] (HELO mail-pw0-f49.google.com) (209.85.160.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 13:14:11 +0000 Received: by pwj3 with SMTP id 3so2857581pwj.22 for ; Fri, 09 Apr 2010 06:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=gL9QJ+jeEq2dn9MVoM4tZssCr2MtYz8Hugwr1sgd/zU=; b=SCHM4WA06G+GRVfGp7Ljeu1SKSa6i1sXMx1pkKsbFnypPq0V+rBnbsbrQXch8Pk6Cp sPhc3p5RibIyssVulldfXMDkj/NwuVOiZDJ6bh+lqdXcelBUJBsInBoSmaHY5j01JbJl YdP4jli+NybB8KwLoosE83z8pn+R0rxjE2A5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=gT4ee7066zwyk9H8edrA07y+wHgrFboeMldVLeMeTwbjF1J1WjO/4KqnhH0vk4Y6db 7EIFBHksa0vmAjjWAnT8XTLIzbww2sDfdTZ7G9q1QFE1pKyQsvwlMXJgd3P6pMSddnpN RS0SRrOT3sJvijt9K9DQTroGAMAllB4wGEV80= Received: by 10.143.26.20 with SMTP id d20mr33755wfj.31.1270818830322; Fri, 09 Apr 2010 06:13:50 -0700 (PDT) Received: from Justin-Edelsons-iMac.local (ool-44c6554e.dyn.optonline.net [68.198.85.78]) by mx.google.com with ESMTPS id 22sm949023pzk.9.2010.04.09.06.13.48 (version=SSLv3 cipher=RC4-MD5); Fri, 09 Apr 2010 06:13:49 -0700 (PDT) Message-ID: <4BBF280A.3060603@gmail.com> Date: Fri, 09 Apr 2010 09:13:46 -0400 From: Justin Edelson Reply-To: justin@justinedelson.com User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: users@felix.apache.org Subject: Re: maven-bundle-plugin 2.0.1 issues, cannot find aQute References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 4/9/10 7:38 AM, Charles-Louis.DeMaere@ehealth.fgov.be wrote: > Dear Felix-users, ... > > I am using maven and eclipse connecting to the repositories of my > company, and am behind a proxy. So I downloaded the maven-bundle-plugin > manually, and installed it using the following command : > mvn install:install-file -Dfile="C:\temp\maven-bundle-plugin-2.0.1.jar" > -DgroupId=org.apache.felix -DartifactId=maven-bundle-plugin > -Dversion=2.0.1 -Dpackaging=jar -DgeneratePom=true You pass "generatePom=true" here, which generates a minimal pom file. This pom will not have any dependencies listed, which causes the class error you reported. You could fix this by downloading the pom from central and using that, but I think you're just going to run into another problem. I know you are behind a proxy, but Maven supports proxy servers, so I don't see why you need to do the manual install. So my advice is... delete your local repository, configure Maven's proxy settings, and start over. Justin > > Now, when I try to build my project, I get the following error (the full > trace is in the attached log.txt) : > mvn org.apache.felix:maven-bundle-plugin:2.0.1:bundle -e > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Internal error in the plugin manager executing goal > 'org.apache.felix:maven-bundle-plugin:2.0.1:bundle': Unable to load the > mojo 'org.apache.felix:maven-bundle-plugin:2.0.1:bundle' in the plugin > 'org.apache.felix:maven-bundle-plugin'. A required class is missing: > aQute/lib/osgi/Resource > aQute.lib.osgi.Resource > [INFO] > ------------------------------------------------------------------------ > > /(See attached file: log.txt)/ > > Knowing that aQute was in the bnd tool, I downloaded bndlib.jar, > installed it in my local maven repository but the error remains. > > Do you know what I'm doing wrong ? > > Thanks, > > Charles-Louis de Maere > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@felix.apache.org > For additional commands, e-mail: users-help@felix.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org