Running Maven in Docker
Run this from the root of a maven project
docker run -it --rm -v "$PWD":/home/src/gpt-fx -v "$HOME/.m2":/root/.m2 -w /home/src/gpt-fx maven:3.8.3-openjdk-17 mvn clean package -Ppackage
Run this from the root of a maven project
docker run -it --rm -v "$PWD":/home/src/gpt-fx -v "$HOME/.m2":/root/.m2 -w /home/src/gpt-fx maven:3.8.3-openjdk-17 mvn clean package -Ppackage