You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by marcos rebelo <ol...@gmail.com> on 2017/01/16 13:59:21 UTC
Importing a github project on sbt
Hi all,
I have this project:
https://github.com/oleber/aws-stepfunctions
I have a second project that should import the first one. On the second
project I did something like:
lazy val awsStepFunctions = RootProject(uri("git://
github.com/oleber/aws-stepfunctions.git#31990fce907cbda3814954c390dcbc1b7807b2d5
"))
lazy val importerWithStepFunction = project.in
(file("modules/importerWithStepFunction"))
.settings(global: _*)
.dependsOn(
awsStepFunctions % allScopes,
commonCommons % allScopes,
home24AWS % allScopes,
importerBing % allScopes
)
and I get an error like:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: default#aws-stepfunctions_2.11;1.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] default:aws-stepfunctions_2.11:1.0
[warn] +- de.home24:importerwithstepfunction_2.11:0.1-SNAPSHOT
Clearly I'm missing something. Can you direct me to the solution or to
documentation? I will work something.
Best Regards
Marcos Rebelo
Re: Importing a github project on sbt
Posted by Marco Mistroni <mm...@gmail.com>.
Uhm....Not a SPK issue....Anyway...Had similar issues with sbt
The quick sol. To get u going is to place ur dependency in your lib folder
The notsoquick is to build the sbt dependency and do a sbt publish-local,
or deploy local....
But I consider both approaches hacks.....
Hth
On 16 Jan 2017 2:00 pm, "marcos rebelo" <ol...@gmail.com> wrote:
Hi all,
I have this project:
https://github.com/oleber/aws-stepfunctions
I have a second project that should import the first one. On the second
project I did something like:
lazy val awsStepFunctions = RootProject(uri("git://github.
com/oleber/aws-stepfunctions.git#31990fce907cbda3814954c390dcbc1b7807b2d5"))
lazy val importerWithStepFunction = project.in(file("modules/
importerWithStepFunction"))
.settings(global: _*)
.dependsOn(
awsStepFunctions % allScopes,
commonCommons % allScopes,
home24AWS % allScopes,
importerBing % allScopes
)
and I get an error like:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: default#aws-stepfunctions_2.11;1.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] default:aws-stepfunctions_2.11:1.0
[warn] +- de.home24:importerwithstepfunction_2.11:0.1-SNAPSHOT
Clearly I'm missing something. Can you direct me to the solution or to
documentation? I will work something.
Best Regards
Marcos Rebelo