Maven support for JMI

The modelant.repository.maven module means to generate the JMI-compliant interfaces for a metamodel.

Generate a Maven project for a metamodel API module

  • In a parent directory create a new project with the artifact:
mvn archetype:generate -DarchetypeGroupId=net.mdatools 
                       -DarchetypeArtifactId=modelant.repository.maven.archetype 
                       -DarchetypeVersion=3.1.0 
                       -DarchetypeCatalog=local 
                       -DmetamodelUrl=path-to-the-metamodel
  • Build the newly created project with
mvn clean install