Skip to content

Commit

Permalink
Use local maven repository
Browse files Browse the repository at this point in the history
It contains mirror of few missing dependencies whose repositories don't
exist anymore

JIRA: MESOS-5770
  • Loading branch information
Lqp1 committed Nov 24, 2023
1 parent 02137d3 commit ac73850
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ import sbtprotobuf.ProtobufPlugin
import scalariform.formatter.preferences._

credentials ++= loadM2Credentials(streams.value.log)
credentials += Credentials(
"GitHub Package Registry",
"maven.pkg.github.com",
"criteo-forks",
sys.env.get("GITHUB_TOKEN").get
)
resolvers ++= loadM2Resolvers(sLog.value)

resolvers += Resolver.sonatypeRepo("snapshots")
Expand Down Expand Up @@ -111,8 +117,7 @@ lazy val commonSettings = Seq(
Resolver.JCenterRepository,
"Typesafe Releases" at "https://repo.typesafe.com/typesafe/releases/",
"Apache Shapshots" at "https://repository.apache.org/content/repositories/snapshots/",
"Mesosphere Public Repo" at "https://downloads.mesosphere.com/maven",
"Mesosphere Snapshot Repo" at "https://downloads.mesosphere.com/maven-snapshot"
"Criteo Forks Marathon" at "https://maven.pkg.github.com/criteo-forks/marathon/"
),
cancelable in Global := true,
publishTo := Some(s3resolver.value(
Expand Down

0 comments on commit ac73850

Please sign in to comment.