Skip to content

Instantly share code, notes, and snippets.

@netanel246
Created December 21, 2020 09:49
Show Gist options
  • Save netanel246/04c5be423d242a3bb9ef9a300c8817c8 to your computer and use it in GitHub Desktop.
Save netanel246/04c5be423d242a3bb9ef9a300c8817c8 to your computer and use it in GitHub Desktop.
Maven deploy 401 Unauthorized Error
Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/sedona/sedona-parent/1.0.0-incubator-SNAPSHOT/sedona-parent-1.0.0-incubator-20201221.094716-10.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for sedona-parent 1.0.0-incubator-SNAPSHOT:
[INFO]
[INFO] sedona-parent ...................................... FAILURE [ 8.376 s]
[INFO] org.apache.sedona:sedona-core_2.12 ................. SKIPPED
[INFO] org.apache.sedona:sedona-sql-3.0_2.12 .............. SKIPPED
[INFO] org.apache.sedona:sedona-viz-3.0_2.12 .............. SKIPPED
[INFO] org.apache.sedona:sedona-python-adapter-3.0_2.12 ... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.520 s
[INFO] Finished at: 2020-12-21T11:47:19+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project sedona-parent: Failed to deploy artifacts: Could not transfer artifact org.apache.sedona:sedona-parent:pom:1.0.0-incubator-20201221.094716-10 from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Transfer failed for https://repository.apache.org/content/repositories/snapshots/org/apache/sedona/sedona-parent/1.0.0-incubator-SNAPSHOT/sedona-parent-1.0.0-incubator-20201221.094716-10.pom 401 Unauthorized -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment