Jakarta EE Essentials Archetype
With this archetype, you can create a Jakarta EE project with minimal dependencies and configurations.
This will allow you to have a clean and clear pom.xml file so you can add more configurations as needed.
Usage
To create a new Jakarta EE project using this archetype, run the following command:
mvn -DarchetypeGroupId=com.apuntesdejava \
-DarchetypeArtifactId=jakarta-ee-essentials \
-DarchetypeVersion=0.0.4 \
-DjakartaProfile={jakartaProfile} \
-DjakartaModule={jakartaModule} \
-DjakartaVersion={jakartaVersion} \
org.apache.maven.plugins:maven-archetype-plugin:generate
Values for jakartaProfile property:
corewebfull(default)
Values for jakartaModule property:
ejbweb(default)
Values for jakartaVersion property:
10.0.011.0.0(default)
๐ Note
As of this post, it is only creating the dependency for Jakarta EE 11, version 11.0.0
Example
mvn -DarchetypeGroupId=com.apuntesdejava \
-DarchetypeArtifactId=jakarta-ee-essentials \
-DgroupId=com.example \
-DartifactId=example-app \
-Dversion=1.0.0-SNAPSHOT \
-DarchetypeVersion=0.0.4 \
-DjakartaProfile=core \
-DjakartaVersion=11.0.0 \
org.apache.maven.plugins:maven-archetype-plugin:generate