Maven error when doing cordova android build

I am trying to set up a Project job with the Cordova application with android as the platform. When I do a build, I ran into the following error during the build time (I did create a file under $HOME):

unning command: /Users/hudson/.hudson/jobs/Mobile-Dashboard-Agile/workspace/mobiledashboard/platforms/android/cordova/build --release
Running: /Users/hudson/.hudson/jobs/Mobile-Dashboard-Agile/workspace/mobiledashboard/platforms/android/gradlew cdvBuildRelease -b /Users/hudson/.hudson/jobs/Mobile-Dashboard-Agile/workspace/mobiledashboard/platforms/android/build.gradle -Dorg.gradle.daemon=true
FAILURE: Build failed with an exception.

[39m[22m[1m[31m* What went wrong:
A problem occurred configuring root project ‘android’.
[39m[22m[1m[31m> Could not resolve all dependencies for configuration ‘:classpath’.
[39m[22m[1m[31m > Could not resolve
Required by:
[39m[22m[1m[31m :android:unspecified

Failed to list versions for
Unable to load Maven meta-data from
Could not GET ‘’.
peer not authenticated
[39m[22m[1m[31m* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Total time: 3.952 secs

Looks like an SSL related error. Could you perhaps try running with -S and share the full stacktrace?