Jakarta EE / MicroProfile Maven Archetype with System Tests Support 📎
mvn archetype:generate \
-DarchetypeGroupId=com.airhacks \
-DarchetypeArtifactId=jakartaee-essentials-archetype \
-DarchetypeVersion=0.0.7
...generates a microservice with corresponding system test.
The following command:
mvn archetype:generate \
-DarchetypeGroupId=com.airhacks \
-DarchetypeArtifactId=jakartaee-essentials-archetype \
-DarchetypeVersion=0.0.7 \
-DgroupId=com.airhacks \
-DartifactId=duke \
--batch-mode
...creates the duke
(Java 11, Jakarta EE 8, MicroProfile 3 based) microservice, as well as, the module duke-st
containing the System- / Black Box tests.
The system tests are accessing the microservice via the Rest Client for MicroProfile API and JUnit 5.