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 2E8D8119D8 for ; Tue, 17 Jun 2014 07:04:09 +0000 (UTC) Received: (qmail 56537 invoked by uid 500); 17 Jun 2014 07:04:09 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 56501 invoked by uid 500); 17 Jun 2014 07:04:09 -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 56479 invoked by uid 99); 17 Jun 2014 07:04:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2014 07:04:08 +0000 X-ASF-Spam-Status: No, hits=4.5 required=5.0 tests=FORGED_YAHOO_RCVD,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rajbsaini@yahoo.com designates 216.109.115.142 as permitted sender) Received: from [216.109.115.142] (HELO nm47-vm7.bullet.mail.bf1.yahoo.com) (216.109.115.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2014 07:04:04 +0000 Received: from [98.139.212.149] by nm47.bullet.mail.bf1.yahoo.com with NNFMP; 17 Jun 2014 07:03:39 -0000 Received: from [98.139.213.15] by tm6.bullet.mail.bf1.yahoo.com with NNFMP; 17 Jun 2014 07:03:39 -0000 Received: from [127.0.0.1] by smtp115.mail.bf1.yahoo.com with NNFMP; 17 Jun 2014 07:03:39 -0000 X-Yahoo-Newman-Id: 569799.85316.bm@smtp115.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: NM84xUoVM1mDCRBHs30wlOxwYnH3x.lJvke19gUzMBPTS2l sxOsGhohtqjVkFsIClJWyCQSs5lmq9.aBgBtb00sawvNU0slStuvXoShlklu .Ofl.fgWIHPpvNygzz8.x1w.AAzGYYW8OnQvFQrvfaDWEJDstwg408KS_wKu EtWzIRECiTe87L8yHK2zBIOW4at_c.aevA22CFsn7VfVAPuQHkduKL7ImsRP StDYmClJfJ4HDeEox1uOKw369CUwN92U__HOxK9TiLiCLA8tgmjc.up1TSAn KAd06QlsvBjaQo1LXEPReTKzewnBKz5D5FOUpZl2KQb.VUzFuGPID7Q1NNZd hr4_tfw_m.oF45EaGfLdwfpzKiAzwijhWRcnUUbLs_h_JatVs7Hs.XQJrpTO Q3qKwzriWrjLhjnQdBo_c8Q_ASc.AFphzvG8ukiv4VPNrDqoS6IrgVUZjWHj 3m9PAwvoeqsnCLChBfEcUa84xTqOkPsi7J7cpIfotZo0bSrQ9yH3gt_6GGvC lu72NCwPapvRcOtPIJa6MAk2pft3r1eX.gunVVVPcj1KTX5iNw524eGg8tp0 8xa283ZHkJ.P6kSFyZ3LorE6C8nLj6ESz4A6b2F9ISzMbcRWE_ryLlEV8Bcb BP96.P7IsiSp8SYu2NjxhYeznPy.vuRBSwtWILA0pWMje05YddTBLthjrPKZ OrDghRvWv.7nO2ZuseR21Grb7LUQ0jHgAnM85VuLfK7ECoDyH0QJpnMyncsR hVQaPuDSX_.DKN0szclhGy.DHqjFyQtzTsLxDIL.IwctVOrzBzUGjgBiNFzR WDm9nkYabTmxZWwBfa3clpdeN X-Yahoo-SMTP: aST2BdaswBA9ailVkLdFR3xBltTtPw-- X-Rocket-Received: from [192.168.1.216] (rajbsaini@112.196.33.74 with plain [106.10.150.171]) by smtp115.mail.bf1.yahoo.com with SMTP; 17 Jun 2014 00:03:39 -0700 PDT Message-ID: <539FE847.80106@yahoo.com> Date: Tue, 17 Jun 2014 12:33:35 +0530 From: Rajbir Saini Reply-To: raj.saini@viithiisys.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: dev@karaf.apache.org Subject: Re: Missing Constraint: Import-Package: com.sun.jersey.api.client References: <1402966477408-4033550.post@n3.nabble.com> <1402976727976-4033554.post@n3.nabble.com> <1402978238156-4033556.post@n3.nabble.com> <1402988063404-4033562.post@n3.nabble.com> In-Reply-To: <1402988063404-4033562.post@n3.nabble.com> Content-Type: multipart/alternative; boundary="------------020707030109010904000304" X-Virus-Checked: Checked by ClamAV on apache.org --------------020707030109010904000304 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit If Jersey jars are OSGi bundle you can install them using bundle:install command. Syntax is: bundle:install mvn://version no If Jersey jars are not OSGi bundles you can use wrap protocol to convert a plain jar into OSGi bundle bundle:install wrap:mvn://version. Thanks, Raj On Tuesday 17 June 2014 12:24 PM, SapnaB wrote: > Is there a way I can add jersey jars as bundles in Karaf libs. That way when > I start Karaf, these bundles will be loaded at startup and all the classes > will be available at runtime. > > >From the error message, I understand that Karaf is unable to resolve this > dependency: > Reason: Missing Constraint: Import-Package: com.sun.jersey.api.client; > version="[1.18.0,2.0.0)" > > -Sapna > > > > > -- > View this message in context: http://karaf.922171.n3.nabble.com/Missing-Constraint-Import-Package-com-sun-jersey-api-client-tp4033550p4033562.html > Sent from the Karaf - Dev mailing list archive at Nabble.com. > --------------020707030109010904000304--