mdedetrich/soda-time

Unresolved dependency

Closed this issue · 4 comments

In my build.sbt:

  libraryDependencies ++= Seq(
    "org.scala-js" %%% "scalajs-dom" % "0.8.1",
    "org.mdedetrich" %%% "soda-time" % "0.0.1-SNAPSHOT"
  )

But then trying to build (fastOptJS) got:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.mdedetrich#soda-time_sjs0.6_2.11;0.0.1-SNAPSHOT: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::

Just had a look at maven, and this is the repository listing

<dependency>
  <groupId>org.mdedetrich</groupId>
  <artifactId>soda-time_sjs0.6_2.11</artifactId>
  <version>0.0.1-SNAPSHOT</version>
</dependency>

Maybe you need to explicitly add the Sonatype Snapshots repository

I just tried this:

resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

, at the top of the build.sbt file, but no luck. Will try again next week...

I got it compiling this time. Here's the snippet:

).jsSettings(
  name := "Client",
  resolvers ++= Seq(
    Resolver.sonatypeRepo("public")
  ),
  libraryDependencies ++= Seq(
    "org.scala-js" %%% "scalajs-dom" % "0.8.1",
    "org.mdedetrich" %%% "soda-time" % "0.0.1-SNAPSHOT"
  )
)

would be good to mention this in the README.md