Reputation: 16387
My build.sbt has the following:
publishMavenStyle := false
publishArtifact in Test := false
publishTo := {
Some(
Resolver.url(
"sbt-plugin-releases",
new URL("http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/")
)(Resolver.ivyStylePatterns)
)
}
But when trying sbt publish or sbt publishSigned I get a 405 error:
java.io.IOException: PUT operation to URL http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.sksamuel.scoverage/sbt-scoverage/scala_2.10/sbt_0.13/0.95.0/jars/sbt-scoverage.jar failed with status code 405: Method Not Allowed
My credentials are valid. They worked in the past and I've just double checked them.
Any ideas?
UPDATE:
Updated the build to use https fixed it. Also I tried using bintray and that works too.
Upvotes: 1
Views: 556
Reputation: 1206
That may have also been caused by a temporary issue on our side (bintray's). Can you try that again?
Upvotes: 1
Reputation: 95624
I think the community repo is migrating to bintray. There's an instruction already on the site:
sbt hosts their community plugin repository on Bintray. Bintray is a repository hosting site, similar to github, which allows users to contribute their own plugins, while sbt can aggregate them together in a common repository.
Upvotes: 1