This archetype was migrated into Eclipse Krazo and can be used to generate projects starting with Krazo version 1.1.0-SNAPSHOT. For versions until Krazo 1.0.0 you can still use this archetype. Please check the Krazo Documentation for further information.
This archetype generates a basic MVC application based on Jakarta EE 8 and the current release version of the MVC API and Eclise Krazo.
To generate a MVC application with Jersey as JAX-RS implementation (Glassfish, Payara):
mvn archetype:generate \
-DarchetypeGroupId=de.erdlet.archetypes \
-DarchetypeArtifactId=jakartaee8-mvc-archetype \
-DarchetypeVersion=1.0.0 \
-DgroupId=<your-groupId> \
-DartifactId=<your-DartifactId>
To generate a MVC application with RESTEasy as JAX-RS implementation (Wildfly):
mvn archetype:generate \
-DarchetypeGroupId=de.erdlet.archetypes \
-DarchetypeArtifactId=jakartaee8-mvc-archetype \
-DarchetypeVersion=1.0.0 \
-DgroupId=<your-groupId> \
-DartifactId=<your-DartifactId> \
-DkrazoImpl=resteasy
To generate a MVC application with CXF as JAX-RS implementation (TomEE):
mvn archetype:generate \
-DarchetypeGroupId=de.erdlet.archetypes \
-DarchetypeArtifactId=jakartaee8-mvc-archetype \
-DarchetypeVersion=1.0.0 \
-DgroupId=<your-groupId> \
-DartifactId=<your-DartifactId> \
-DkrazoImpl=cxf
In case no JAX-RS implementation is select or none of the above mentioned is used, the archetype will use Jersey as default.