Let's use java 21 and maven version in this range: 3.6.3 ... 3.9.9
Documentation can be found in file java_the_hutt_documentation.pdf. If the images in the documentation cannot be seen well, better versions are provided as separate .png files.
To run the formatting plugin and tests, use the following command:
mvn verify
To fix formatting-related errors, run:
mvn spotless:apply
To build the entire project, use:
mvn clean install
To run the application from the root directory, use:
mvn -pl ui exec:java -Dexec.mainClass="com.javathehutt.Main"
To build the Docker image, use:
docker build -t analyticsapp:latest .
To run the application from the Docker image and expose the VNC server on port 5900, use:
docker run -p 5900:5900 --rm analyticsapp:latest