Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 18926 invoked from network); 25 Feb 2010 08:41:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 08:41:37 -0000 Received: (qmail 88431 invoked by uid 500); 25 Feb 2010 08:41:37 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 88391 invoked by uid 500); 25 Feb 2010 08:41:37 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 88383 invoked by uid 99); 25 Feb 2010 08:41:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 08:41:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gnodet@gmail.com designates 209.85.220.212 as permitted sender) Received: from [209.85.220.212] (HELO mail-fx0-f212.google.com) (209.85.220.212) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 08:41:28 +0000 Received: by fxm4 with SMTP id 4so6091153fxm.20 for ; Thu, 25 Feb 2010 00:41:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MxmKe9l7a6kBlm9lcNZFvsOJRXFQt7DgO1x0OfB93No=; b=Vy2ND1Kargu2/P+vm1g6aBjoYZ1bk2jqk1Jp7bQwNK9fffvnJqnQnxBFnmiabkV6La WOHy2DKHH2uu9ga4nvn6imuHhJ24ESJJZnamMtNoxqxwhYKpr2kKeOMY/BSa/pL22+cR NLBghqAyyW5r/WaPc16xb63r9JHfKl7pB471I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=rJ4I0YE9j0uhTKHEBvRpjz+64dQikikTX+spzCgFLENvBdq3gCnItbaNn6z+YB+a0S yvl4gLK0gfXU8egLUzOblCkRmSBHuXZamidRQEOFBV6/liJ664YfphA9yX9mkMEe5+aT 2YhCOn5H4NGvVEcebHXt0dF9EkWKH8ICZVzC8= MIME-Version: 1.0 Received: by 10.102.210.2 with SMTP id i2mr581484mug.134.1267087267620; Thu, 25 Feb 2010 00:41:07 -0800 (PST) In-Reply-To: References: Date: Thu, 25 Feb 2010 09:41:07 +0100 Message-ID: Subject: Re: Why are obr.xml files next to pom.xml? From: Guillaume Nodet To: aries-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Feb 25, 2010 at 09:00, David Jencks wrote: > Is this some standard I'm not aware of? =A0What are these used for? =A0Ho= w? > =A0When? =A0Is this documented somewhere? =A0They look like repository.xm= l files, > is there a good reason for not naming them repository.xml? =A0And how do = they > differ from what the bundle plugin generates for a bundle? Those are fragments that are used by the bundle plugin to generate addition= al requirements and capabilites. I've introduced them because the syntax for the Export-Service / Import-Service headers is insufficient to capture all = the semantics. Those fragments are used to generate the repository.xml in your ~/.m2/repository/repository.xml FWIW, I've kept the headers because even if they do not capture the whole semantic, it still gives a good idea. One idea that has been proposed is also to enhance the maven bundle plugin to introspect blueprint bundles so as to find out which services are import= ed and exported. I suppose when it's done, those OBR files can be removed and maybe even the headers if they are generated. Makes sense ? > In geronimo we're experimenting with building up a bundle repository from > repository.xml, embedded in geronimo plugins, that are constructed from t= he > maven dependencies of the plugin. =A0Our hope is that this will give cont= rol > over the repository contents visible to the server yet allow it to be > extensible based on what is installed into the server. I have a small tool on my computer (a hacked version of bindex) which can be used to scan a maven repository and turn it into a repository.xml with mvn: urls in case you're interested. > thanks > david jencks > > On Feb 24, 2010, at 10:35 PM, Guillaume Nodet wrote: > >> Nothing, but that's part of the definition of the bundle, not really >> it's content per se, so I was thinking it make sense to put it there, >> but i'd have no problem in moving it in src/main/resources. =A0Actually, >> I think it's embedded =A0in the jar, but that's only because I did not >> found a way not to. >> >> On Wed, Feb 24, 2010 at 23:54, David Jencks >> wrote: >>> >>> What is so special about obr.xml files that they aren't in >>> src/main/resources? >>> >>> thanks >>> david jencks >>> >> >> >> >> -- >> Cheers, >> Guillaume Nodet >> ------------------------ >> Blog: http://gnodet.blogspot.com/ >> ------------------------ >> Open Source SOA >> http://fusesource.com > > --=20 Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com