dwijnand / sbt-extras

A more featureful runner for sbt, the simple/scala/standard build tool
Other
912 stars 171 forks source link

repo.typesafe.com down: Invalid or corrupt jarfile #359

Closed twinkelmann closed 1 year ago

twinkelmann commented 1 year ago

Hi,

We include this tool in our build configuration. Since today, the build fails with the following error:

Downloading sbt launcher for 0.13.18:
  From  https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.18/sbt-launch.jar
    To  /root/.sbt/launchers/0.13.18/sbt-launch.jar

Error: Invalid or corrupt jarfile /root/.sbt/launchers/0.13.18/sbt-launch.jar

Upon inspection, this error comes from your script. And it appears to be because the repo URL (https://repo.typesafe.com) is no longer valid. Seeing as it is hard coded in your tool, I wonder if there is any hope to find an alternative.

We are in the process of migrating our Scala backend to Java, but it's not done yet, and we still need the Scala build in the meantime. Right now, we cannot even work on the project, but thankfully the deployed version still works

twinkelmann commented 1 year ago

Testing again today, the repository https://repo.typesafe.com/typesafe/ivy-releases/ now redirects to https://scala.jfrog.io/ui/native/ivy-releases/ therefore working again as expected.

Let's hope it keeps working until we remove Scala from our project...

SethTisue commented 1 year ago

see sbt/sbt#7202 for details on what happened