This is a simple Java project that prints "Hello World" to the console.
mvn compile exec:java
docker build -t hello-java:1.0 .
docker run hello-java:1.0
Hello World!
Java Hello World
This is a simple Java project that prints "Hello World" to the console.
mvn compile exec:java
docker build -t hello-java:1.0 .
docker run hello-java:1.0
Hello World!
Java Hello World