Build, test and execute the jar Build mvn clean compile -DskipTests Build with test mvn clean compile