Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Converting a P2 update-site into a maven repository

Am 03.09.11 15:34, schrieb Marcel Bruch:
> An approximation would be good enough in most cases, I guess.
>
>> There are couple of efforts that try to make p2->maven conversion, that
>> I am aware of
> Can you provide some pointers? Maybe to the "most sophisticated ones"?
Hi Marcel,
try b3, you can set mavenResult = true in the corresponding aggregation
model and b3 will create
a maven repository for you.

Regards,
Dennis.
>
>
>
> On 03.09.2011, at 15:19, Igor Fedorenko wrote:
>
>> Tycho does not convert p2 repositories to Maven. Instead, it makes
>> p2/osgi dependency resolution logic available for Maven plugins.
>>
>> There are couple of efforts that try to make p2->maven conversion, that
>> I am aware of, but such conversion is fundamentally an approximation and
>> I believe there are always be cases when resulting maven repository will
>> not produce desired dependencies. This does not mean the result is
>> useless, however ;-)
>>
>> --
>> Regards,
>> Igor
>>
>> On 11-09-03 7:09 AM, Marcel Bruch wrote:
>>> Hi,
>>>
>>> I'm currently evaluating different approaches to setup a large-scale
>>> code repository for Eclipse Code Recommenders. The upcoming
>>> Eclipse/Sonatype's Aether dependency management tool seems to be a good
>>> fit to resolve dependencies between (maven) artifacts. I'd also like to
>>> analyze osgi bundles and resolve these dependencies with Aether. Since
>>> Aether supports only Maven repositories out of the box, the simplest
>>> approach would be to merge P2 update sites into a local maven repository.
>>>
>>> Since tycho seems to do something similar, I'd like to ask whether there
>>> is a simple way to convert a P2 update site to a maven repository - or
>>> even better to merge a P2 update-site into a local Maven repository -
>>> maybe with tycho?
>>>
>>> If this can be done with tycho, is there a solution to deal with OSGI
>>> package imports?
>>>
>>> Thanks,
>>> Marcel
>>>
>>> --
>>> Eclipse Code Recommenders:
>>> w www.eclipse.org/recommenders <http://www.eclipse.org/recommenders>
>>> tw www.twitter.com/marcelbruch <http://www.twitter.com/marcelbruch>
>>> g+ www.gplus.to/marcelbruch <http://www.gplus.to/marcelbruch>
>>>
>>>
>>>
>>> _______________________________________________
>>> tycho-user mailing list
>>> tycho-user@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
> Thanks,
> Marcel
>


-- 
Dennis HŸbner

Softwareentwickler

Mobil:   0151 173 96 707

http://www.itemis.de/

itemis AG
Am Germaniahafen 1
24143 Kiel

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Prof. Dr. Burkhard Igel (Vors.), Stephan Grollmann, Michael Neuhaus 



Back to the top