Return-Path: X-Original-To: apmail-karaf-dev-archive@minotaur.apache.org Delivered-To: apmail-karaf-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 234CB10961 for ; Fri, 25 Oct 2013 17:00:55 +0000 (UTC) Received: (qmail 28688 invoked by uid 500); 25 Oct 2013 17:00:53 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 28649 invoked by uid 500); 25 Oct 2013 17:00:53 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 28641 invoked by uid 99); 25 Oct 2013 17:00:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 17:00:52 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.215.46] (HELO mail-la0-f46.google.com) (209.85.215.46) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 17:00:48 +0000 Received: by mail-la0-f46.google.com with SMTP id hp15so3306316lab.19 for ; Fri, 25 Oct 2013 10:00:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=z2FPY1FqO21pPQzQ598hfxpIayJxTeU32P1Vjj3zJ6w=; b=b5S7UzixQqeY9/fIsn8B5CjPBDnoJEy9KfZ/1qLCdGYt7eD/Qy/CO9MIHHHCFIMRR4 U2HxYl3hXGMvINdLE4task7ztG0GXRNl1zeDWDkbpfJ0WsMWA0LXkbXLUm5mfGGrjNbW YatwHJl8SFp1rc6sod4XmHwJQ6bVD80UIVMgVByX2aTmNp/UbNHvJt/JMa2vHwZeyqeL yiS3YM9utUfthzy1usH/rvr2ES5WBvNKW1bsSeNUs5Zgu+aMjvVdtIDfahNnwJTKnS/x JnLeMPrEI3dBlhEmw9auyuaY9oGGgDMuDX8mjaV5Ndr51QEHyKWp0EFEfI9YzSF9yXu0 uZzA== X-Gm-Message-State: ALoCoQmZsa0j5NGrYp/06JGhLuBMp0sHpo2DmhhtdjdboTEB4ovVkSyUcaD7sRmOefxfvV9pHHok MIME-Version: 1.0 X-Received: by 10.152.19.132 with SMTP id f4mr2087750lae.42.1382720426007; Fri, 25 Oct 2013 10:00:26 -0700 (PDT) Sender: jcarman@carmanconsulting.com Received: by 10.112.161.230 with HTTP; Fri, 25 Oct 2013 10:00:25 -0700 (PDT) In-Reply-To: References: <1382714868540-4030055.post@n3.nabble.com> Date: Fri, 25 Oct 2013 13:00:25 -0400 X-Google-Sender-Auth: pDZh4eTjPCg_DBb71jds7KP6Olo Message-ID: Subject: Re: Build failure on Karaf trunk... From: James Carman To: "dev@karaf.apache.org" Content-Type: multipart/alternative; boundary=089e01494180d0eea904e993af69 X-Virus-Checked: Checked by ClamAV on apache.org --089e01494180d0eea904e993af69 Content-Type: text/plain; charset=ISO-8859-1 Stack trace? On Friday, October 25, 2013, David Bosschaert wrote: > Just rebuilt using a fresh new .m2 on OSX, but am still getting the > same error. Although the NoSuchMethodError reports being on > org.codehaus.plexus.util.cli.CommandLineUtils I wonder could it have > something to do that I'm using Java 1.6 on OSX? My successful build on > Linux was with 1.7... > > Cheers, > > David > > On 25 October 2013 17:06, David Bosschaert > > wrote: > > Hmmm... I just tried mvn 3.0.5 on both OSX as well as on a fresh Linux > > (Fedora) machine. > > Linux passes OSX fails... Time to whack the .m2 directory ... > > > > On 25 October 2013 16:59, Andreas Pieber > > wrote: > >> 3.1.x does not work by now. Since the karaf plugin does not use the > >> abstraction layer this terribly fails with the new maven version --> > 3.0.x > >> should work > >> > >> Kind regards, > >> Andreas > >> > >> > >> On Fri, Oct 25, 2013 at 5:37 PM, David Bosschaert < > >> david.bosschaert@gmail.com > wrote: > >> > >>> I was actually using the default mvn install on my system which is > 3.0.3. > >>> I just tried with 3.1.1 which gives me a slightly similar error > (below). > >>> > >>> What Maven version should work? > >>> > >>> Cheers, > >>> > >>> David > >>> > >>> The error with maven 3.1.1: > >>> [ERROR] Failed to execute goal > >>> > >>> > org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-generate-descriptor > >>> (compile) on project framework: Execution compile of goal > >>> > >>> > org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-generate-descriptor > >>> failed: Unable to load the mojo 'features-generate-descriptor' (or one > >>> of its required components) from the plugin > >>> 'org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT': > >>> com.google.inject.ProvisionException: Guice provision errors: > >>> [ERROR] > >>> [ERROR] 1) No implementation for org.sonatype.aether.RepositorySystem > was > >>> bound. > >>> [ERROR] while locating > >>> org.apache.karaf.tooling.features.GenerateDescriptorMojo > >>> [ERROR] at > >>> > ClassRealm[plugin>org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT, > >>> parent: sun.misc.Launcher$AppClassLoader@7987aeca] > >>> [ERROR] while locating org.apache.maven.plugin.Mojo annotated with > >>> > >>> > @com.google.inject.name.Named(value=org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-generate-descriptor) > >>> [ERROR] > >>> [ERROR] 1 error > >>> [ERROR] role: org.apache.maven.plugin.Mojo > >>> [ERROR] roleHint: > >>> > >>> > org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-generate-descriptor > >>> > >>> On 25 October 2013 16:27, nseb > > wrote: > >>> > You use maven 3.1.0 ? > >>> > > >>> > > >>> > > >>> > -- > >>> > View this message in context: > >>> > http://karaf.922171.n3.nabble.com/Build-failure-on-Karaf-trunk-tp4030054p4030055.html > >>> > Sent from the Karaf - Dev mailing list archive at Nabble.com. > >>> > --089e01494180d0eea904e993af69--