<commit_before>import sbt._
import Keys._
import java.io.{FileInputStream, FileOutputStream}

object BuildSettings {
  val sonatypeRepo = "http://oss.sonatype.org/service/local/staging/deploy/maven2"

  lazy val credentialsSetting = credentials ++=
    (Seq("build.publish.user", "build.publish.password").map(k => Option(System.getProperty(k))) match {
      case Seq(Some(user), Some(pass)) =>
         Seq(Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", user, pass))
      case _ =>
         Seq.empty[Credentials]
    })

  val buildSettings = Defaults.defaultSettings ++ Seq (
    organization := "com.linkedin",
    version      := "0.6.29",
    scalaVersion := "2.8.1",
    credentialsSetting,
//    publishArtifact in (Compile, packageDoc) := false,
    publishTo <<= (version) { version: String =>
      if (version.trim.endsWith("SNAPSHOT"))
        Some("Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
      else
        Some("Sonatype Nexus Repository Manager" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
    }
  )
}

object Resolvers {
  val jbossRepo = "JBoss Maven 2 Repository" at "http://repository.jboss.org/nexus/content/groups/public/"
  val norbertResolvers = Seq(jbossRepo)
}

object ClusterDependencies {
  val ZOOKEEPER_VER = "3.3.0"
  val PROTOBUF_VER = "2.4.0a"
  val LOG4J_VER = "1.2.16"

  val SPECS_VER = "1.6.7"
  val MOCKITO_VER = "1.8.4"
  val CGLIB_VER = "2.1_3"
  val OBJENESIS = "1.0"
<commit_msg>Version -> 0.6.30<commit_after>import sbt._
import Keys._
import java.io.{FileInputStream, FileOutputStream}

object BuildSettings {
  val sonatypeRepo = "http://oss.sonatype.org/service/local/staging/deploy/maven2"

  lazy val credentialsSetting = credentials ++=
    (Seq("build.publish.user", "build.publish.password").map(k => Option(System.getProperty(k))) match {
      case Seq(Some(user), Some(pass)) =>
         Seq(Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", user, pass))
      case _ =>
         Seq.empty[Credentials]
    })

  val buildSettings = Defaults.defaultSettings ++ Seq (
    organization := "com.linkedin",
    version      := "0.6.30",
    scalaVersion := "2.8.1",
    credentialsSetting,
//    publishArtifact in (Compile, packageDoc) := false,
    publishTo <<= (version) { version: String =>
      if (version.trim.endsWith("SNAPSHOT"))
        Some("Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
      else
        Some("Sonatype Nexus Repository Manager" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
    }
  )
}

object Resolvers {
  val jbossRepo = "JBoss Maven 2 Repository" at "http://repository.jboss.org/nexus/content/groups/public/"
  val norbertResolvers = Seq(jbossRepo)
}

object ClusterDependencies {
  val ZOOKEEPER_VER = "3.3.0"
  val PROTOBUF_VER = "2.4.0a"
  val LOG4J_VER = "1.2.16"

  val SPECS_VER = "1.6.7"
  val MOCKITO_VER = "1.8.4"
  val CGLIB_VER = "2.1_3"
  val OBJENESIS = "1.0"

{'fraction_non_alphanumeric': 0.1448321263989467, 'fraction_numerical': 0.02238314680710994, 'mean_word_length': 3.4691176470588236, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 12, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6468968', 'n_tokens_mistral': 1107, 'n_tokens_neox': 1058, 'n_words': 205}