Fixed that using this command:
mvn clean install
What it does: compile your code, run any tests, and create the JAR file in the target directory