Fugerit Daogen Mars demo project based on Quarkus.
Start in dev mode
mvn compile quarkus:dev -Duser.timezone=UTC -Dfile.encoding=UTF-8
Open dev ui or sample API Page
build :
mvn package
and run :
java -jar target/quarkus-app/quarkus-run.jar
build :
mvn package -Dquarkus.package.type=uber-jar
and tun :
java -jar target/fj-daogen-quarkus-demo-*-runner.jar
Build :
docker build --file src/main/docker/Dockerfile.corretto-jvm -t fj-daogen-quarkus-demo:local-jvm .
docker run -p 8080:8080 --name fj-daogen-quarkus-demo-local fj-daogen-quarkus-demo:local-jvm
Build :
First you need to setup GraalVM : BUILDING A NATIVE EXECUTABLE
mvn install -Dnative
Run :
./target/fj-daogen-quarkus-demo-*-runner -Duser.timezone=UTC -Dfile.encoding=UTF-8
Build :
docker build --file src/main/docker/Dockerfile.native-micro -t fj-daogen-quarkus-demo:local-native .
docker run -p 8080:8080 --name fj-daogen-quarkus-demo-local fj-daogen-quarkus-demo:local-native
mvn io.quarkus:quarkus-maven-plugin:3.8.0:create \
-DprojectGroupId=org.fugerit.java.demo \
-DprojectArtifactId=fj-daogen-quarkus-demo \
-Dextensions='resteasy-reactive-jackson,quarkus-arc,quarkus-config-yaml,junit5'