Remove unnecessary requirements
Add error message if mvn command fails
Rearrange init.pp