Using a tutorial, code for working with maven web apps