update maven version

Building with maven 3.0.x will throw error as follow:

[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
Detected Maven Version: 3.0.x is not in the allowed range 3.1.1.