[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Getting equinox artifacts using maven

I have a good deal of experience in pushing things to Maven Central
via OSSRH, and I would not see it as especially difficult for Equinox.

One strategy is to build a project that unpacks an SDK zip file and
then tees it back up as a collection of Maven artifacts; it's trivial
(if a trifle laborious) to do this with one-pom-per bundle in Maven
itself. I bet gradle or something could be notationally more concise.

Can I help?


On Mon, Jul 20, 2015 at 8:39 AM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:
> I think it would be great if we could make this happen for all of Equinox.
>
> BTW jobs is not part of Equinox, it is part of the Eclipse project.  What
> are the next steps?
>
> Tom
>
>
>
>
>
> From:        Raymond Auge <raymond.auge@xxxxxxxxxxx>
> To:        Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
> Date:        07/17/2015 01:42 PM
> Subject:        Re: [equinox-dev] Getting equinox artifacts using maven
> Sent by:        equinox-dev-bounces@xxxxxxxxxxx
> ________________________________
>
>
>
> I have interest!
>
> On Fri, Jul 17, 2015 at 2:27 PM, Scott Lewis <slewis@xxxxxxxxxxxxx> wrote:
> On 7/3/2015 5:14 AM, Mikael Barbero wrote:
> Hi Christian,
>
> There is a bug about this issue
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=471373
>
> From the message
> https://dev.eclipse.org/mhonarc/lists/dash-dev/msg01348.html, you will
> understand why synchronization from repo.eclipse.org to maven central is in
> a stale state.
>
> However, it is perfectly possible for a project to publish directly to Maven
> central. Californium project is about to do that
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=468448)
>
> If the equinox devs would like to publish their bits to repo.eclipse.org or
> gpg sign their artifacts to publish them to maven central, I can help with
> that.
>
> Is there any interest from equinox team in publishing bits to maven repos?
>
> As Christian said, ECF is providing an R6 OSGi Remote Services/RSA
> distribution for Apache Karaf [1].   We currently create a maven repo
> ourselves as part of our releases [2].
>
> ECF RS/RSA has deps on 4 equinox bundles, however:
>
> o.e.equinox.common
> o.e.equinox.concurrent
> o.e.core.jobs
> o.e.equinox.supplement
>
> As I understand, these are part of the equinox sdk.   Given this, I suppose
> we are asking to publish the equinox sdk as maven repo, ideally through
> maven central but repo.eclipse.org would be ok too.
>
> Thanks,
>
> Scott
>
> [1] https://wiki.eclipse.org/EIG:Install_into_Apache_Karaf
> [2] http://build.ecf-project.org/maven/3.10.0/
>
>
>
> HTH
>
> Mikael
>
> Le 3 juil. 2015 Ã 12:34, Christian Schneider <chris@xxxxxxxxxxxxxxxxx> a
> Ãcrit :
>
> I am currently helping Scott Lewis to bring ECF to Apache Karaf.
>
> Our biggest problem with this is that ECF needs a bunch of equinox bundles
> that are not available in maven central.
> See this
> http://download.eclipse.org/rt/ecf/3.10.0/site.p2/karaf4-min-features.xml
>
> At the moment we use http urls to be able to get at least started. These
> urls are not really good for people inside bigger companies though.
> Often these companies do not allow direct access to the internet even for
> developers and especially for production machines. So accessing the urls is
> not possible.
> Additionally they are not cached like mvn urls. So every clean startup of
> karaf hits the p2 repo server again.
>
> It also makes it very hard for people to use these artifacts in non tycho
> builds which are very common outside the eclipse world.
>
> I have noticed that eclipse already hosts several maven repositories for
> other projects. Would it be possible to also deploy equinox bundles into
> such a repository or even better into maven central?
>
> At apache this is very convenient. We have a nexus server at apache and the
> project poms are set up to deploy their for snapshots and releases there.
> Releases go to a staging repo automatically and after the vote you just need
> to press a publish button and the artifacts go to maven central.
>
> I am pretty sure we can organize to help with this if eclipse would be
> interested to also get such a setup.
>
> The collaboration between eclipse projects and apache projects is still
> quite slim unfortunately. I think one big reason for this is the separate
> repository systems that make it very difficult to use projects from each
> other. So I think tackling this problem would help a lot to improve
> collaboration.
>
> I have read in another thread that this would be a "complicated" problem.
> Unfortunately there is no further information what the obstacles are. I
> spoke to quite some people at eclipse about this and they are all quite
> interested in maven deployments. So I think at the minimum there should be
> an open discussion so people understand where we are with this. Is there
> some place maybe on bugzilla where I can read into what was discussed about
> this?
>
> Christian
>
>
>
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Open Source Architect
> http://www.talend.com
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>
> --
> Raymond Augà (@rotty3000)
> Senior Software Architect Liferay, Inc. (@Liferay)
> Board Member & EEG Co-Chair, OSGi Alliance
> (@OSGiAlliance)_______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev