Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Using scalaz-plugin in sbt 1.2.x project gives unresolved dependency #74

Open
bbarker opened this issue Jun 17, 2019 · 1 comment
Open

Comments

@bbarker
Copy link

bbarker commented Jun 17, 2019

I'm not extremely certain that my issue is related to using sbt 1.2.8; but based on the error that's my best guess as I am using Scala 2.12.6 . Currently with sbt 1.2.8, I'm getting this with addSbtPlugin("org.scalaz" % "scalaz-plugin" % "0.0.7"):

[warn]  module not found: org.scalaz#scalaz-plugin;0.0.7
[warn] ==== typesafe-ivy-releases: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/org.scalaz/scalaz-plugin/scala_2.12/sbt_1.0/0.0.7/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scalaz/scalaz-plugin/scala_2.12/sbt_1.0/0.0.7/ivys/ivy.xml
[warn] ==== local: tried
[warn]   /home/brandon/.ivy2/local/org.scalaz/scalaz-plugin/scala_2.12/sbt_1.0/0.0.7/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/scalaz/scalaz-plugin_2.12_1.0/0.0.7/scalaz-plugin-0.0.7.pom
[warn] ==== local-preloaded-ivy: tried
[warn]   /home/brandon/.sbt/preloaded/org.scalaz/scalaz-plugin/0.0.7/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn]   file:////home/brandon/.sbt/preloaded/org/scalaz/scalaz-plugin_2.12_1.0/0.0.7/scalaz-plugin-0.0.7.pom
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.scalaz#scalaz-plugin;0.0.7: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn] 
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]          org.scalaz:scalaz-plugin:0.0.7 (scalaVersion=2.12, sbtVersion=1.0)
[warn] 
[warn]  Note: Unresolved dependencies path:
[warn]          org.scalaz:scalaz-plugin:0.0.7 (scalaVersion=2.12, sbtVersion=1.0) (/home/brandon/workspace/CCRS/project/plugins.sbt#L5-6)
[warn]            +- default:ccrs-build:0.1.0-SNAPSHOT (scalaVersion=2.12, sbtVersion=1.0)
[error] sbt.librarymanagement.ResolveException: unresolved dependency: org.scalaz#scalaz-plugin;0.0.7: not found

I noticed there were some recent updates that might address the issue.

Would it be possible to cut a new release if this is likely resolved, and if not, what else can I do to help identify and correct the issue?

Thanks, and looking forward to trying scalaz-plugin (though I wonder if it will even be possible to use on my partly-legacy code base!)

@bbarker
Copy link
Author

bbarker commented Jun 17, 2019

Here's my build.sbt + plugins.sbt, if it helps: https://gist.github.com/bbarker/91deee614bc64f39ba13805c868500a5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant