Skip to content

Instantly share code, notes, and snippets.

@seratch
Created January 13, 2016 03:31
Show Gist options
  • Save seratch/008ca72d4b711dbcb3f2 to your computer and use it in GitHub Desktop.
Save seratch/008ca72d4b711dbcb3f2 to your computer and use it in GitHub Desktop.
sonatype publish error
Please enter PGP passphrase (or ENTER to abort): ************************
[error] Unable to find credentials for [Nexus Repository Manager @ oss.sonatype.org].
[error] Is one of these realms mispelled for host [oss.sonatype.org]:
[error] * Sonatype Nexus Repository Manager
[error] Unable to find credentials for [Nexus Repository Manager @ oss.sonatype.org].
[error] Is one of these realms mispelled for host [oss.sonatype.org]:
[error] * Sonatype Nexus Repository Manager
[error] Unable to find credentials for [Nexus Repository Manager @ oss.sonatype.org].
[error] Is one of these realms mispelled for host [oss.sonatype.org]:
[error] * Sonatype Nexus Repository Manager
[error] Unable to find credentials for [Nexus Repository Manager @ oss.sonatype.org].
[error] Is one of these realms mispelled for host [oss.sonatype.org]:
[error] * Sonatype Nexus Repository Manager
[error] Unable to find credentials for [Nexus Repository Manager @ oss.sonatype.org].
[error] Is one of these realms mispelled for host [oss.sonatype.org]:
[error] * Sonatype Nexus Repository Manager
[error] Unable to find credentials for [Nexus Repository Manager @ oss.sonatype.org].
[error] Is one of these realms mispelled for host [oss.sonatype.org]:
[error] * Sonatype Nexus Repository Manager
[error] Unable to find credentials for [Nexus Repository Manager @ oss.sonatype.org].
[error] Is one of these realms mispelled for host [oss.sonatype.org]:
[error] * Sonatype Nexus Repository Manager
[error] Unable to find credentials for [Nexus Repository Manager @ oss.sonatype.org].
[error] Is one of these realms mispelled for host [oss.sonatype.org]:
[error] * Sonatype Nexus Repository Manager
org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact org.skinny-framework:skinny-micro-common_2.11:pom.asc:1.0.2 from/to releases (https://oss.sonatype.org/service/local/staging/deploy/maven2): Access to URL https://oss.sonatype.org/service/local/staging/deploy/maven2/org/skinny-framework/skinny-micro-common_2.11/1.0.2/skinny-micro-common_2.11-1.0.2.pom.asc was refused by the server: Unauthorized
at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:317)
at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:245)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:413)
at sbt.mavenint.MavenRemoteRepositoryResolver.publishArtifacts(MavenRemoteRepositoryResolver.scala:58)
at sbt.mavenint.MavenRepositoryResolver.commitPublishTransaction(MavenRepositoryResolver.scala:527)
at sbt.IvyActions$.publish(IvyActions.scala:363)
at sbt.IvyActions$$anonfun$publish$1$$anonfun$apply$1.apply$mcV$sp(IvyActions.scala:124)
at sbt.IvyActions$$anonfun$publish$1$$anonfun$apply$1.apply(IvyActions.scala:124)
at sbt.IvyActions$$anonfun$publish$1$$anonfun$apply$1.apply(IvyActions.scala:124)
at sbt.IvyActions$.sbt$IvyActions$$withChecksums(IvyActions.scala:128)
at sbt.IvyActions$$anonfun$publish$1.apply(IvyActions.scala:124)
at sbt.IvyActions$$anonfun$publish$1.apply(IvyActions.scala:117)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)
at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:132)
at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57)
at sbt.IvySbt$$anon$4.call(Ivy.scala:65)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
at xsbt.boot.Using$.withResource(Using.scala:10)
at xsbt.boot.Using$.apply(Using.scala:9)
at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
at xsbt.boot.Locks$.apply0(Locks.scala:31)
at xsbt.boot.Locks$.apply(Locks.scala:28)
at sbt.IvySbt.withDefaultLogger(Ivy.scala:65)
at sbt.IvySbt.withIvy(Ivy.scala:127)
at sbt.IvySbt.withIvy(Ivy.scala:124)
at sbt.IvySbt$Module.withModule(Ivy.scala:155)
at sbt.IvyActions$.publish(IvyActions.scala:117)
at sbt.Classpaths$$anonfun$publishTask$1.apply(Defaults.scala:1298)
at sbt.Classpaths$$anonfun$publishTask$1.apply(Defaults.scala:1297)
at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:35)
at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:34)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$4.work(System.scala:63)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
at sbt.Execute.work(Execute.scala:235)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment