1. Navigate to the project directory:
cd /path/to/your/project2. Package the application (this will create a ROOT.jar file in the target directory):
mvn clean package3. Run the JAR file:
java -jar target/ROOT.jarBy following these steps, you will rename your final JAR file to ROOT.jar and be able to run it locally.