Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sbt release not accepting gpg keys #233

Open
pathikrit opened this issue Jul 20, 2018 · 1 comment
Open

sbt release not accepting gpg keys #233

pathikrit opened this issue Jul 20, 2018 · 1 comment

Comments

@pathikrit
Copy link

pathikrit commented Jul 20, 2018

I followed the instructions from here to try and release http://github.com/pathikrit/better-files:

I ran gpg --gen-key and then published it:

gpg --keyserver hkp://keyserver.ubuntu.com --send-keys B7A1CFF9DE8A59DDBEFD757EE5A22FE38BE4B973
gpg: sending key E5A22FE38BE4B973 to hkp://keyserver.ubuntu.com

mkdir ~/.sbt/gpg/
gpg -a --export-secret-keys > ~/.sbt/gpg/secring.asc

When I did sbt +release, I got:

info] Reapplying settings...
[info] Set current project to better-files-root (in build file:/Users/pbhowmick/workspace/better-files/)
[info] Wrote /Users/pbhowmick/workspace/better-files/core/target/scala-2.11/better-files_2.11-3.6.0.pom
[info] Wrote /Users/pbhowmick/workspace/better-files/akka/target/scala-2.11/better-files-akka_2.11-3.6.0.pom
Please enter PGP passphrase (or ENTER to abort): *********
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0-sources.jar.asc
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0-javadoc.jar
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0.jar.asc
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0-javadoc.jar.asc
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0.pom.asc
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0.pom
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0-sources.jar
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0.jar
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0.jar.asc
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0.pom.asc
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0-javadoc.jar
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0-sources.jar.asc
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0-javadoc.jar.asc
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0-sources.jar
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0.jar
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0.pom
[success] Total time: 164 s, completed Jul 19, 2018 8:04:40 PM
[info] Setting version to '3.6.1-SNAPSHOT'.
[info] Reapplying settings...
[info] Set current project to better-files-root (in build file:/Users/pbhowmick/workspace/better-files/)
[info] [master e5e8eda] Setting version to 3.6.1-SNAPSHOT
[info]  1 file changed, 1 insertion(+), 1 deletion(-)
[info] Nexus repository URL: https://oss.sonatype.org/service/local
[info] sonatypeProfileName = com.github.pathikrit
[info] Reading staging repository profiles...
[info] Reading staging profiles...
[info] Closing staging repository [comgithubpathikrit-1045] status:open, profile:com.github.pathikrit(3ce6558c41fb47) description: Implicitly created (auto staging).
[info] Activity open started:2018-07-19T19:59:57.116Z, stopped:2018-07-19T20:00:04.197Z
[info] repositoryCreated: id:comgithubpathikrit-1045, user:pathikrit, ip:38.125.162.165
[info] Activity close started:2018-07-19T20:01:29.188Z, stopped:2018-07-19T20:01:53.739Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (48fb4a38145efed7) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T20:17:08.278Z, stopped:2018-07-19T20:19:03.516Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (48fb4a38145efed7) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T21:23:18.003Z, stopped:2018-07-19T21:23:54.750Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (48fb4a38145efed7) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T22:00:37.521Z, stopped:2018-07-19T22:01:34.028Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (48fb4a38145efed7) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T22:12:14.160Z, stopped:2018-07-19T22:12:42.249Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (dbe44cf5bac37b7e) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T22:28:06.155Z, stopped:2018-07-19T22:28:34.071Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (800be7bf8a863023) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T22:33:24.787Z, stopped:2018-07-19T22:35:08.982Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (800be7bf8a863023) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T22:35:30.600Z, stopped:2018-07-19T22:36:01.750Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (800be7bf8a863023) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T23:56:30.507Z, stopped:2018-07-19T23:57:24.229Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (dbe44cf5bac37b7e) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[error] Failed to close the repository
[error] Activity close started:2018-07-19T23:56:30.507Z, stopped:2018-07-19T23:57:24.229Z
[error]     Failed: signature-staging, failureMessage:No public key: Key with id: (dbe44cf5bac37b7e) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[error] java.lang.Exception: Failed to close the repository
[error]         at xerial.sbt.Sonatype$NexusRESTService.closeStage(Sonatype.scala:762)
[error]         at xerial.sbt.Sonatype$NexusRESTService.closeAndPromote(Sonatype.scala:854)
[error]         at xerial.sbt.Sonatype$SonatypeCommand$.$anonfun$sonatypeReleaseAll$2(Sonatype.scala:279)
[error]         at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
[error]         at scala.collection.immutable.List.foreach(List.scala:389)
[error]         at scala.collection.TraversableLike.map(TraversableLike.scala:234)
[error]         at scala.collection.TraversableLike.map$(TraversableLike.scala:227)
[error]         at scala.collection.immutable.List.map(List.scala:295)
[error]         at xerial.sbt.Sonatype$SonatypeCommand$.$anonfun$sonatypeReleaseAll$1(Sonatype.scala:278)
[error]         at sbt.Command$.$anonfun$applyEffect$4(Command.scala:134)
[error]         at sbt.Command$.$anonfun$applyEffect$2(Command.scala:130)
[error]         at sbtrelease.ReleasePlugin$autoImport$.$anonfun$releaseStepCommand$2(ReleasePlugin.scala:93)
[error]         at sbtrelease.ReleasePlugin$autoImport$ReleaseKeys$.filterFailure$1(ReleasePlugin.scala:175)
[error]         at sbtrelease.ReleasePlugin$autoImport$ReleaseKeys$.$anonfun$releaseCommand$9(ReleasePlugin.scala:193)
[error]         at scala.Function$.$anonfun$chain$2(Function.scala:24)
[error]         at scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:122)
[error]         at scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:118)
[error]         at scala.collection.immutable.List.foldLeft(List.scala:86)
[error]         at scala.collection.TraversableOnce.$div$colon(TraversableOnce.scala:151)
[error]         at scala.collection.TraversableOnce.$div$colon$(TraversableOnce.scala:151)
[error]         at scala.collection.AbstractTraversable.$div$colon(Traversable.scala:104)
[error]         at scala.Function$.$anonfun$chain$1(Function.scala:24)
[error]         at sbtrelease.ReleasePlugin$autoImport$ReleaseKeys$.$anonfun$releaseCommand$2(ReleasePlugin.scala:199)
[error]         at sbt.Command$.$anonfun$applyEffect$4(Command.scala:134)
[error]         at sbt.Command$.$anonfun$applyEffect$2(Command.scala:130)
[error]         at sbt.MainLoop$.processCommand(MainLoop.scala:154)
[error]         at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:137)
[error]         at sbt.State$$anon$1.runCmd$1(State.scala:242)
[error]         at sbt.State$$anon$1.process(State.scala:248)
[error]         at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:137)
[error]         at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error]         at sbt.MainLoop$.next(MainLoop.scala:137)
[error]         at sbt.MainLoop$.run(MainLoop.scala:130)
[error]         at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:108)
[error]         at sbt.io.Using.apply(Using.scala:22)
[error]         at sbt.MainLoop$.runWithNewLog(MainLoop.scala:102)
[error]         at sbt.MainLoop$.runAndClearLast(MainLoop.scala:58)
[error]         at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:43)
[error]         at sbt.MainLoop$.runLogged(MainLoop.scala:35)
[error]         at sbt.StandardMain$.runManaged(Main.scala:113)
[error]         at sbt.xMain.run(Main.scala:76)
[error]         at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[error]         at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[error]         at xsbt.boot.Launch$.run(Launch.scala:109)
[error]         at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[error]         at xsbt.boot.Launch$.launch(Launch.scala:117)
[error]         at xsbt.boot.Launch$.apply(Launch.scala:18)
[error]         at xsbt.boot.Boot$.runImpl(Boot.scala:56)
[error]         at xsbt.boot.Boot$.main(Boot.scala:18)
[error]         at xsbt.boot.Boot.main(Boot.scala)
[error] java.lang.Exception: Failed to close the repository
[error] Use 'last' for the full log.
@pathikrit
Copy link
Author

pathikrit commented Jul 22, 2018

I tried this with sbt-pgp and still does not work on better-files.

Step 1: Generate keys

> sbt
[info] Loading settings from plugins.sbt ...
[info] Loading project definition from /Users/pathikrit/workspace/better-files/project
[info] Loading settings from version.sbt,build.sbt ...
[info] Set current project to better-files-root (in build file:/Users/pathikrit/workspace/better-files/)
[info] sbt server started at local:///Users/pathikrit/.sbt/1.0/server/676776634e05fbf7bdba/sock

sbt:better-files-root> pgp-cmd gen-key
[error] java.lang.RuntimeException: Cannot modify keyrings when in read-only mode.  Run `set pgpReadOnly := false` before running this command.
[error]         at scala.sys.package$.error(package.scala:27)
[error]         at com.typesafe.sbt.pgp.PgpSettings$.$anonfun$pgpCommand$2(PgpSettings.scala:43)
[error]         at sbt.Command$.$anonfun$applyEffect$4(Command.scala:134)
[error]         at sbt.Command$.$anonfun$applyEffect$2(Command.scala:130)
[error]         at sbt.MainLoop$.processCommand(MainLoop.scala:154)
[error]         at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:137)
[error]         at sbt.State$$anon$1.runCmd$1(State.scala:242)
[error]         at sbt.State$$anon$1.process(State.scala:248)
[error]         at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:137)
[error]         at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error]         at sbt.MainLoop$.next(MainLoop.scala:137)
[error]         at sbt.MainLoop$.run(MainLoop.scala:130)
[error]         at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:108)
[error]         at sbt.io.Using.apply(Using.scala:22)
[error]         at sbt.MainLoop$.runWithNewLog(MainLoop.scala:102)
[error]         at sbt.MainLoop$.runAndClearLast(MainLoop.scala:58)
[error]         at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:43)
[error]         at sbt.MainLoop$.runLogged(MainLoop.scala:35)
[error]         at sbt.StandardMain$.runManaged(Main.scala:113)
[error]         at sbt.xMain.run(Main.scala:76)
[error]         at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[error]         at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[error]         at xsbt.boot.Launch$.run(Launch.scala:109)
[error]         at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[error]         at xsbt.boot.Launch$.launch(Launch.scala:117)
[error]         at xsbt.boot.Launch$.apply(Launch.scala:18)
[error]         at xsbt.boot.Boot$.runImpl(Boot.scala:56)
[error]         at xsbt.boot.Boot$.main(Boot.scala:18)
[error]         at xsbt.boot.Boot.main(Boot.scala)
[error] Cannot modify keyrings when in read-only mode.  Run `set pgpReadOnly := false` before running this command.
[error] Use 'last' for the full log.

sbt:better-files-root> set pgpReadOnly := false
[info] Defining Global / pgpReadOnly
[info] The new value will be used by no settings or tasks.
[info] Reapplying settings...
[info] Set current project to better-files-root (in build file:/Users/pathikrit/workspace/better-files/)

sbt:better-files-root> pgp-cmd gen-key
Please enter the name associated with the key: Pathikrit Bhowmick
Please enter the email associated with the key: [email protected]
Please enter the passphrase for the key: *********
Please re-enter the passphrase for the key: *********
[info] Creating a new PGP key, this could take a long time.
[info] Public key := /Users/pathikrit/.sbt/gpg/pubring.asc
[info] Secret key := /Users/pathikrit/.sbt/gpg/secring.asc
[info] Please do not share your secret key.   Your public key is free to share.

Step 2: Release keys

sbt:better-files-root> pgp-cmd send-key [email protected] hkp://pool.sks-keyservers.net
[info] Sending PublicKeyRing(PublicKey(27dfe5f26bf754dc, Pathikrit Bhowmick <[email protected]>, RSA@2048)) to HkpServer(http://pool.sks-keyservers.net:11371)

sbt:better-files-root> pgp-cmd send-key [email protected] hkp://keyserver.ubuntu.com
[info] Sending PublicKeyRing(PublicKey(27dfe5f26bf754dc, Pathikrit Bhowmick <[email protected]>, RSA@2048)) to HkpServer(http://keyserver.ubuntu.com:11371)

Step 3: Run release command

sbt:better-files-root> +release
[info] Forcing Scala version to 2.11.12 on all projects.
[info] Reapplying settings...
[info] Set current project to better-files-root (in build file:/Users/pathikrit/workspace/better-files/)
[info] Starting release process off commit: 7db21fb793ebb2471983f908f9c6e99dcb7d45f6
[info] Checking remote [origin] ...
[info] Updating ...
[info] Updating core...
[info] downloading https://repo1.maven.org/maven2/org/scala-lang/modules/scala-xml_2.11/1.0.6/scala-xml_2.11-1.0.6.jar ...
[info] downloading https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.11.12/scala-compiler-2.11.12.jar ...
[info] downloading https://repo1.maven.org/maven2/org/scalatest/scalatest_2.11/3.0.5/scalatest_2.11-3.0.5.jar ...
[info] downloading https://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.11.12/scala-reflect-2.11.12.jar ...
[info] downloading https://repo1.maven.org/maven2/com/chuusai/shapeless_2.11/2.3.3/shapeless_2.11-2.3.3.jar ...
[info] downloading https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar ...
[info] downloading https://repo1.maven.org/maven2/org/scala-lang/modules/scala-xml_2.11/1.0.5/scala-xml_2.11-1.0.5.jar ...
[info] downloading https://repo1.maven.org/maven2/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.4/scala-parser-combinators_2.11-1.0.4.jar ...
[info] downloading https://repo1.maven.org/maven2/org/typelevel/macro-compat_2.11/1.1.1/macro-compat_2.11-1.1.1.jar ...
[info] downloading https://repo1.maven.org/maven2/jline/jline/2.14.3/jline-2.14.3.jar ...
[info] downloading https://repo1.maven.org/maven2/org/scalactic/scalactic_2.11/3.0.5/scalactic_2.11-3.0.5.jar ...
[info]  [SUCCESSFUL ] org.typelevel#macro-compat_2.11;1.1.1!macro-compat_2.11.jar (261ms)
[info]  [SUCCESSFUL ] jline#jline;2.14.3!jline.jar (619ms)
[info]  [SUCCESSFUL ] org.scala-lang.modules#scala-xml_2.11;1.0.6!scala-xml_2.11.jar(bundle) (692ms)
[info]  [SUCCESSFUL ] org.scala-lang.modules#scala-xml_2.11;1.0.5!scala-xml_2.11.jar(bundle) (691ms)
[info]  [SUCCESSFUL ] org.scala-lang.modules#scala-parser-combinators_2.11;1.0.4!scala-parser-combinators_2.11.jar(bundle) (983ms)
[info]  [SUCCESSFUL ] org.scalactic#scalactic_2.11;3.0.5!scalactic_2.11.jar(bundle) (1003ms)
[info]  [SUCCESSFUL ] com.chuusai#shapeless_2.11;2.3.3!shapeless_2.11.jar(bundle) (2186ms)
[info]  [SUCCESSFUL ] org.scala-lang#scala-library;2.11.12!scala-library.jar (2232ms)
[info]  [SUCCESSFUL ] org.scala-lang#scala-reflect;2.11.12!scala-reflect.jar (2289ms)
[info]  [SUCCESSFUL ] org.scalatest#scalatest_2.11;3.0.5!scalatest_2.11.jar(bundle) (3777ms)
[info]  [SUCCESSFUL ] org.scala-lang#scala-compiler;2.11.12!scala-compiler.jar (4324ms)
[info] Done updating.
[info] Updating akka...
[info] Done updating.
[info] downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-actor_2.11/2.5.13/akka-actor_2.11-2.5.13.jar ...
[info] downloading https://repo1.maven.org/maven2/org/scala-lang/modules/scala-java8-compat_2.11/0.7.0/scala-java8-compat_2.11-0.7.0.jar ...
[info]  [SUCCESSFUL ] org.scala-lang.modules#scala-java8-compat_2.11;0.7.0!scala-java8-compat_2.11.jar(bundle) (164ms)
[info]  [SUCCESSFUL ] com.typesafe.akka#akka-actor_2.11;2.5.13!akka-actor_2.11.jar (306ms)
[info] Done updating.
Release version [3.6.0] :
Next version [3.6.1-SNAPSHOT] :
[info] Setting version to '3.6.0'.
[info] Reapplying settings...
[info] Set current project to better-files-root (in build file:/Users/pathikrit/workspace/better-files/)
[info] Reapplying settings...
[info] Set current project to better-files-root (in build file:/Users/pathikrit/workspace/better-files/)
[info] Reapplying settings...
[info] Set current project to better-files-root (in build file:/Users/pathikrit/workspace/better-files/)
[info] Packaging /Users/pathikrit/workspace/better-files/core/target/scala-2.11/better-files_2.11-3.6.0-sources.jar ...
[info] Packaging /Users/pathikrit/workspace/better-files/akka/target/scala-2.11/better-files-akka_2.11-3.6.0-sources.jar ...
[info] Done packaging.
[info] Done packaging.
[info] Main Scala API documentation to /Users/pathikrit/workspace/better-files/core/target/scala-2.11/api...
[info] Wrote /Users/pathikrit/workspace/better-files/core/target/scala-2.11/better-files_2.11-3.6.0.pom
[info] Wrote /Users/pathikrit/workspace/better-files/akka/target/scala-2.11/better-files-akka_2.11-3.6.0.pom
[info] Main Scala API documentation to /Users/pathikrit/workspace/better-files/akka/target/scala-2.11/api...
[info] Packaging /Users/pathikrit/workspace/better-files/akka/target/scala-2.11/better-files-akka_2.11-3.6.0.jar ...
[info] Done packaging.
[info] Packaging /Users/pathikrit/workspace/better-files/core/target/scala-2.11/better-files_2.11-3.6.0.jar ...
[info] Done packaging.
model contains 11 documentable templates
[info] Main Scala API documentation successful.
[info] Packaging /Users/pathikrit/workspace/better-files/akka/target/scala-2.11/better-files-akka_2.11-3.6.0-javadoc.jar ...
[info] Done packaging.
Please enter PGP passphrase (or ENTER to abort): *********
model contains 72 documentable templates
[error] Unable to find credentials for [Sonatype Nexus Repository Manager @ oss.sonatype.org].
[info] Main Scala API documentation successful.
[info] Packaging /Users/pathikrit/workspace/better-files/core/target/scala-2.11/better-files_2.11-3.6.0-javadoc.jar ...
[info] Done packaging. model contains 11 documentable templates
[info] Main Scala API documentation successful.
[info] Packaging /Users/pathikrit/workspace/better-files/akka/target/scala-2.11/better-files-akka_2.11-3.6.0-javadoc.jar ...
[info] Done packaging.
Please enter PGP passphrase (or ENTER to abort): *********
model contains 72 documentable templates
[info] Main Scala API documentation successful.
[info] Packaging /Users/pathikrit/workspace/better-files/core/target/scala-2.11/better-files_2.11-3.6.0-javadoc.jar ...
[info] Done packaging.
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0-sources.jar.asc
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0-javadoc.jar
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0.jar.asc
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0-javadoc.jar.asc
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0.pom.asc
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0.pom
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0-sources.jar
[info]  published better-files-akka_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files-akka_2.11/3.6.0/better-files-akka_2.11-3.6.0.jar
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0.jar.asc
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0.pom.asc
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0-javadoc.jar
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0-sources.jar.asc
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0-javadoc.jar.asc
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0-sources.jar
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0.jar
[info]  published better-files_2.11 to https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/pathikrit/better-files_2.11/3.6.0/better-files_2.11-3.6.0.pom
[success] Total time: 23 s, completed Jul 22, 2018 11:36:28 AM
[info] Setting version to '3.6.1-SNAPSHOT'.
[info] Reapplying settings...
[info] Set current project to better-files-root (in build file:/Users/pathikrit/workspace/better-files/)
[info] [master e12f579] Setting version to 3.6.1-SNAPSHOT
[info]  1 file changed, 1 insertion(+), 1 deletion(-)
[info] Nexus repository URL: https://oss.sonatype.org/service/local
[info] sonatypeProfileName = com.github.pathikrit
[info] Reading staging repository profiles...
[info] Reading staging profiles...
[info] Closing staging repository [comgithubpathikrit-1045] status:open, profile:com.github.pathikrit(3ce6558c41fb47) description: Implicitly created (auto staging).
[info] Activity open started:2018-07-19T19:59:57.116Z, stopped:2018-07-19T20:00:04.197Z
[info] repositoryCreated: id:comgithubpathikrit-1045, user:pathikrit, ip:38.125.162.165
[info] Activity close started:2018-07-19T20:01:29.188Z, stopped:2018-07-19T20:01:53.739Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (48fb4a38145efed7) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T20:17:08.278Z, stopped:2018-07-19T20:19:03.516Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (48fb4a38145efed7) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T21:23:18.003Z, stopped:2018-07-19T21:23:54.750Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (48fb4a38145efed7) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T22:00:37.521Z, stopped:2018-07-19T22:01:34.028Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (48fb4a38145efed7) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T22:12:14.160Z, stopped:2018-07-19T22:12:42.249Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (dbe44cf5bac37b7e) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T22:28:06.155Z, stopped:2018-07-19T22:28:34.071Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (800be7bf8a863023) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T22:33:24.787Z, stopped:2018-07-19T22:35:08.982Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (800be7bf8a863023) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T22:35:30.600Z, stopped:2018-07-19T22:36:01.750Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (800be7bf8a863023) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-19T23:56:30.507Z, stopped:2018-07-19T23:57:24.229Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (dbe44cf5bac37b7e) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-20T00:05:25.838Z, stopped:2018-07-20T00:06:51.588Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (dbe44cf5bac37b7e) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-20T01:18:56.952Z, stopped:2018-07-20T01:20:14.920Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (3203329e3f571131) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-20T01:31:51.669Z, stopped:2018-07-20T01:32:34.830Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (3203329e3f571131) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-20T01:36:49.254Z, stopped:2018-07-20T01:38:56.063Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (3203329e3f571131) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-20T12:52:53.504Z, stopped:2018-07-20T12:54:05.016Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (48fb4a38145efed7) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[info] Activity close started:2018-07-20T14:41:07.942Z, stopped:2018-07-20T14:44:21.132Z
[info]   Evaluate: id:5e9e8e6f8d20a3, rule:sources-staging
[info]   Evaluate: pom-staging
[info]     Passed: pom-staging
[info]   Evaluate: no-traversal-paths-in-archive-file
[info]     Passed: no-traversal-paths-in-archive-file
[info]   Evaluate: checksum-staging
[info]     Passed: checksum-staging
[info]   Evaluate: signature-staging
[info]     Failed: signature-staging, failureMessage:No public key: Key with id: (48fb4a38145efed7) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.
[info]   Evaluate: javadoc-staging
[info]     Passed: javadoc-staging
[info]   Evaluate: sources-staging
[info]     Passed: sources-staging
[info]     Failed: id:5e9e8e6f8d20a3, failureCount:1
[info] repositoryCloseFailed: id:comgithubpathikrit-1045, cause:com.sonatype.nexus.staging.StagingRulesFailedException: One or more rules have failed
[error] Failed to close the repository
[error] Activity close started:2018-07-20T14:41:07.942Z, stopped:2018-07-20T14:44:21.132Z
[error]     Failed: signature-staging, failureMessage:No public key: Key with id: (48fb4a38145efed7) was not able to be located on <a href="http://keyserver.ubuntu.com:11371/">http://keyserver.ubuntu.com:11371/</a>. Uploadyour public key and try the operation again.
[error] java.lang.Exception: Failed to close the repository
[error]         at xerial.sbt.Sonatype$NexusRESTService.closeStage(Sonatype.scala:762)
[error]         at xerial.sbt.Sonatype$NexusRESTService.closeAndPromote(Sonatype.scala:854)
[error]         at xerial.sbt.Sonatype$SonatypeCommand$.$anonfun$sonatypeReleaseAll$2(Sonatype.scala:279)
[error]         at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
[error]         at scala.collection.immutable.List.foreach(List.scala:389)
[error]         at scala.collection.TraversableLike.map(TraversableLike.scala:234)
[error]         at scala.collection.TraversableLike.map$(TraversableLike.scala:227)
[error]         at scala.collection.immutable.List.map(List.scala:295)
[error]         at xerial.sbt.Sonatype$SonatypeCommand$.$anonfun$sonatypeReleaseAll$1(Sonatype.scala:278)
[error]         at sbt.Command$.$anonfun$applyEffect$4(Command.scala:134)
[error]         at sbt.Command$.$anonfun$applyEffect$2(Command.scala:130)
[error]         at sbtrelease.ReleasePlugin$autoImport$.$anonfun$releaseStepCommand$2(ReleasePlugin.scala:93)
[error]         at sbtrelease.ReleasePlugin$autoImport$ReleaseKeys$.filterFailure$1(ReleasePlugin.scala:175)
[error]         at sbtrelease.ReleasePlugin$autoImport$ReleaseKeys$.$anonfun$releaseCommand$9(ReleasePlugin.scala:193)
[error]         at scala.Function$.$anonfun$chain$2(Function.scala:24)
[error]         at scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:122)
[error]         at scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:118)
[error]         at scala.collection.immutable.List.foldLeft(List.scala:86)
[error]         at scala.collection.TraversableOnce.$div$colon(TraversableOnce.scala:151)
[error]         at scala.collection.TraversableOnce.$div$colon$(TraversableOnce.scala:151)
[error]         at scala.collection.AbstractTraversable.$div$colon(Traversable.scala:104)
[error]         at scala.Function$.$anonfun$chain$1(Function.scala:24)
[error]         at sbtrelease.ReleasePlugin$autoImport$ReleaseKeys$.$anonfun$releaseCommand$2(ReleasePlugin.scala:199)
[error]         at sbt.Command$.$anonfun$applyEffect$4(Command.scala:134)
[error]         at sbt.Command$.$anonfun$applyEffect$2(Command.scala:130)
[error]         at sbt.MainLoop$.processCommand(MainLoop.scala:154)
[error]         at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:137)
[error]         at sbt.State$$anon$1.runCmd$1(State.scala:242)
[error]         at sbt.State$$anon$1.process(State.scala:248)
[error]         at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:137)
[error]         at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error]         at sbt.MainLoop$.next(MainLoop.scala:137)
[error]         at sbt.MainLoop$.run(MainLoop.scala:130)
[error]         at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:108)
[error]         at sbt.io.Using.apply(Using.scala:22)
[error]         at sbt.MainLoop$.runWithNewLog(MainLoop.scala:102)
[error]         at sbt.MainLoop$.runAndClearLast(MainLoop.scala:58)
[error]         at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:43)
[error]         at sbt.MainLoop$.runLogged(MainLoop.scala:35)
[error]         at sbt.StandardMain$.runManaged(Main.scala:113)
[error]         at sbt.xMain.run(Main.scala:76)
[error]         at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[error]         at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[error]         at xsbt.boot.Launch$.run(Launch.scala:109)
[error]         at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[error]         at xsbt.boot.Launch$.launch(Launch.scala:117)
[error]         at xsbt.boot.Launch$.apply(Launch.scala:18)
[error]         at xsbt.boot.Boot$.runImpl(Boot.scala:56)
[error]         at xsbt.boot.Boot$.main(Boot.scala:18)
[error]         at xsbt.boot.Boot.main(Boot.scala)
[error] java.lang.Exception: Failed to close the repository
[error] Use 'last' for the full log.
sbt:better-files-root>

Please advise what am I doing wrong? This used to work before I upgraded to sbt 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant