Skip to content

Archetype

Marcelo Aguiar Rodrigues edited this page Mar 29, 2019 · 2 revisions

Heimdall provides a Middleware Archetype, it provides a simple functional middleware as a base for development.

How to use

Clone or download the repository and use this command in the root directory

mvn install

This will create the archetype in your local repository. Now to create your middleware navigate the the folder you want your middleware project to be located and type:

mvn archetype:generate
     -DarchetypeGroupId=br.com.conductor
     -DarchetypeArtifactId=heimdall-middleware-archetype
     -DarchetypeVersion=0.0.1
     -DgroupId=<your.middleware.groupId>
     -DartifactId=<your-middleware-artifactId>
     -DinteractiveMode=false

After this you will be able to mvn install your middleware and test it.

Clone this wiki locally