Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-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 B93821758D for ; Sat, 1 Nov 2014 14:26:41 +0000 (UTC) Received: (qmail 84662 invoked by uid 500); 1 Nov 2014 10:26:41 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 84626 invoked by uid 500); 1 Nov 2014 10:26:41 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 84614 invoked by uid 99); 1 Nov 2014 10:26:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Nov 2014 10:26: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 (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Nov 2014 10:26:37 +0000 Received: by mail-ie0-f175.google.com with SMTP id y20so2799552ier.34 for ; Sat, 01 Nov 2014 03:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=0hO8tK6dgm4rVOaKskndJU3MvVAcYkh1+qPB6JFmR7c=; b=dFSYRdBzPsxV/7pPXzaEKLeHornRz4ds+rN53WU/m0VYmvjL5PboX+e/M4FtOYVlU3 4+7ppr71AGN8elL25xJFIWsfryAbF/4oiRe/XlhOpt2OaDbCNKoveHTtWCtK9prymkky hAoSxKLdXbM/KVNXmDRPhZRJKaTLioALlhZNc7ibGZ5NQV3s90vek6upmEUjvFutfefi rIzfEtU6cRMINHtR4/77Bh/3E3hMyAM74/VqPg0aB6/PpPe/hrmf3YzTGpvBSX5pCD6H DEbuGEe8OzC2R8Ma65CvElKil47qGQeqD9RBozyZ9Ic+/qjEzcVtb1TlcakqgEt8NlBo 83Bw== X-Received: by 10.107.31.202 with SMTP id f193mr34534463iof.16.1414837441319; Sat, 01 Nov 2014 03:24:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.126.136 with HTTP; Sat, 1 Nov 2014 03:23:41 -0700 (PDT) In-Reply-To: <78b1f6746fa94340aee68b72a04e3af6@git.apache.org> References: <78b1f6746fa94340aee68b72a04e3af6@git.apache.org> From: Claus Ibsen Date: Sat, 1 Nov 2014 11:23:41 +0100 Message-ID: Subject: Re: git commit: CAMEL-7887: Executing of 'mvn clean install -Pvalidate' in camel/platforms/karaf/features is failing To: dev Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org -1 You cannot use spring 4.x in karaf/osgi as spring-dm fails, and you get a ton of errors. Try running cd tests cd camel-itest-osgi mvn clean install And you get errors such as 2014-11-01 11:22:02,028 | INFO | FelixStartLevel | Activator | 69 - org.apache.camel.camel-core - 2.15.0.SNAPSHOT | Camel activator started ERROR: Bundle org.apache.camel.camel-spring [91] Error starting mvn:org.apache.camel/camel-spring/2.15-SNAPSHOT (org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve bundle revision org.apache.camel.camel-spring [91.0] because it is exposed to package 'org.springframework.beans.factory.support' from bundle revisions org.apache.servicemix.bundles.spring-beans [80.0] and org.apache.servicemix.bundles.spring-beans [74.0] via two dependency chains. Chain 1: org.apache.camel.camel-spring [91.0] import: (&(osgi.wiring.package=org.springframework.beans.factory.support)(version>=3.2.0)(!(version>=4.2.0))) | export: osgi.wiring.package=org.springframework.beans.factory.support org.apache.servicemix.bundles.spring-beans [80.0] Chain 2: org.apache.camel.camel-spring [91.0] import: (&(osgi.wiring.package=org.springframework.transaction.support)(version>=3.2.0)(!(version>=4.2.0))) | export: osgi.wiring.package=org.springframework.transaction.support; uses:=org.springframework.aop.scope org.apache.servicemix.bundles.spring-tx [89.0] import: (&(osgi.wiring.package=org.springframework.aop.scope)(version>=4.0.5.RELEASE)(!(version>=4.1.0))) | export: osgi.wiring.package=org.springframework.aop.scope; uses:=org.springframework.beans.factory.support org.apache.servicemix.bundles.spring-aop [75.0] import: (&(osgi.wiring.package=org.springframework.beans.factory.support)(version>=4.0.5.RELEASE)(!(version>=4.1.0))) | export: osgi.wiring.package=org.springframework.beans.factory.support org.apache.servicemix.bundles.spring-beans [74.0]) org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve bundle revision org.apache.camel.camel-spring [91.0] because it is exposed to package 'org.springframework.beans.factory.support' from bundle revisions org.apache.servicemix.bundles.spring-beans [80.0] and org.apache.servicemix.bundles.spring-beans [74.0] via two dependency chains. Chain 1: org.apache.camel.camel-spring [91.0] import: (&(osgi.wiring.package=org.springframework.beans.factory.support)(version>=3.2.0)(!(version>=4.2.0))) | export: osgi.wiring.package=org.springframework.beans.factory.support org.apache.servicemix.bundles.spring-beans [80.0] Chain 2: org.apache.camel.camel-spring [91.0] import: (&(osgi.wiring.package=org.springframework.transaction.support)(version>=3.2.0)(!(version>=4.2.0))) | export: osgi.wiring.package=org.springframework.transaction.support; uses:=org.springframework.aop.scope org.apache.servicemix.bundles.spring-tx [89.0] import: (&(osgi.wiring.package=org.springframework.aop.scope)(version>=4.0.5.RELEASE)(!(version>=4.1.0))) | export: osgi.wiring.package=org.springframework.aop.scope; uses:=org.springframework.beans.factory.support org.apache.servicemix.bundles.spring-aop [75.0] import: (&(osgi.wiring.package=org.springframework.beans.factory.support)(version>=4.0.5.RELEASE)(!(version>=4.1.0))) | export: osgi.wiring.package=org.springframework.beans.factory.support org.apache.servicemix.bundles.spring-beans [74.0] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4006) at org.apache.felix.framework.Felix.startBundle(Felix.java:2045) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Thread.java:744) I am reverting the import range to limit spring as 3.x On Thu, Oct 30, 2014 at 7:35 PM, wrote: > Repository: camel > Updated Branches: > refs/heads/master 3e77f050d -> f1b2010b1 > > > CAMEL-7887: Executing of 'mvn clean install -Pvalidate' in camel/platforms/karaf/features is failing > > > Project: http://git-wip-us.apache.org/repos/asf/camel/repo > Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f1b2010b > Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f1b2010b > Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f1b2010b > > Branch: refs/heads/master > Commit: f1b2010b14ade983cfd69432611a31b2ff19d1f4 > Parents: 3e77f05 > Author: Christian Mueller > Authored: Thu Oct 30 19:34:40 2014 +0100 > Committer: Christian Mueller > Committed: Thu Oct 30 19:34:56 2014 +0100 > > ---------------------------------------------------------------------- > parent/pom.xml | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > ---------------------------------------------------------------------- > > > http://git-wip-us.apache.org/repos/asf/camel/blob/f1b2010b/parent/pom.xml > ---------------------------------------------------------------------- > diff --git a/parent/pom.xml b/parent/pom.xml > index 92b27c4..c58fee8 100644 > --- a/parent/pom.xml > +++ b/parent/pom.xml > @@ -409,8 +409,7 @@ > 1.3.1.RELEASE > 1.3.1.RELEASE_2 > 1.0.3.RELEASE > - > - [3.2,4) > + [3.2,4.2) > ${spring4-version} > 3.2.11.RELEASE > 4.0.7.RELEASE > -- Claus Ibsen ----------------- Red Hat, Inc. Email: cibsen@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/