Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Converting/exporting EMF generated projects into maven artefacts (Converting/exporting EMF generated projects into maven artefacts )
Converting/exporting EMF generated projects into maven artefacts [message #1863757] Sun, 25 February 2024 14:30 Go to next message
Jad El-khoury is currently offline Jad El-khouryFriend
Messages: 5
Registered: February 2024
Junior Member
From an ecore model, I am generating the model/edit/editor plugins. This works very fine within other Eclipse plugin projects.

But I would like to use this generated code (mainly the model projects) within a maven project.

Is there a way I can systematically convert the generated model projects into Maven artifacts?

Ideally, I would like to automate the building of such maven artefact(s). (I am currently using Tycho to build my plugins)

The closest I could find is eclipse:make-artifacts from 2011 (deprecated)

Re: Converting/exporting EMF generated projects into maven artefacts [message #1863761 is a reply to message #1863757] Sun, 25 February 2024 18:21 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33143
Registered: July 2009
Senior Member
This is not really a question specific to EMF. EMF itself and the Platform use the CBI aggregator to map artifacts in a p2 repository to artifacts/poms in maven-compatible p2 repository:

https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/tree/master/eclipse.platform.releng/publish-to-maven-central
https://github.com/eclipse-emf/org.eclipse.emf/tree/master/releng/org.eclipse.emf.releng/publish

https://github.com/eclipse-cbi/p2repo-aggregator

No doubt there are other ways to do this, but I don't know them and probably Tycho is a better place to ask.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Converting/exporting EMF generated projects into maven artefacts [message #1863764 is a reply to message #1863761] Mon, 26 February 2024 07:37 Go to previous message
Jad El-khoury is currently offline Jad El-khouryFriend
Messages: 5
Registered: February 2024
Junior Member
Fair enough Ed! I was hoping there might have been some specific EMF support.
For those that might find this thread, I continue my quest with Tycho https://github.com/eclipse-tycho/tycho/discussions/3527
Previous Topic:No Model Importer available for EMF Generator Model
Goto Forum:
  


Current Time: Thu May 02 22:42:30 GMT 2024

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

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

Back to the top