Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import via sbt #33

Open
wulftone opened this issue Jul 3, 2016 · 8 comments
Open

Can't import via sbt #33

wulftone opened this issue Jul 3, 2016 · 8 comments

Comments

@wulftone
Copy link

wulftone commented Jul 3, 2016

Using the "git method" seems to fail, and featherbed is not published on maven.

In the meantime I've cloned this repo and run sbt publishLocal to get it into my local .ivy2

It'd be good to get the basic import featherbed.Client statement for featherbed into the README as well, it was a little confusing to see it fully-qualified everywhere in the docs.

@divanvisagie
Copy link

What is the reason behind it not being on maven yet?

@rpless
Copy link
Contributor

rpless commented Sep 8, 2016

It's published to the Sonatype Snapshot repo.
As per https://finagle.github.io/featherbed/doc/01-installation.html, in sbt:

resolvers += Resolver.sonatypeRepo("snapshots")

libraryDependencies ++= Seq(
  "io.github.finagle" %"featherbed_2.11" %"0.2.1-SNAPSHOT"
)

@yeyan
Copy link

yeyan commented Oct 26, 2016

Jar file can be successfully downloaded. But beside a MANIFEST there is nothing.

Archive:  .ivy2/cache/io.github.finagle/featherbed_2.11/jars/featherbed_2.11-0.2.1-SNAPSHOT.jar
  Length      Date    Time    Name
---------  ---------- -----   ----
      299  2016-09-02 14:43   META-INF/MANIFEST.MF
---------                     -------
      299                     1 file

@jeremyrsmith
Copy link
Collaborator

@yeyan adding featherbed as an sbt dependency causes featherbed-core to be included transitively. featherbed itself doesn't contain anything.

@yeyan
Copy link

yeyan commented Oct 27, 2016

After changing dependency from
"io.github.finagle" %% "featherbed" %"0.2.1-SNAPSHOT" to
"io.github.finagle" %% "featherbed-core" %"0.2.1-SNAPSHOT"

Featherbed-core is successfully fetched. The documentation on in Guide is bit confusing. It should change from

resolvers += Resolver.sonatypeRepo("snapshots")

libraryDependencies ++= Seq(
  "io.github.finagle" %"featherbed_2.11" %"0.2.1-SNAPSHOT"
)

to

resolvers += Resolver.sonatypeRepo("snapshots")

libraryDependencies ++= Seq(
  "io.github.finagle" %% "featherbed-core" %"0.2.1-SNAPSHOT"
)

By the way sbt can not find anything like featherbed-circle. Does that lib published to repo yet?

@Rydgel
Copy link

Rydgel commented Oct 27, 2016

It's circe, not circle.

@marcelbuesing
Copy link

It would be great if "io.github.finagle" %% "featherbed-core" %"0.2.1-SNAPSHOT" would be mentioned in the installation

@RawToast
Copy link

This was fixed in 0.2.2 for me (see #57) and there doesn't seem to be any recent complaints regarding this issue, so I suggest it can be closed.

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

No branches or pull requests

8 participants