Skip to content

Instantly share code, notes, and snippets.

@marlonlom
Created June 21, 2016 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marlonlom/e9212fe3e1144ce0e3772a2f19396bcb to your computer and use it in GitHub Desktop.
Save marlonlom/e9212fe3e1144ce0e3772a2f19396bcb to your computer and use it in GitHub Desktop.
build failed when uploading archives
Could not transfer artifact com.github.marlonlom:staticmaps-builder:aar:1.0.0 from/to remote (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/marlonlom/staticmaps-builder/1.0.0/staticmaps-builder-1.0.0.aar, ReasonPhrase: Forbidden.
Could not transfer artifact com.github.marlonlom:staticmaps-builder:pom:1.0.0 from/to remote (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/marlonlom/staticmaps-builder/1.0.0/staticmaps-builder-1.0.0.pom, ReasonPhrase: Forbidden.
Could not transfer artifact com.github.marlonlom:staticmaps-builder:jar.asc:javadoc:1.0.0 from/to remote (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/marlonlom/staticmaps-builder/1.0.0/staticmaps-builder-1.0.0-javadoc.jar.asc, ReasonPhrase: Forbidden.
Could not transfer artifact com.github.marlonlom:staticmaps-builder:aar.asc:1.0.0 from/to remote (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/marlonlom/staticmaps-builder/1.0.0/staticmaps-builder-1.0.0.aar.asc, ReasonPhrase: Forbidden.
Could not transfer artifact com.github.marlonlom:staticmaps-builder:jar.asc:sources:1.0.0 from/to remote (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/marlonlom/staticmaps-builder/1.0.0/staticmaps-builder-1.0.0-sources.jar.asc, ReasonPhrase: Forbidden.
Could not transfer artifact com.github.marlonlom:staticmaps-builder:jar:sources:1.0.0 from/to remote (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/marlonlom/staticmaps-builder/1.0.0/staticmaps-builder-1.0.0-sources.jar, ReasonPhrase: Forbidden.
Could not transfer artifact com.github.marlonlom:staticmaps-builder:jar:javadoc:1.0.0 from/to remote (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/marlonlom/staticmaps-builder/1.0.0/staticmaps-builder-1.0.0-javadoc.jar, ReasonPhrase: Forbidden.
Could not transfer artifact com.github.marlonlom:staticmaps-builder:pom.asc:1.0.0 from/to remote (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/marlonlom/staticmaps-builder/1.0.0/staticmaps-builder-1.0.0.pom.asc, ReasonPhrase: Forbidden.
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ‘:library:uploadArchives’.
> Could not publish configuration ‘archives’
 > Failed to deploy artifacts: Could not transfer artifact com.github.marlonlom:staticmaps-builder:aar:1.0.0 from/to remote (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/marlonlom/staticmaps-builder/1.0.0/staticmaps-builder-1.0.0.aar, ReasonPhrase: Forbidden.
* Try:
Run with — stacktrace option to get the stack trace. Run with — info or — debug option to get more log output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment