Skip to content
This repository has been archived by the owner on Mar 13, 2020. It is now read-only.

Latest commit

 

History

History
50 lines (40 loc) · 1.98 KB

README.md

File metadata and controls

50 lines (40 loc) · 1.98 KB

Jakarta EE 8 & MVC 1.0 archetype

Maven Central

Attention!

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.

About the archetype

This archetype generates a basic MVC application based on Jakarta EE 8 and the current release version of the MVC API and Eclise Krazo.

Usage

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.