Revert "fix Travis CI error, see: http://docs.travis-ci.com/user/languages/java/"

This reverts commit 8737ff01ac367e3d07aa9bd96d70f98bd98fe1ca.
improve pom.xml