我试图在我的scala sbt项目中使用akka-statsd-core 3。1。0作为一个附属品。
一段时间后,应用程序完全运行,突然[sbt编译]命令导致错误:
[error] download error: Caught java.io.IOException: Server returned HTTP response code: 403 for URL: http://nexus.thenewmotion.com/content/groups/public/com/newmotion/akka-statsd-core_2.12/3.1.0/akka-statsd-core_2.12-3.1.0.pom (Server returned HTTP response code: 403 for URL: http://nexus.thenewmotion.com/content/groups/public/com/newmotion/akka-statsd-core_2.12/3.1.0/akka-statsd-core_2.12-3.1.0.pom) while downloading http://nexus.thenewmotion.com/content/groups/public/com/newmotion/akka-statsd-core_2.12/3.1.0/akka-statsd-core_2.12-3.1.0.pom
我没有任何vpn的ssh隧道。
我使用相同的wifi和相同的建筑
name := """name-of-proj"""
organization := "com.org"
version := "1.0-SNAPSHOT"
lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(DockerPlugin)
scalaVersion := "2.12.8"
libraryDependencies += guice
libraryDependencies += ws
libraryDependencies += caffeine
libraryDependencies += "com.typesafe.play" %% "play-json" % "2.7.1"
libraryDependencies += "com.typesafe.slick" %% "slick-hikaricp" % "3.2.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig" % "0.10.2"
libraryDependencies += "mysql" % "mysql-connector-java" % "5.1.46"
libraryDependencies += "org.bouncycastle" % "bcprov-jdk15on" % "1.61"
libraryDependencies += "com.newmotion" %% "akka-statsd-core" % "3.1.0"
libraryDependencies += "org.mockito" % "mockito-core" % "2.24.5" % Test
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % Test
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % Test
libraryDependencies += "com.innovid" % "test-db-generator" % "0.1.+" % Test
libraryDependencies += "com.innovid" % "bb-framework-config" % "0.1.+" % Test
resolvers ++= Seq(
"Secured Central Repository" at "https://repo1.maven.org/maven2",
"Innovid Repo" at "http://artifactory.inbake.com:8081/artifactory/libs-release-local",
"TNM Public Releases" at "http://nexus.thenewmotion.com/content/groups/public"
)
如果有人知道什么能引起这种改变,我会很感激。
提前谢谢!