d2iq-archive / 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 843 forks source link

Cannot build, missing dependencies from downloads.mesosphere.com #7274

Open brisssou opened 1 year ago

brisssou commented 1 year ago

Hello!

Posting here as somehow Jira link does not seem to be working for me.

I'm trying to build marathon from source, at it is failing on missing dependencies that I suppose should have been hosted on

    "Mesosphere Public Repo" at "https://downloads.mesosphere.com/maven",
    "Mesosphere Snapshot Repo" at "https://downloads.mesosphere.com/maven-snapshot"

but downloads.mesosphere.com seems to be down. I found references to downloads.mesosphere.io, but down as well.

Namely, it's missing com.mesosphere.usi:test-utils:0.1.12, mesosphere.marathon:api-console:3.0.8-accept and mesosphere.marathon:ui:1.3.2.

I'll try to build those locally, but I'm not optimistic for api-console which is an npm project.

I also tried to exclude those dependencies with

val excludeApiConsole = ExclusionRule(organization = "mesosphere.marathon", name = "api-console")
val excludeTestUtils = ExclusionRule(organization = "com.mesosphere.usi", name = "test-utils")
val excludeUi = ExclusionRule(organization = "mesosphere.marathon", name = "ui")

excludeDependencies ++= Seq(
  excludeApiConsole,
  excludeTestUtils,
  excludeUi
)

at the top of the sbt file, but it does not seem to be working.

Can you please help me? Thanks!

Edit: OK, I removed said dependencies from the sbt file, now it builds, but doesn't test. And I fear runtime might be missing some much needed parts.

jeschkies commented 1 year ago

I think the projects are all open source. You could move the code of USI back into Marathon. The UI was part of the project one if I'm not mistaken. So that should work as well.

Alternatively you could add the git repos as dependencies. This is more evolved though.

miles3719 commented 1 year ago

I feel your pain, I too am trying to compile and running into the same issue. Works fine with the binary packages on Ubuntu 16.04, but I need it on 20.04 for a project im working on. Found Mesos for 20.04 but marathon just is not out there. Fun and games... minus the fun or the games!