Skip to content

Instantly share code, notes, and snippets.

@gbougeard
Created September 26, 2013 22:25
Show Gist options
  • Select an option

  • Save gbougeard/6721445 to your computer and use it in GitHub Desktop.

Select an option

Save gbougeard/6721445 to your computer and use it in GitHub Desktop.
object GhfBuild extends Build {
lazy val ghf = Project(
id = "ghf",
base = file("."),
settings = Project.defaultSettings ++ Seq(
name := "ghf",
organization := "com.reservit",
version := "0.1-SNAPSHOT",
scalaVersion := "2.10.2",
// add other settings here
resolvers ++= Seq("snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
"Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/",
"Typesafe snapshots" at "http://repo.typesafe.com/typesafe/snapshots/"),
libraryDependencies ++= Seq(
"com.typesafe.slick" %% "slick" % "1.0.1",
"org.slf4j" % "slf4j-api" % "1.7.5",
"ch.qos.logback" % "logback-classic" % "1.0.13",
"mysql" % "mysql-connector-java" % "5.1.25",
"com.typesafe" %% "scalalogging-slf4j" % "1.0.1",
"com.typesafe" %% "config" % "1.0.2"
)
)
)
> compile
[info] Updating {file:/home/gbougeard/git/ghf/}ghf...
[info] Resolving com.typesafe#config_2.10;1.0.2 ...
[warn] module not found: com.typesafe#config_2.10;1.0.2
[warn] ==== local: tried
[warn] /home/gbougeard/.ivy2/local/com.typesafe/config_2.10/1.0.2/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/config_2.10/1.0.2/config_2.10-1.0.2.pom
[warn] ==== snapshots: tried
[warn] http://oss.sonatype.org/content/repositories/snapshots/com/typesafe/config_2.10/1.0.2/config_2.10-1.0.2.pom
[warn] ==== Typesafe repository: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/typesafe/config_2.10/1.0.2/config_2.10-1.0.2.pom
[warn] ==== Typesafe snapshots: tried
[warn] http://repo.typesafe.com/typesafe/snapshots/com/typesafe/config_2.10/1.0.2/config_2.10-1.0.2.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe#config_2.10;1.0.2: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe#config_2.10;1.0.2: not found
[error] Total time: 2 s, completed 27 sept. 2013 00:16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment