mvn deploy return error "unauthorrized"

#1

Hi

I have tried to build Autobahn library for Android platform. When I run the command “mvn deploy” I get the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project autobahn-android: Failed to deploy artifacts: Could not transfer artifact de.tavendo:autobahn-android:jar:0.5.2-20150507.114844-2 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): Failed to transfer file: https://oss.sonatype.org/content/repositories/snapshots/de/tavendo/autobahn-android/0.5.2-SNAPSHOT/autobahn-android-0.5.2-20150507.114844-2.jar. Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project autobahn-android: Failed to deploy artifacts: Could not transfer artifact de.tavendo:autobahn-android:jar:0.5.2-20150507.114844-2 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): Failed to transfer file: https://oss.sonatype.org/content/repositories/snapshots/de/tavendo/autobahn-android/0.5.2-SNAPSHOT/autobahn-android-0.5.2-20150507.114844-2.jar. Return code is: 401, ReasonPhrase: Unauthorized.

Is there any special credential needed to build the project?

Regards,

D.

0 Likes