These are chat archives for sbt/sbt

5th
Sep 2015
Jon Pretty
@propensive
Sep 05 2015 13:44

I've still not managed to successfully publish to Sonatype using SBT, but I've made progress, thanks to 0.13.9... (Previously I was getting out-of-memory errors when trying to publish, but not with ordinary builds). This has all been with a build script @InTheNow created for me, which specifies a releaseProcess, but appears to fail on ReleaseStep(action = Command.process("sonatypeReleaseAll", _)) with the error:

[error] Not a valid command: sonatypeReleaseAll
[error] Not a valid project ID: sonatypeReleaseAll
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: sonatypeReleaseAll
[error] sonatypeReleaseAll
[error]                   ^

Any ideas what this could be? As far as I can tell, there are no relevant warnings earlier in the build. Incidentally, the publishArtifacts action in the releaseProcess appears to have completed successfully.

Dale Wijnand
@dwijnand
Sep 05 2015 13:53
sonatypeReleaseAll is a command of https://github.com/xerial/sbt-sonatype, which it looks like you're not declaring: https://github.com/propensive/rapture/blob/dev/project/plugins.sbt
Jon Pretty
@propensive
Sep 05 2015 13:53
Ah, ok... Thanks for digging around to find that!
Jon Pretty
@propensive
Sep 05 2015 14:42
@dwijnand Thanks, that progressed further, though it appears not to be sending javadocs: Failed: javadoc-staging, failureMessage:Missing: no javadoc jar found in folder '/com/propensive/rapture-net_2.11/2.0.0-M1' -- Google seems to think that @non is the only person to have ever talked about this problem, though. Not clear how he fixed it, though...
Not particularly surprising, as I think the Rapture build script is based on the Cats one...
Jon Pretty
@propensive
Sep 05 2015 15:04
No worries, I think I've solved it.
Jon Pretty
@propensive
Sep 05 2015 15:27
Looks like that actually worked. I'm in disbelief.
Dale Wijnand
@dwijnand
Sep 05 2015 15:27
sometimes miracles happen https://xkcd.com/1319/
I want to you to bask in this glorious moment, but if you ever get interested Bintray is even easier/faster
Jon Pretty
@propensive
Sep 05 2015 15:34
Hehe! Thanks!
There's an element of "if it ain't broke don't fix it" here, and a particularly high bar for "broke"... ;)
Dale Wijnand
@dwijnand
Sep 05 2015 15:36
or low bar depending on your point of view :P
InTheNow
@InTheNow
Sep 05 2015 16:09
@propensive nice! scala-js/scala, 2.10/2.11, snapshot/git snapshot