mvn clean compile exec:java -Dcantaloupe.config=... will build and run the project using the embedded web server listening on the port(s) specified in cantaloupe.properties. mvn clean package ...