Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3655

Missing bson-scala dependency for driver version 4

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • None
    • 4.0.1
    • Scala
    • None

    Description

      Affecting version 4.0.0 still works for v2.8.0

      These exist:
      https://repo1.maven.org/maven2/org/mongodb/scala/mongo-scala-bson_2.13/4.0.0/mongo-scala-bson_2.13-4.0.0.pom

      https://repo1.maven.org/maven2/org/mongodb/bson/4.0.0/bson-4.0.0.pom

      But failed trying to find (new one?):
      https://repo1.maven.org/maven2/org/mongodb/scala/bson-scala_2.13/4.0.0/bson-scala_2.13-4.0.0.pom

      https://repo1.maven.org/maven2/org/mongodb/mongodb-driver-sync/4.0.0/mongodb-driver-sync-4.0.0.pom
        100.0% [##########] 1.6 KiB (1.8 KiB / s)
      [info] Resolved  dependencies
      [warn] 
      [warn] 	Note: Unresolved dependencies path:
      [error] sbt.librarymanagement.ResolveException: Error downloading org.mongodb.scala:bson-scala_2.12:4.0.0
      [error]   Not found
      [error]   Not found
      [error]   not found: /home/ubuntu/.ivy2/local/org.mongodb.scala/bson-scala_2.12/4.0.0/ivys/ivy.xml
      [error]   not found: https://repo1.maven.org/maven2/org/mongodb/scala/bson-scala_2.12/4.0.0/bson-scala_2.12-4.0.0.pom
      [error] 	at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:245)
      [error] 	at lmcoursier.CoursierDependencyResolution.$anonfun$update$34(CoursierDependencyResolution.scala:214)
      [error] 	at scala.util.Either$LeftProjection.map(Either.scala:573)
      [error] 	at lmcoursier.CoursierDependencyResolution.update(CoursierDependencyResolution.scala:214)
      [error] 	at sbt.librarymanagement.DependencyResolution.update(DependencyResolution.scala:60)
      [error] 	at sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:52)
      [error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:102)
      [error] 	at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:69)
      [error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$20(LibraryManagement.scala:115)
      [error] 	at scala.util.control.Exception$Catch.apply(Exception.scala:228)
      [error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:115)
      [error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:96)
      [error] 	at sbt.util.Tracked$.$anonfun$inputChanged$1(Tracked.scala:150)
      [error] 	at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:129)
      [error] 	at sbt.Classpaths$.$anonfun$updateTask0$5(Defaults.scala:2946)
      [error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
      [error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
      [error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:67)
      [error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:281)
      [error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19)
      [error] 	at sbt.Execute.work(Execute.scala:290)
      [error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:281)
      [error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
      [error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
      [error] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      [error] 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      [error] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      [error] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      [error] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      [error] 	at java.base/java.lang.Thread.run(Thread.java:834)
      [error] (update) sbt.librarymanagement.ResolveException: Error downloading org.mongodb.scala:bson-scala_2.12:4.0.0
      [error]   Not found
      [error]   Not found
      [error]   not found: /home/ubuntu/.ivy2/local/org.mongodb.scala/bson-scala_2.12/4.0.0/ivys/ivy.xml
      [error]   not found: https://repo1.maven.org/maven2/org/mongodb/scala/bson-scala_2.12/4.0.0/bson-scala_2.12-4.0.0.pom
      [error] Total time: 4 s, completed Mar 9, 2020, 10:52:47 PM
      

      Attachments

        Activity

          People

            ross@mongodb.com Ross Lawley
            wan.bachtiar@mongodb.com Wan Bachtiar
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: