Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Emf libraries to Central Maven Repository
Emf libraries to Central Maven Repository [message #431294] Tue, 07 July 2009 19:05 Go to next message
Johan Vogelzang is currently offline Johan VogelzangFriend
Messages: 11
Registered: July 2009
Junior Member
Hi,

My question: Is it possible for the Emf team to deploy the recently
released org.eclipse.emf.* libraries to the Central Maven Repository?

A lot of our Java projects are using Maven as a buildframework. For their
continuous integration needs, it must be possible to build these projects
by Maven outside of Eclipse.

Earlier versions of org.eclipse.emf.ecore already were deployed to Central
Maven Repository, see:
http://repo2.maven.org/maven2/org/eclipse/emf/ecore/2.3.0-v2 00706262000

Because of the growing success of Emf we probably we will use future
versions also, it would be nice if the deployment of the Emf libraries to
the Central Maven Repository could get a place in the release process of
Emf.

Regards,
Johan.
Re: Emf libraries to Central Maven Repository [message #431302 is a reply to message #431294] Tue, 07 July 2009 22:04 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30685
Registered: July 2009
Senior Member
Johan,

Comments below.

Johan Vogelzang wrote:
> Hi,
>
> My question: Is it possible for the Emf team to deploy the recently
> released org.eclipse.emf.* libraries to the Central Maven Repository?
Whether it's possible and whether it will be done are two different
questions. I assume it's possible in principle. It's certainly well
beyond my personal capacity to do it though...
>
> A lot of our Java projects are using Maven as a buildframework. For
> their continuous integration needs, it must be possible to build these
> projects by Maven outside of Eclipse.
So what's required?
>
> Earlier versions of org.eclipse.emf.ecore already were deployed to
> Central Maven Repository, see:
> http://repo2.maven.org/maven2/org/eclipse/emf/ecore/2.3.0-v2 00706262000
Yes, Nick did that. But he's not at IBM anymore and I haven't a clue
about what he did for that...
>
> Because of the growing success of Emf we probably we will use future
> versions also, it would be nice if the deployment of the Emf libraries
> to the Central Maven Repository could get a place in the release
> process of Emf.
I imagine it would be very nice, but the people for whom it would be
nice probably need to step up to help make it happen...
>
> Regards,
> Johan.
>
Re: Emf libraries to Central Maven Repository [message #431311 is a reply to message #431302] Wed, 08 July 2009 07:37 Go to previous messageGo to next message
Johan Vogelzang is currently offline Johan VogelzangFriend
Messages: 11
Registered: July 2009
Junior Member
Well, I would like to step up, but don't know were to begin...

The ideal solution, for as well Eclipse projects as for the Java projects
that uses them is as follows:
1- Setup a central Maven repository within the walls of the org.eclipse
environment. Only Eclipse projects (org.eclipse.*) are allowed to deploy
to this repository. Lets name it the Eclipse Maven Repository.
2- Let the Eclipse Maven Repository automatically synchronize with the
Central Maven Repository. This is the preferred way by Maven, see for more
details:
http://maven.apache.org/guides/mini/guide-central-repository -upload.html
3- For individual Eclipse projects (for which its appropriate) its only
necessary to deploy their released libraries to the Eclipse Maven
Repository. The automatic synchronization process will take care of the
rest. Maven has support for this step, see:
http://maven.apache.org/plugins/maven-eclipse-plugin/to-mave n-mojo.html

I suppose point 1- and 2- go beyond the scope of the EMF project. But I
know that there are more Eclipse projects that have to wrestle this same
problem. For instance the org.eclipse.xtext project deploys to a third
party Maven repository. But Java projects in general don't want to rely on
third party repositories. The only Maven repositories they can trust are
the Central Maven Repository or mirrors of it.

I hope I made a bit clear that this is a common problem for Eclipse
projects that want to publish their libraries as Maven artifacts to the
world. The described solution provides a standard way to deal with it, so
each Eclipse project could benefit from it.

Regards,
Johan.
Re: Emf libraries to Central Maven Repository [message #431377 is a reply to message #431311] Wed, 08 July 2009 09:31 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30685
Registered: July 2009
Senior Member
Johan,

Comments below.

Johan Vogelzang wrote:
> Well, I would like to step up, but don't know were to begin...
Welcome to my world. :-P
>
> The ideal solution, for as well Eclipse projects as for the Java
> projects that uses them is as follows:
> 1- Setup a central Maven repository within the walls of the
> org.eclipse environment. Only Eclipse projects (org.eclipse.*) are
> allowed to deploy to this repository. Lets name it the Eclipse Maven
> Repository.
> 2- Let the Eclipse Maven Repository automatically synchronize with the
> Central Maven Repository. This is the preferred way by Maven, see for
> more details:
> http://maven.apache.org/guides/mini/guide-central-repository -upload.html
> 3- For individual Eclipse projects (for which its appropriate) its
> only necessary to deploy their released libraries to the Eclipse Maven
> Repository. The automatic synchronization process will take care of
> the rest. Maven has support for this step, see:
> http://maven.apache.org/plugins/maven-eclipse-plugin/to-mave n-mojo.html
That sounds very sensible.
>
> I suppose point 1- and 2- go beyond the scope of the EMF project. But
> I know that there are more Eclipse projects that have to wrestle this
> same problem. For instance the org.eclipse.xtext project deploys to a
> third party Maven repository. But Java projects in general don't want
> to rely on third party repositories. The only Maven repositories they
> can trust are the Central Maven Repository or mirrors of it.
It would be good to have a sensible strategy around this stuff. What
if, for example, a p2 repository could be automatically converted to a
maven repository and vice versa...
>
> I hope I made a bit clear that this is a common problem for Eclipse
> projects that want to publish their libraries as Maven artifacts to
> the world. The described solution provides a standard way to deal with
> it, so each Eclipse project could benefit from it.
There are two Maven projects at Eclipse. I'll take the opportunity at
the Architecture Council meeting tomorrow to ask about support for Maven...
> Regards,
> Johan.
>
Re: Emf libraries to Central Maven Repository [message #431432 is a reply to message #431377] Thu, 09 July 2009 10:22 Go to previous messageGo to next message
Johan Vogelzang is currently offline Johan VogelzangFriend
Messages: 11
Registered: July 2009
Junior Member
Ed,

Did you managed to get this issue under the attention of the Architecture
Council?

Regards,
Johan.
Re: Emf libraries to Central Maven Repository [message #431433 is a reply to message #431432] Thu, 09 July 2009 10:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30685
Registered: July 2009
Senior Member
Johan,

Sorry, I seem to be living in a time warp because the meeting is today...


Johan Vogelzang wrote:
> Ed,
>
> Did you managed to get this issue under the attention of the
> Architecture Council?
>
> Regards,
> Johan.
>
Re: Emf libraries to Central Maven Repository [message #431455 is a reply to message #431433] Sat, 11 July 2009 08:36 Go to previous messageGo to next message
Johan Vogelzang is currently offline Johan VogelzangFriend
Messages: 11
Registered: July 2009
Junior Member
Any news yet, Ed?
Re: Emf libraries to Central Maven Repository [message #431456 is a reply to message #431455] Sat, 11 July 2009 08:43 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30685
Registered: July 2009
Senior Member
Johan,

Yes, I raised the issue and there was a very brief discussion. I'm
under the impression that there should be ways of exporting a p2
repository to Maven and vice versa. We'll discuss the issue at greater
length during the next meeting next month. I'll also try to find out
more details in the meantime. Chris Aniszczyk seemed to know quite a bit
about it and of course there are two Maven projects at Eclipse, both of
which I mentor...


Johan Vogelzang wrote:
> Any news yet, Ed?
>
Re: Emf libraries to Central Maven Repository [message #431460 is a reply to message #431456] Sat, 11 July 2009 09:48 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6512
Registered: July 2009
Senior Member
Hi Johan,

Until there's such a repository you can use a trick we are also using in
UFaceKit [1] to use Maven to resolve dependencies.

You can point your POM to a local path where the EMF-Plugins reside
(e.g. your Eclipse-Target, ...) and let it pick up the stuff from there
([2]).

I'm not a maven expert (the Maven stuff is done by Kenneth Westelinck)
but it seems to work for us quite well though we would certainly prefer
if all Eclipse Plugins are found in the central repository or the
Eclipse-Foundation has it's own.

Tom

[1]http://wiki.eclipse.org/UFaceKit
[2] https://dev.eclipse.org/svnroot/eclipse/org.eclipse.ufacekit /bundles/proper/org.eclipse.ufacekit/pom.xml

Ed Merks schrieb:
> Johan,
>
> Yes, I raised the issue and there was a very brief discussion. I'm
> under the impression that there should be ways of exporting a p2
> repository to Maven and vice versa. We'll discuss the issue at greater
> length during the next meeting next month. I'll also try to find out
> more details in the meantime. Chris Aniszczyk seemed to know quite a bit
> about it and of course there are two Maven projects at Eclipse, both of
> which I mentor...
>
>
> Johan Vogelzang wrote:
>> Any news yet, Ed?
>>
Re: Emf libraries to Central Maven Repository [message #431512 is a reply to message #431456] Tue, 14 July 2009 18:29 Go to previous messageGo to next message
Johan Vogelzang is currently offline Johan VogelzangFriend
Messages: 11
Registered: July 2009
Junior Member
Ed,

Thanks for taking the initiative. What can I do to keep me informed of the
outcome of the next moth meeting? If more input about this issue is
needed, let me know.

Regards,
Johan.
Re: Emf libraries to Central Maven Repository [message #431534 is a reply to message #431512] Wed, 15 July 2009 13:38 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30685
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------070209040908040404050602
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Johan,

There should be information in the minutes:

http://wiki.eclipse.org/Architecture_Council/Meetings

E.g., the July 9 minutes are there already.


Johan Vogelzang wrote:
> Ed,
>
> Thanks for taking the initiative. What can I do to keep me informed of
> the outcome of the next moth meeting? If more input about this issue
> is needed, let me know.
>
> Regards,
> Johan.
>

--------------070209040908040404050602
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Johan,<br>
<br>
There should be information in the minutes:
Previous Topic:[CDO] Session busy indicator
Next Topic:Model referencing existing emf classes
Goto Forum:
  


Current Time: Fri Dec 06 21:10:03 GMT 2019

Powered by FUDForum. Page generated in 0.02171 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top