Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E006D109E1 for ; Wed, 9 Apr 2014 03:53:20 +0000 (UTC) Received: (qmail 85002 invoked by uid 500); 9 Apr 2014 03:53:20 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 84957 invoked by uid 500); 9 Apr 2014 03:53:16 -0000 Mailing-List: contact issues-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 issues@karaf.apache.org Received: (qmail 84933 invoked by uid 99); 9 Apr 2014 03:53:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2014 03:53:15 +0000 Date: Wed, 9 Apr 2014 03:53:15 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KARAF-1333) Support for M2E workspace resolution via reference: protocol MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-1333?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 updated KARAF-1333: ---------------------------------------- Fix Version/s: (was: 3.0.1) 3.0.2 > Support for M2E workspace resolution via reference: protocol > ------------------------------------------------------------ > > Key: KARAF-1333 > URL: https://issues.apache.org/jira/browse/KARAF-1333 > Project: Karaf > Issue Type: Improvement > Components: karaf-core, karaf-tooling > Affects Versions: 3.0.0 > Reporter: Tuomas Kiviaho > Assignee: Jean-Baptiste Onofr=C3=A9 > Labels: m2e, reference, workspace > Fix For: 4.0.0, 3.0.2 > > Attachments: FeaturesServiceImpl.patch, maven-plugin.patch > > > Eclipse M2E plugin provides a 'workspace resolution' mode where Maven pro= jects in Eclipse workspace are provided as workspace repository which takes= precedence over other repositories. > This leads to situation where artifact file isn't necessarily yet - depen= ding on Mavens current lifecycle phase - provided as .jar but instead as di= rectory pointing to project's output directory. > {code:xml} > > > mvn:com/example/dependency/1.0.0 > ... > mvn:com/example/project/0.0.1-SNAPSHOT > ... > > > {code} > The patches provided in this issue not only takes care of treating direct= ories as exploded .jar files (common approach) but also provisions them wi= th reference: protocol that most of the OSGi frameworks understand as direc= t filesystem references thus allowing exploded .jars to be installed. > {code:xml} > > > mvn:com/example/dependency/1.0.0 > ... > reference:file:/~/workspace/example-project/classes/ > ... > > > {code} > Without intermediate round-trip via OSGi framework's bundle cache the 'wo= rkspace resolution' mode now offers also hot code replacement. -- This message was sent by Atlassian JIRA (v6.2#6252)