Created
September 20, 2012 09:22
-
-
Save yangbajing/3754875 to your computer and use it in GitHub Desktop.
请帮我把build.sbt 改成 Build.scala
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name := "ims-platform" | |
| scalaVersion := "2.9.2" | |
| seq(webSettings: _*) | |
| //offline := true | |
| // If using JRebel | |
| scanDirectories in Compile := Nil | |
| scalacOptions ++= Seq( | |
| "-deprecation", | |
| "-unchecked") | |
| //javaOptions ++= Seq( | |
| // "-Drun.mode=production" | |
| //) | |
| port in container.Configuration := 8087 | |
| //env in Compile := Some(file(".") / "jetty-env.xml" asFile) | |
| resolvers ++= Seq( | |
| "releases" at "http://oss.sonatype.org/content/repositories/releases", | |
| "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/") | |
| // Liftweb libs | |
| libraryDependencies ++= { | |
| val liftVersion = "2.4" | |
| //val liftVersion = "2.5-SNAPSHOT" | |
| Seq( | |
| //"net.liftweb" %% "lift-webkit" % liftVersion % "compile") | |
| "net.liftweb" % "lift-webkit_2.9.1" % liftVersion % "compile->default") | |
| } | |
| // Scala libs | |
| libraryDependencies ++= Seq( | |
| "com.typesafe.akka" % "akka-actor" % "2.0.3", | |
| //"com.typesafe.akka" % "akka-remote" % "2.0.3", | |
| "org.scalatest" %% "scalatest" % "1.8" % "test", | |
| "org.scalamock" %% "scalamock-scalatest-support" % "2.4" % "test", | |
| "com.github.scala-incubator.io" %% "scala-io-core" % "0.4.1-seq", | |
| "com.github.scala-incubator.io" %% "scala-io-file" % "0.4.1-seq", | |
| "org.mongodb" %% "casbah" % "2.4.1", | |
| "com.novus" %% "salat" % "1.9.0" | |
| ) | |
| libraryDependencies ++= { | |
| //val jettyVersion = "7.5.4.v20111024" | |
| val jettyVersion = "8.1.0.v20120127" | |
| Seq( | |
| //"org.eclipse.jetty" % "jetty-plus" % jettyVersion % "container", | |
| "org.eclipse.jetty" % "jetty-webapp" % jettyVersion % "container" | |
| ) | |
| } | |
| // Java libs | |
| libraryDependencies ++= Seq( | |
| "net.sf.ehcache" % "ehcache-core" % "2.6.0", | |
| "org.slf4j" % "slf4j-api" % "1.7.1", | |
| "ch.qos.logback" % "logback-classic" % "1.0.7", | |
| "org.mozilla" % "rhino" % "1.7R4", | |
| "org.clapper" %% "markwrap" % "0.5.4", | |
| "org.bouncycastle" % "bcprov-ext-jdk15on" % "1.47", | |
| "joda-time" % "joda-time" % "2.1", | |
| "org.joda" % "joda-convert" % "1.2", | |
| "org.quartz-scheduler" % "quartz" % "2.1.5", | |
| "javax.mail" % "mail" % "1.4.5", | |
| "javax.activation" % "activation" % "1.1.1", | |
| "org.apache.commons" % "commons-email" % "1.2", | |
| "org.apache.poi" % "poi" % "3.8", | |
| "org.apache.poi" % "poi-scratchpad" % "3.8", | |
| "org.apache.poi" % "poi-ooxml" % "3.8", | |
| "org.apache.poi" % "poi-ooxml-schemas" % "3.8", | |
| "commons-io" % "commons-io" % "2.4", | |
| "commons-fileupload" % "commons-fileupload" % "1.2.2", | |
| "com.h2database" % "h2" % "1.3.168", | |
| "mysql" % "mysql-connector-java" % "5.1.21", | |
| "postgresql" % "postgresql" % "9.1-902.jdbc4" | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment