# Resolving Transitive dependency for branch 6.X

**URL:** https://discuss.elastic.co/t/resolving-transitive-dependency-for-branch-6-x/112034
**Category:** Elasticsearch
**Created:** [December 15, 2017, 6:54pm UTC](https://discuss.elastic.co/t/resolving-transitive-dependency-for-branch-6-x/112034 "2017-12-15T18:54:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dineyw23](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dineyw23/32/25683_2.png) [@dineyw23](https://discuss.elastic.co/u/dineyw23)
#### Post date: [December 15, 2017, 6:54pm UTC](https://discuss.elastic.co/t/resolving-transitive-dependency-for-branch-6-x/112034/1 "2017-12-15T18:54:08Z")

</div>

Hi,

I'm trying to use elastic-search 6.X branch for my one of my play project which uses sbt. I did the following, I'm not sure how would these dependencies would be resolved?

In the rest-high-level-client and core directory:

gradle clean  
gradle assemble  
gradle pushToMavenLocal

Included the following in SBT:  
resolvers ++= Seq(  
"Local Maven" at Path.userHome.asFile.toURI.toURL + ".m2/repository"  
....  
)

"org.elasticsearch.client" % "elasticsearch-rest-high-level-client" % "6.2.0-SNAPSHOT",  
"org.elasticsearch" % "elasticsearch" % "6.2.0-SNAPSHOT",

I think these get pulled and resolved but I get the following error for lucene 7.2.0 dependencies. I see org.apache.lucece 7.2.0 but not 7.2.0-snapshot-7deca62 in ./m2 repo  
Do I have to add these manually ? Not sure what I'm missing here.

Error:Error while importing SBT project:  
...

```
[error] unresolved dependency: org.apache.lucene#lucene-suggest;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.elasticsearch#elasticsearch-cli;6.2.0-SNAPSHOT: not found
[error] (*:ssExtractDependencies) sbt.librarymanagement.ResolveException: unresolved dependency: org.apache.lucene#lucene-core;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-analyzers-common;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-backward-codecs;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-grouping;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-highlighter;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-join;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-memory;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-misc;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-queries;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-queryparser;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-sandbox;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-spatial;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-spatial-extras;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-spatial3d;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.apache.lucene#lucene-suggest;7.2.0-snapshot-7deca62: not found
[error] unresolved dependency: org.elasticsearch#elasticsearch-cli;6.2.0-SNAPSHOT: not found
[error] Total time: 105 s, completed Dec 15, 2017 10:52:03 AM
[INFO] [12/15/2017 10:52:03.924] [Thread-4] [CoordinatedShutdown(akka://sbt-web)] Starting coordinated shutdown from JVM shutdown hook
```
  
See complete log in file:/Library/Logs/IdeaIC2017.2/sbt.last.log

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [January 12, 2018, 6:54pm UTC](https://discuss.elastic.co/t/resolving-transitive-dependency-for-branch-6-x/112034/2 "2018-01-12T18:54:21Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
