Coffee Builder for Jakarta EE

Coffee Builder generates the foundation. The developer builds the application.

Jakarta EE Essentials Archetype

Maven Central Version Maven Central Last Update GitHub

Create a clean and minimal Jakarta EE project that you can understand, extend, and adapt to your own architecture.

The Jakarta EE Essentials Archetype provides the initial foundation of a Coffee Builder project. It generates a standard Maven application with only the essential Jakarta EE dependencies and configuration, leaving the resulting pom.xml clear and ready for further development.

The archetype does not generate a complete application or impose a predefined architecture. Once the project has been created, you can continue building it manually or add capabilities incrementally with the Coffee Builder Maven Plugin.

Supported options

The archetype can generate projects for:

Jakarta EE 11 is the primary target for current development. Jakarta EE 10 remains available as a compatibility option, although newer Coffee Builder operations may require APIs introduced in Jakarta EE 11.

Usage

Run the following Maven command to create a new project:

mvn org.apache.maven.plugins:maven-archetype-plugin:3.4.1:generate \
  -DarchetypeGroupId=io.github.coffee-builder \
  -DarchetypeArtifactId=jakarta-ee-essentials \
  -DarchetypeVersion=0.0.8 \
  -DgroupId={groupId} \
  -DartifactId={artifactId} \
  -Dversion={version} \
  -Dpackage={package} \
  -DjakartaVersion={jakartaVersion} \
  -DjakartaProfile={jakartaProfile} \
  -DjakartaModule={jakartaModule} \
  -DapiBasePath={apiBasePath} \
  -DinteractiveMode=false

Replace the values in braces with the configuration required by your project.

jakartaProfile

Defines the Jakarta EE profile included in the generated project:

jakartaModule

Defines the type of Maven module to generate:

jakartaVersion

Defines the Jakarta EE version targeted by the project:

Example

The following command creates a Jakarta EE 11 project using the Core Profile:

mvn org.apache.maven.plugins:maven-archetype-plugin:3.4.1:generate \
  -DarchetypeGroupId=io.github.coffee-builder \
  -DarchetypeArtifactId=jakarta-ee-essentials \
  -DarchetypeVersion=0.0.8 \
  -DgroupId=com.example \
  -DartifactId=example-app \
  -Dversion=1.0.0-SNAPSHOT \
  -Dpackage=com.example \
  -DjakartaVersion=11.0.0 \
  -DjakartaProfile=full \
  -DjakartaModule=web \
  -DapiBasePath=/api \
  -DinteractiveMode=false

The generated project remains a standard Jakarta EE Maven application. You can modify it directly, deploy it to a compatible runtime, or continue extending it with Coffee Builder.

Explore the Coffee Builder Maven Plugin