Repository for custom Maven Archetypes:
With this Maven archetype you can bootstrap a simple Java EE 8 application in seconds. This archetype contains the following files/dependencies:
- Java EE 8 API dependency
- Microprofile 2.0.1 dependency
- Mockito and JUnit dependencies for efficient testing
beans.xml
withbean-discovery-mode="all"
persistence.xml
configured for JTA persistence unitmicroprofile-config.properties
for configuration- JAX-RS configuration class
- Sample JAX-RS REST endpoint (
/resources/sample
) - Dockerfile for latest Payara deployment
- Build and deploy script as
.sh
and.bat
mvn archetype:generate -DarchetypeGroupId=de.rieckpil.archetypes \
-DarchetypeArtifactId=javaee8 \
-DarchetypeVersion=1.0.2 \
-DgroupId=<your project Group Id> \
-DartifactId=<your project artifact Id>
Bootstrapping and deploying a new application under Windows (Docker daemon needs to run):
mvn archetype:generate -DarchetypeGroupId=de.rieckpil.archetypes -DarchetypeArtifactId=javaee8 -DarchetypeVersion=1.0.2 -DgroupId=de.rieckpil.blog -DartifactId=javaee-8-microservice -DinteractiveMode=false
cd javaee-8-microservice
buildAndRun.bat
Bootstrapping and deploying a new application under Linux/Mac (Docker daemon needs to run):
mvn archetype:generate -DarchetypeGroupId=de.rieckpil.archetypes -DarchetypeArtifactId=javaee8 -DarchetypeVersion=1.0.2 -DgroupId=de.rieckpil.blog -DartifactId=javaee-8-microservice -DinteractiveMode=false
cd javaee-8-microservice
chmod +x buildAndRun.sh
./buildAndRun.sh
After Payara successfully started visit http://localhost:8080/resources/sample
With this Maven archetype you can bootstrap a simple Java EE 8 JSF application in seconds. This archetype contains the following files/dependencies:
- Java EE 8 API dependency
- Microprofile 2.0.1 dependency
- Primefaces 6.2 and all-themes dependency
- Omnifaces 3.2 dependency
- Mockito and JUnit dependencies for efficient testing
web.xml
for JSF development withbootstrap
as selected Primfaces themebeans.xml
withbean-discovery-mode="all"
persistence.xml
configured for JTA persistence unitmicroprofile-config.properties
for configuration- Simple
index.xhtml
with backing beanSampleBean
- Dockerfile for latest Payara deployment
- Build and deploy script as
.sh
and.bat
mvn archetype:generate -DarchetypeGroupId=de.rieckpil.archetypes \
-DarchetypeArtifactId=javaee8-jsf \
-DarchetypeVersion=1.0.0 \
-DgroupId=<your project Group Id> \
-DartifactId=<your project artifact Id>
Bootstrapping and deploying a new application under Windows (Docker daemon needs to run):
mvn archetype:generate -DarchetypeGroupId=de.rieckpil.archetypes -DarchetypeArtifactId=javaee8-jsf -DarchetypeVersion=1.0.0 -DgroupId=de.rieckpil.blog -DartifactId=jsf-app -DinteractiveMode=false
cd jsf-app
buildAndRun.bat
Bootstrapping and deploying a new application under Linux/Mac (Docker daemon needs to run):
mvn archetype:generate -DarchetypeGroupId=de.rieckpil.archetypes -DarchetypeArtifactId=javaee8-jsf -DarchetypeVersion=1.0.0 -DgroupId=de.rieckpil.blog -DartifactId=jsf-app -DinteractiveMode=false
cd jsf-app
chmod +x buildAndRun.sh
./buildAndRun.sh
After Payara successfully started visit http://localhost:8080/