On Windows:
cd "1 Hands-on Legacy Code"
./mvnw.cmd package
On Unix/Linux/MacOS:
cd "1 Hands-on Legacy Code"
./mvnw package
The easiest way is to use open the project in Visual Studio Code inside a Devcontainer. For that you need Docker installed.
On Windows:
winget install -e --id Docker.DockerDesktop
On MacOS:
brew install --cask docker
You need a JDK version 21.
On Windows:
winget install -e --id EclipseAdoptium.Temurin.21.JDK
On MacOS:
brew install temurin@21