Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Unresolved dependency #16

Open
alexanderdean opened this issue Dec 9, 2013 · 4 comments
Open

Unresolved dependency #16

alexanderdean opened this issue Dec 9, 2013 · 4 comments

Comments

@alexanderdean
Copy link
Contributor

On a fresh SBT project including HPaste:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.apache.hadoop#hadoop-core;0.20-append-r1056497: not found
[warn]  :: org.apache.thrift#thrift;0.2.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::

Details as follows:

// HPaste version
val hpaste        = "com.gravity"                %  "gravity-hpaste"      % "0.1.11"
// SBT version
sbt.version=0.12.3
// Scala version
scalaVersion  := "2.10.0",
@alexanderdean
Copy link
Contributor Author

See also: #15

@alexanderdean
Copy link
Contributor Author

Here is my hacky workaround for now:

.settings(
  libraryDependencies ++= Seq(
    Libraries.hadoopCore,
    ...
  ),
  libraryDependencies ++= Seq(
    Libraries.hpaste.exclude("org.apache.thrift", "thrift").exclude("org.apache.hadoop", "hadoop-core")) // Bad includes from HBase
)

Obviously only works if you have another hadoop-core being added as a dependency in the first block.

@alexanderdean
Copy link
Contributor Author

Edit: I updated to:

val hpaste        = "0.1.24"

and the unresolved deps went down to:

::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.apache.thrift#thrift;0.2.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::

Requiring:

libraryDependencies ++= Seq(
    Libraries.hpaste.exclude("org.apache.thrift", "thrift"))

@mfirry
Copy link

mfirry commented Jul 21, 2014

news on this?

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

2 participants