laas / fape

FAPE (Flexible Acting and Planning Environment) is a constraint-based planner for the ANML language.
BSD 2-Clause "Simplified" License
31 stars 7 forks source link

sbt compile yields missing dependency errors #3

Closed hadfield closed 6 years ago

hadfield commented 6 years ago

sbt compile yields: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: org.xerial.sbt#sbt-pack;0.6.5: not found [warn] :: org.scala-sbt.plugins#sbt-onejar;0.8: not found [warn] :: com.eed3si9n#sbt-assembly;0.14.1: not found [warn] ::::::::::::::::::::::::::::::::::::::::::::::

....

[error] (update) sbt.librarymanagement.ResolveException: unresolved dependency: org.xerial.sbt#sbt-pack;0.6.5: not found [error] unresolved dependency: org.scala-sbt.plugins#sbt-onejar;0.8: not found [error] unresolved dependency: com.eed3si9n#sbt-assembly;0.14.1: not found

Perhaps some of the dependency locations are no longer present and/or different repository is needed?

Thanks!

arbimo commented 6 years ago

Those dependencies are all sbt plugins. Could you check which version of SBT you are using, It might be that you use the 1.x series while the build implicitly assumed the 0.13.x series.

You can force an SBT version (try with 0.13.17) : https://stackoverflow.com/questions/28429030/is-there-a-way-to-define-the-required-sbt-version-in-build-sbt I cannot test it right now but let me know if this works and I will force the sbt version.

hadfield commented 6 years ago

Thanks! Yes, setting the build.properties to that specific version (0.13.17) solved the issue.