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 D10A5108C2 for ; Sun, 29 Mar 2015 21:32:30 +0000 (UTC) Received: (qmail 27350 invoked by uid 500); 29 Mar 2015 21:32:30 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 27306 invoked by uid 500); 29 Mar 2015 21:32:30 -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 27294 invoked by uid 99); 29 Mar 2015 21:32:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Mar 2015 21:32:30 +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 krzys.sobkowiak@gmail.com designates 209.85.215.51 as permitted sender) Received: from [209.85.215.51] (HELO mail-la0-f51.google.com) (209.85.215.51) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Mar 2015 21:32:25 +0000 Received: by lajy8 with SMTP id y8so3338834laj.0 for ; Sun, 29 Mar 2015 14:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Ky51YfSQmywXAOXAFiaGOp2WGbdJnD52yrn9bfHIR/Y=; b=Ga7x5wNsbTST9a/6LQsc/IlQ6LRbR9e9j0pZW+w9ejJrT+3AVPNx6ee1FNn69fsIdQ sL5QoClNoSoRsZNNMOUbZVxlNcHvqlh/qyUCjNFpZYTYDorEX8CGERhFc8DERBw2r+xt WhK5UpbfzZV3yHFzL/oBvqfWerm2TG9bBbCJ/Hn8lmRKBDMhMH1kldmcAdgyhXCZ55X0 QewA9bTCiNwiL3q/P1DueEX5+ViJFSoYOkISicnOlJKqaci1k2kQaRAQLapFTIYx5+F8 /fgmeeraDBqTz/5MGg8rcIwtIZumwskYoLORdGJwh3Xc9af7kRUMx1tJwpKFCt96idcK EzBg== X-Received: by 10.112.42.41 with SMTP id k9mr26159366lbl.90.1427664679523; Sun, 29 Mar 2015 14:31:19 -0700 (PDT) Received: from [192.168.0.12] (093105236022.dynamic-ra-3.vectranet.pl. [93.105.236.22]) by mx.google.com with ESMTPSA id dk7sm1683568lbc.28.2015.03.29.14.31.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Mar 2015 14:31:18 -0700 (PDT) Message-ID: <55186F28.60609@gmail.com> Date: Sun, 29 Mar 2015 23:31:20 +0200 From: Krzysztof Sobkowiak User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: dev@camel.apache.org Subject: Re: [VOTE] Apache Camel 2.15.1 References: <55186D79.6020509@gmail.com> In-Reply-To: <55186D79.6020509@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Following worked for me install -s mvn:org.scala-lang/scala-library/2.10.4 install -s mvn:org.scala-lang/scala-reflect/2.10.4 feature:install camel-swagger Regards Krzysztof On 29.03.2015 23:24, Krzysztof Sobkowiak wrote: > Hi > > You must install mvn:org.scala-lang/scala-reflect/2.10.4. But next I have new problem > > Error executing command: Can't install feature camel-swagger/0.0.0: > Could not start bundle mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.swagger-core/1.3.12_1 in > feature(s) camel-swagger-2.15.1: Uses constraint violation. Unable to resolve bundle revision > org.apache.servicemix.bundles.swagger-core [167.0] because it is exposed to package 'scala.collection.immutable' from > bundle revisions org.scala-lang.scala-library [215.0] and org.scala-lang.scala-library [138.0] via two dependency chains. > > Chain 1: > org.apache.servicemix.bundles.swagger-core [167.0] > import: (&(osgi.wiring.package=scala.collection.immutable)(version>=2.10.0)(!(version>=3.0.0))) > | > export: osgi.wiring.package=scala.collection.immutable > org.scala-lang.scala-library [215.0] > > Chain 2: > org.apache.servicemix.bundles.swagger-core [167.0] > import: (&(osgi.wiring.package=scala.reflect.api)(version>=2.10.0)(!(version>=3.0.0))) > | > export: osgi.wiring.package=scala.reflect.api; uses:=scala.collection.immutable > org.scala-lang.scala-reflect [199.0] > import: (osgi.wiring.package=scala.collection.immutable) > | > export: osgi.wiring.package=scala.collection.immutable > org.scala-lang.scala-library [138.0] > > > > Regards > Krzysztof > > > > On 29.03.2015 22:07, Christian Müller wrote: >> + 0 >> >> The signature looks good. >> I could install almost all bundles in Karaf 2.4.1. >> >> Some findings: >> The camel-cxf feature doesn't install the camel-spring feature, which is a >> required dependency. This leads to errors like this one: >> >> ERROR: Bundle org.apache.camel.camel-cxf [105] Error starting >> mvn:org.apache.camel/camel-cxf/2.15.1 (org.osgi.framework.BundleException: >> Unresolved constraint in bundle org.apache.camel.camel-cxf [105]: Unable to >> resolve 105.0: missing requirement [105.0] osgi.wiring.package; >> (&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0)))) >> org.osgi.framework.BundleException: Unresolved constraint in bundle >> org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing >> requirement [105.0] osgi.wiring.package; >> (&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0))) >> at >> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002) >> 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:745) >> ERROR: Bundle org.apache.camel.camel-cxf [105] Error starting/stopping >> bundle. (org.osgi.framework.BundleException: Unresolved constraint in >> bundle org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing >> requirement [105.0] osgi.wiring.package; >> (&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0)))) >> org.osgi.framework.BundleException: Unresolved constraint in bundle >> org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing >> requirement [105.0] osgi.wiring.package; >> (&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0))) >> at >> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002) >> at org.apache.felix.framework.Felix.startBundle(Felix.java:2045) >> at org.apache.felix.framework.Felix.setBundleStartLevel(Felix.java:1491) >> at >> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:334) >> at java.lang.Thread.run(Thread.java:745) >> >> The work around is easy. Install camel-spring before you install camel-cxf. >> I will add this to the known issues section in the Camel 2.15 release notes. >> >> >> The camel-swagger feature doesn't install the scala bundle, which is a >> required dependency. This leads to errors like this one: >> >> ERROR: Bundle org.apache.servicemix.bundles.swagger-core [89] Error >> starting >> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.swagger-core/1.3.12_1 >> (org.osgi.framework.BundleException: Unresolved constraint in bundle >> org.apache.servicemix.bundles.swagger-core [89]: Unable to resolve 89.0: >> missing requirement [89.0] osgi.wiring.package; >> (&(osgi.wiring.package=scala.reflect.api)(version>=2.10.0)(!(version>=3.0.0)))) >> org.osgi.framework.BundleException: Unresolved constraint in bundle >> org.apache.servicemix.bundles.swagger-core [89]: Unable to resolve 89.0: >> missing requirement [89.0] osgi.wiring.package; >> (&(osgi.wiring.package=scala.reflect.api)(version>=2.10.0)(!(version>=3.0.0))) >> at >> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002) >> 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:745) >> >> I'm wondering, because mvn:org.scala-lang/scala-library/2.10.4 doesn't >> export 'scala.reflect.api'... >> >> >> >> The Camel documentation still mentions 'Copyright 2007-2014', but I have >> updated it now. It should be ok in the following releases... >> >> Best, >> Christian >> >> >> >> On Sat, Mar 28, 2015 at 3:22 PM, Willem Jiang >> wrote: >> >>> This is a vote to release Apache Camel 2.15.1, a patch release coming >>> >>> with about 55 issues fixed. >>> >>> Release notes: >>> 2.15.1 >>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12329441&styleName=Html&projectId=12311211 >>> >>> >>> >>> Staging repo: >>> 2.15.1 >>> https://repository.apache.org/content/repositories/orgapachecamel-1029 >>> >>> >>> >>> Tarballs: >>> 2.15.1 >>> https://repository.apache.org/content/repositories/orgapachecamel-1029/org/apache/camel/apache-camel/2.14.2/ >>> >>> >>> >>> Tag: >>> 2.15.1 >>> https://git-wip-us.apache.org/repos/asf?p=camel.git;a=commit;h=e18459e53cf77514bb0fdfeceb423c456bbc4d9d >>> >>> Please test this release candidate and cast your vote. >>> [ ] +1 Release the binary as Apache Camel 2.15.1 >>> [ ] -1 Veto the release (provide specific comments) >>> Vote is open for at least 72 hours. >>> >>> >>> -- >>> Willem Jiang >>> >>> Red Hat, Inc. >>> Web: http://www.redhat.com >>> Blog: http://willemjiang.blogspot.com (English) >>> http://jnn.iteye.com (Chinese) >>> Twitter: willemjiang >>> Weibo: 姜宁willem >>> >>> >>> >>> -- Krzysztof Sobkowiak JEE & OSS Architect Senior Solution Architect @ Capgemini SSC Apache ServiceMix Committer & PMC