Setting the user/key in commands for travis is kind of overkill. This problem (build error) will happen to anyone who tries to compile on a machine which does not have those two properties set. It's better to handle that in build script itself. Upgrade the applicable versions as well. mavenLocal() is not required and jcenter is likely a better choice for repo. Can change it later if need be.