A barebones Java app using Apache Maven.
Make sure you have Apache Maven and Java installed.
$ git clone https://github.com/migetapp/java-hello-world.git # or clone your own fork
$ cd java-hello-world
$ mvnw --batch-mode -Dmaven.test.skip=true --no-transfer-progress package
$ java -jar target/java-hello-world-1.0.0-SNAPSHOT.jarYour app should now be running on localhost:5000.
Make sure you have pack CLI and Docker installed.
$ pack config default-builder paketobuildpacks/builder-jammy-base
$ pack build java-hello-world
$ docker run -p 5000:5000 java-hello-worldYour app should now be running on localhost:5000.