Quarkus MyFaces Showcase

This sample application shows Quarkus Myfaces extension usage

Running

mvn clean package -DskipTests && java -jar ./target/quarkus-myfaces-showcase-1.0-SNAPSHOT-runner.jar

Dev mode

In dev mode you can easily debug and hot deploy your quarkus application:

mvn quarkus:dev

Hot deployment also works for facelets pages

Native mode

For native mode you need graalvm 19.3.1, see graalvm instalation instructions here.

Note that for now native mode is not working on GraalVM 20.0.0

Following is how to build and run the native image:

mvn clean package -Pnative && ./target/quarkus-myfaces-showcase-1.0-SNAPSHOT-runner

Testing

Tests use HTMLUnit to retrieve web pages and assert their content.

A mvn clean test will run JVM mode tests

For native mode tests use:

mvn verify -Pnative