felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Kriens <Peter.Kri...@aQute.biz>
Subject Re[2]: Improving integration between maven and osgi
Date Thu, 01 Feb 2007 08:08:24 GMT
IT is not crazy ... I have on my list an item to use bindex to crawl
ibiblio ...

Kind regards,

     Peter Kriens
     
CC> You know, something just occured to me...  if the maven repository starts
CC> getting populated with quite a few jars/bundles, wouldn't it be nice to have
CC> an OBR sitting on top of it serving up the bundles that have proper manifest
CC> data?  On a smaller scale, maybe something like this could be built into
CC> Archiva?

CC> Just a crazy thought if there are any takers  :-D

CC> Chris



CC> On 1/31/07, Richard S. Hall <heavy@ungoverned.org> wrote:
>>
>> Carlos Sanchez wrote:
>> > ok, that's fine, i wanted to get a sense of what would fit in the
>> > bundle plugin as default, what optional, and what won't fit at all ;)
>>
>> Well, if you really want to play with it, I would recommend creating a
>> plugin that does exactly what you suggest and seeing how well it works
>> and if there is general interest.
>>
>> However, if you were just getting a feel for ideas, then you should
>> consider if the default capabilities of the plugin (as described in my
>> other response) meet the needs you are trying to address. I think we all
>> agree that it would be nice if Maven generated JARs could automatically
>> be used as bundles, we just chose different approaches to achieve that.
>>
>> -> richard
>>
>> >
>> > On 1/31/07, Chris Custine <chris.custine@gmail.com> wrote:
>> >> I think I understand what you are trying to do as far as getting the
>> >> maven-bundle-plugin to use more of the pom.xml data, but I agree with
>> >> Richard in saying that Require-Bundle can be troublesome and I
>> >> definitely
>> >> wouldn't want it to be a default mechanism because it would start new
>> >> users
>> >> on the wrong foot if they didn't know any better.
>> >>
>> >> I think in general, there is an impedance mismatch between OSGi bundle
>> >> dependencies and Maven project dependencies so for now I am not sure
>> >> it can
>> >> get much better than the what the maven-bundle-plugin does today.
>> >>
>> >> Chris
>> >>
>> >> On 1/31/07, Carlos Sanchez <carlos@apache.org> wrote:
>> >> >
>> >> > Hi all,
>> >> >
>> >> > I'm trying to make maven generate OSGi bundles based in the
>> >> information
>> >> > of the pom as much as possible. That implies generating
>> >> "Require-bundle"
>> >> > headers based on the dependencies section of the pom instead of
>> >> > autodiscovered "Import-packages".
>> >> >
>> >> > I'd take groupId.artifactId as bundle name and dependency version as
>> >> > bundle version.
>> >> >
>> >> > In the future this could be the standard for any jar generated by
>> >> Maven.
>> >> >
>> >> > It will assume that dependencies are already available as OSGi
>> >> bundles,
>> >> > although I'm working on a recursive mode that will generate
>> >> > one bundle for each dependency scanning the whole tree of transitive
>> >> > dependencies.
>> >> >
>> >> > Please let me know if this sounds right for the maven-bundle-plugin.
>> >> > Any comments appreciated ;)
>> >> >
>> >> > --
>> >> > I could give you my word as a Spaniard.
>> >> > No good. I've known too many Spaniards.
>> >> >                              -- The Princess Bride
>> >> >
>> >>
>> >
>> >
>>


-- 
Peter Kriens                              Tel +33467542167
9C, Avenue St. Drézéry                    AOL,Yahoo: pkriens
34160 Beaulieu, France                    ICQ 255570717
Skype pkriens                             Fax +1 8153772599


Mime
View raw message