From 285e9e61b7d566d699b5cdcfd13cd49eb5d77ce8 Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Thu, 12 Apr 2012 18:15:52 +0900 Subject: [PATCH] All the tests passed with Solr 3.6.0 --- build.sbt | 9 ++------- pom.xml | 45 +++++++-------------------------------------- project/Build.scala | 2 +- readme.md | 4 ++-- 4 files changed, 12 insertions(+), 48 deletions(-) diff --git a/build.sbt b/build.sbt index 6ec833b..1a2bd97 100644 --- a/build.sbt +++ b/build.sbt @@ -5,19 +5,14 @@ scalaVersion := "2.9.1" crossScalaVersions := Seq("2.9.1", "2.9.0-1", "2.9.0") libraryDependencies <++= (scalaVersion) { scalaVersion => - val specsArtifactId = scalaVersion match { - case "2.9.1" => "specs_2.9.0" - case _ => "specs_" + scalaVersion - } Seq( "org.slf4j" % "slf4j-api" % "1.6.4" % "compile", "joda-time" % "joda-time" % "1.6.2" % "compile", - "org.apache.solr" % "solr-solrj" % "3.5.0" % "compile", + "org.apache.solr" % "solr-solrj" % "3.6.0" % "compile", "ch.qos.logback" % "logback-classic" % "1.0.0" % "test", "junit" % "junit" % "4.10" % "test", "org.mockito" % "mockito-all" % "1.8.2" % "test", - "org.scalatest" %% "scalatest" % "1.6.1" % "test", - "org.scala-tools.testing" % specsArtifactId % "1.6.8" % "test", + "org.scalatest" %% "scalatest" % "1.7.1" % "test", "org.scala-lang" % "scala-compiler" % scalaVersion % "test" ) } diff --git a/pom.xml b/pom.xml index e8e09d0..e56669d 100644 --- a/pom.xml +++ b/pom.xml @@ -3,8 +3,8 @@ 4.0.0 com.github.seratch - scalikesolr_2.9.1 - 3.5.2 + scalikesolr_${scala.version} + 3.6.0 ${project.artifactId} Solr Client library for Scala 2011 @@ -12,36 +12,9 @@ UTF-8 2.9.1 - 3.5.0 + 3.6.0 - - - seratch-github-repo - https://github.com/seratch/scalikesolr/raw/master/mvn-repo/releases - - - seratch-github-snapshot-repo - https://github.com/seratch/scalikesolr/raw/master/mvn-repo/snapshots - - - - - - scala-tools.org - Scala-Tools Maven2 Repository - http://scala-tools.org/repo-releases - - - - - - scala-tools.org - Scala-Tools Maven2 Repository - http://scala-tools.org/repo-releases - - - @@ -93,14 +66,7 @@ org.scalatest scalatest_${scala.version} - 1.6.1 - test - - - org.scala-tools.testing - - specs_2.9.0 - 1.6.8 + 1.7.1 test @@ -127,6 +93,9 @@ org.scala-tools maven-scala-plugin 2.15.0 + + -Xmx1024m + diff --git a/project/Build.scala b/project/Build.scala index abb2623..4056b50 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -9,7 +9,7 @@ object ScalikeSolrBuild extends Build { sbtPlugin := false, organization := "com.github.seratch", name := "scalikesolr", - version := "3.5.2", + version := "3.6.0", publishTo <<= version { (v: String) => val nexus = "https://oss.sonatype.org/" if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots") diff --git a/readme.md b/readme.md index 2477a0c..b37fd7e 100644 --- a/readme.md +++ b/readme.md @@ -8,7 +8,7 @@ ```scala libraryDependencies ++= Seq( - "com.github.seratch" %% "scalikesolr" % "3.5.2" + "com.github.seratch" %% "scalikesolr" % "(3.6,)" ) ``` @@ -31,7 +31,7 @@ The "2.9.1" of "scalikesolr_2.9.1"(artifactId) is the Scala version to use. com.github.seratch scalikesolr_2.9.1 - [3.5,) + [3.6,) ```