Maven - create .genmodel and sources from .ecore

I am currently trying to build my project with Maven. The problem comes with EMF when I try to generate sources.

I've done a lot of research on how to initiate the build process so that sources are generated when the .genmodel is already available. However, I have not found any link on how to do this with Maven. Apparently there is a maven plugin, namely maven-emfgen-plugin , but it's deprecated. When I try to take the snapshot provided on this site, what I get is an error that tells me that my version of eclipse is no longer supported. I have added the exact error message below.

Now my exact questions are:

  • How to create sources from .genmodel using Maven
  • How do I create .genmodel from .ecore with Maven

Regards, Lars

Error: [ERROR] Failed to execute target net.sf.mapasuta.build.maven.plugins: Maven-emfgen-plugin: 1.1: genmodel (generate-mm-sources) on project org.emoflon.ibex.tgg.editor: Eclipse version 4.6.2 is not yet supported. β†’ [Help 1]

+3


source to share





All Articles