mesosphere / marathon

Deploy and manage containers (including Docker) on top of Apache Mesos at scale.
https://mesosphere.github.io/marathon/
Apache License 2.0
4.07k stars 845 forks source link

sbt.librarymanagement.ResolveException: Error downloading org.apache.mesos:mesos:1.11.0-SNAPSHOT #7264

Open f1-outsourcing opened 3 years ago

f1-outsourcing commented 3 years ago

I can build 1.10 like this, but the 1.11 comes with this error download pom file.

git checkout releases/1.11
sbt compile

download error: Caught java.io.IOException: Server returned HTTP response code: 403 for URL: https://downloads.mesosphere.com/maven-snapshot/org/apache/mesos/mesos/1.11.0-SNAPSHOT/mesos-1.11.0-SNAPSHOT.pom (Server returned HTTP response code: 403 for URL: https://downloads.mesosphere.com/maven-snapshot/org/apache/mesos/mesos/1.11.0-SNAPSHOT/mesos-1.11.0-SNAPSHOT.pom) while downloading https://downloads.mesosphere.com/maven-snapshot/org/apache/mesos/mesos/1.11.0-SNAPSHOT/mesos-1.11.0-SNAPSHOT.pom

meichstedt commented 3 years ago

@f1-outsourcing I don't see a tag for a 1.11 version so assume you're on unsupported territory :)

the 1.11 release branch depends on Mesos 1.11.0-SNAPSHOT and since that's a snapshot from half a year ago, it might have been deleted.

If you want to build from that branch you can try changing that line to

val Mesos = "1.11.0"

that should resolve and compile, but there might be dragons down the road 🐉

f1-outsourcing commented 3 years ago

Thanks! I fear the source needs to be adapted to have mvp csi support work with plugin secrets. FYI I have extracted marathon from the docker image as you suggested earlier, but I noticed that there is also still a 11.0-snapshot, while the plugin interface is 11.24.

[@test2 image-marathon]# tar -tzvf marathon.tgz| grep -i mesos
-rw-r--r--     49749 2020-10-29 13:41 ./lib/com.mesosphere.usi.commons_2.13-0.1.58.jar
-rw-r--r--    3498943 2020-10-29 13:41 ./lib/mesosphere.marathon.api-console-3.0.8-accept.jar
-rw-r--r--   15299240 2020-10-29 13:41 ./lib/mesosphere.marathon.marathon-1.11.24.jar
-rw-r--r--      79627 2020-10-29 13:41 ./lib/mesosphere.marathon.plugin-interface-1.11.24.jar
-rw-r--r-- 1227630 2020-10-29 13:41 ./lib/mesosphere.marathon.ui-1.3.2.jar
-rw-r--r--    7601964 2020-10-29 13:41 ./lib/org.apache.mesos.mesos-1.11.0-SNAPSHOT.jar