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

Does Finatra support Scala 2.11? #196

Closed
nykolaslima opened this Issue Apr 2, 2015 · 12 comments

Comments

8 participants
@nykolaslima
Contributor

nykolaslima commented Apr 2, 2015

I'm having the following issue using Scala 2.11.6:
sbt.ResolveException: unresolved dependency: com.twitter#finatra_2.11;1.5.3: not found

@leeavital

This comment has been minimized.

Contributor

leeavital commented Apr 2, 2015

IIRC finagle does not yet compile under Scala 2.11, so Finatra is behind.

@travisbrown

This comment has been minimized.

Contributor

travisbrown commented Apr 2, 2015

2.11 artifacts for finagle-core and most of the other Finagle modules have been available in Maven Central since December. The stragglers (finagle-redis and finagle-ostrich4) can now be built for 2.11 from source, and will be available for 2.11 in the next release (next week, we hope).

See this thread for some recent discussion of the status of Finatra.

@dlwh

This comment has been minimized.

dlwh commented Apr 29, 2015

any updates?

@cacoco

This comment has been minimized.

Member

cacoco commented May 1, 2015

@dlwh Scala 2.11 artifacts for Finatra (2.0.0.M1 -- the first/latest 2.0.0 milestone release) have been published to Maven Central.

@dlwh

This comment has been minimized.

dlwh commented May 1, 2015

thanks! amazing timing since I first started looking at Finatra yesterday :)

Works great, nice library! First web framework I've seen in Scala that didn't leave a bad taste in my mouth.

@cacoco

This comment has been minimized.

Member

cacoco commented May 1, 2015

That's good to hear -- please feel free to leave us feedback!

@cacoco cacoco closed this May 1, 2015

@danny-zegel-zocdoc

This comment has been minimized.

danny-zegel-zocdoc commented May 5, 2016

@cacoco I'm trying to get Finatra working with scala 2.11.8. When I add:
libraryDependencies += "com.twitter.finatra" % "finatra-http_2.11" % "2.0.0.M1"
or
libraryDependencies += "com.twitter.finatra" % "finatra-http_2.11" % "2.1.6"
to build.sbt I get the following

error sbt.ResolveException: unresolved dependency: com.twitter.common#metrics;0.0.29: not found
[error] unresolved dependency: org.apache.thrift#libthrift;0.5.0: not found
[error] unresolved dependency: com.twitter.common#stats-util;0.0.49: not found
error sbt.ResolveException: unresolved dependency: com.twitter.common#metrics;0.0.29: not found
[error] unresolved dependency: org.apache.thrift#libthrift;0.5.0: not found
[error] unresolved dependency: com.twitter.common#stats-util;0.0.49: not found

@cacoco

This comment has been minimized.

Member

cacoco commented May 6, 2016

@danny-zegel-zocdoc please make sure you add the twitter maven resolver (like in the examples), e.g.,

resolvers ++= Seq(
  Resolver.sonatypeRepo("releases"),
  "Twitter Maven" at "https://maven.twttr.com"
)

As those dependencies are hosted on our Twitter maven repo.

@heldersantosmoreira

This comment has been minimized.

heldersantosmoreira commented May 4, 2017

So, the lastest Finatra version that works with Scala 2.11 is 2.1.6?

@mosesn

This comment has been minimized.

Contributor

mosesn commented May 4, 2017

@heldersantosmoreira no, we currently support 2.11. We just published a 2.11-compatible finatra update last week. http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.twitter%22%20AND%20a%3A%22finatra-root_2.11%22

@heldersantosmoreira

This comment has been minimized.

heldersantosmoreira commented May 4, 2017

Is finatra-root equivalent to finatra-http?
Sorry in advance if it's a very nonsense question, dependencies confuse me 😄

@mosesn

This comment has been minimized.

Contributor

mosesn commented May 4, 2017

@heldersantosmoreira no, it was just an example. We publish all of our modules at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment