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

"val lines = comments.flatMap(_.lines)" in FieldT.scala: type mismatch #7262

Open eLvErDe opened 3 years ago

eLvErDe commented 3 years ago

Hello,

Most of the version fails to build with the following error:

[error] /home/acecile/packaging/marathon/marathon-1.9.109/build/type-generator/src/main/scala/mesosphere/raml/ir/FieldT.scala:76:36: type mismatch;
[error]  found   : java.util.stream.Stream[String]
[error]  required: scala.collection.GenTraversableOnce[?]
[error]     val lines = comments.flatMap(_.lines)

Best regards, Adam.

f1-outsourcing commented 3 years ago

I can remember having also problems building on centos7. I decided to extract it from the docker images.