$ mvn compile  # creates target/classes/

$ mvn test

$ mvn package  # creates target/PROJECT.war

$ mvn clean