Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Unifying p2 & maven

> Related, is anyone here using this?:
> http://wiki.eclipse.org/Eclipse_b3/aggregator/manual#Creating_a_Maven-conformant_p2_repo

Not using it at the moment, but you might enjoy reading

Bug 312656 - Publish Helios as a Maven repository

We did some test runs with it for our common repository. As far as I could tell (not knowing much about Maven) it was a good technical approach, and did a reasonable job, but had some lingering questions about how to provide more of the "missing info" (or, if Maven even could), and seemed (at the time) there was no one able/willing to take that on (i.e. would take some investment and invention). That bug was meant to cover the mechanical aspects of what it would take to use the tool and the type of repo it produces, and points to several related bugs and meeting minutes where there was more of that type of discussion, in depth (that went beyond this particular tool).






From:        Andrew Ross <andrew.ross@xxxxxxxxxxx>
To:        cbi-dev@xxxxxxxxxxx,
Date:        12/05/2012 04:51 PM
Subject:        Re: [cbi-dev] Unifying p2 & maven
Sent by:        cbi-dev-bounces@xxxxxxxxxxx




Hi Alex,

I agree with you. There are some things that don't make sense to
distribute as a Maven repository. Others however make good sense as they
are consumed outside of Eclipse.

Related, is anyone here using this?:
http://wiki.eclipse.org/Eclipse_b3/aggregator/manual#Creating_a_Maven-conformant_p2_repo

Andrew

On 12/04/2012 02:29 PM, Aleksandar Kurtakov wrote:
> ----- Original Message -----
>> From: "Andrew Ross" <andrew.ross@xxxxxxxxxxx>
>> To: "Common-build Developers discussion" <cbi-dev@xxxxxxxxxxx>
>> Sent: Tuesday, December 4, 2012 8:55:00 PM
>> Subject: [cbi-dev] Unifying p2 & maven
>>
>> Hi Everyone,
>>
>> We're getting very close to cutting over the Eclipse platform to CBI.
>> There will be a bit of cleanup stuff to be ready for Juno SR2 to
>> cut-over as well.
>>
>> I'd like to get people thinking about our next big challenge...
>> figuring
>> out and implementing a good solution for maven.eclipse.org.
>>
>> Please read this for background & some thoughts I have on the matter:
>>
http://42aross.wordpress.com/2012/12/04/my-take-on-mavenp2-unification-at-eclipse/
>>
>> I'd be grateful for some feedback to help make sure I haven't
>> overlooked
>> something important and to assist us to develop the right solution.
> Hi Andrew,
> Technically speaking with current tools it makes no sense to ship things as Maven repo for one big reason:
> * Our pom.xml files contain no information about dependencies - we manage them trough manifest files which makes way more sense as it's more flexible and controllable compared to maven dependencies management.
> As such even if we push all the bundles in a maven repository it will be practically unusable as there would be no way plain maven build(no tycho) can know that e.g. org.eclipse.pde.ui requires org.eclipse.team.core. And if people use tycho they can already read the p2 repos we have. Not to mention problems that will arise if one tries to map import-package to dependencies and so on.
> With that said - let's have maven.eclipse.org be a normal maven repo for eclipse.org that doesn't use manifest first approach. For the rest of us that use manifest first it makes no sense to even try supporting plain maven builds
>
> Alexander Kurtakov
> Red Hat Eclipse team
>
>> Thanks in advance,
>>
>> Andrew

_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev



Back to the top