This directory contains multiple examples using Gradle and Maven.
It's best to load individual projects as the Java requirements between some of the examples are different.
All builds can be run at the command-line via the typical mvn verify or
./gradlew check commands.
maven-example- Java 11+ recommended, basic Maven usagemaven-ee-8- Java 8 required, example of Java EE deprecationsmaven-ee-11- Java 11+ required, example of updated references for Java EE deprecationsmaven-modules/mod-lib- Java 11+, a modular library for use with app examples.mvn installthis project before building the others.maven-modules/mod-app- Java 11+, a modular application usingmod-libmaven-modules/non-app- Java 11+, a non-modular application usingmod-libmaven-multi-release- Java 11+, a library JAR using multi-release versioning. Usemvn packageto build JAR.wellgrounded-maven-plugin- A Maven plugin implementation
gradle-example- Java 11+ recmomended, basic Gradle usagegradle-ee-8- Java 8 required, example of Java EE deprecationsgradle-ee-11- Java 11+ required, example of updated references for Java EE deprecationsgradle-modules/mod-lib- Java 11+, a modular library for use with app examples. Use./gradlew assembleto create JAR for use from other projects.gradle-modules/mod-app- Java 11+, a modular application usingmod-libgradle-modules/non-app- Java 11+, a non-modular application usingmod-libgradle-jlink- Java 11+ required, example of usingjlinkto create single executable. Run./gradlew jlinkto generaate output underbuild/image.