<commit_before>import _root_.sbtassembly.Plugin.AssemblyKeys._
import java.util.NoSuchElementException
import sbt._
import Keys._
import sbtassembly.Plugin.{MergeStrategy, PathList}
import xerial.sbt.Sonatype

object PillarBuild extends Build {
  val assemblyTestSetting = test in assembly := {}
  val assemblyMergeStrategySetting = mergeStrategy in assembly <<= (mergeStrategy in assembly) {
    (old) => {
      case PathList("javax", "servlet", xs@_*) => MergeStrategy.first
      case "META-INF/io.netty.versions.properties" => MergeStrategy.last
      case x => old(x)
    }
  }

  val dependencies = Seq(
    "com.datastax.cassandra" % "cassandra-driver-core" % "3.1.0",
    "com.typesafe" % "config" % "1.0.1",
    "org.clapper" %% "argot" % "1.0.3",
    "org.mockito" % "mockito-core" % "1.9.5" % "test",
    "org.scalatest" %% "scalatest" % "2.2.0" % "test",
    "org.cassandraunit" % "cassandra-unit" % "3.0.0.1" % "test",
    "com.google.guava" % "guava" % "18.0" % "test",
    "ch.qos.logback" % "logback-classic" % "1.1.7" % "test"
  )

  val rhPackage = TaskKey[File]("rh-package", "Packages the application for Red Hat Package Manager")
  val rhPackageTask = rhPackage <<= (sourceDirectory, target, assembly, version) map {
    (sourceDirectory: File, targetDirectory: File, archive: File, versionId: String) =>
      val rootPath = new File(targetDirectory, "staged-package")
      val subdirectories = Map(
        "bin" -> new File(rootPath, "bin"),
        "conf" -> new File(rootPath, "conf"),
        "lib" -> new File(rootPath, "lib")
      )
      subdirectories.foreach {<commit_msg>Upgrade C* driver to the latest version (3.1.2)<commit_after>import _root_.sbtassembly.Plugin.AssemblyKeys._
import java.util.NoSuchElementException
import sbt._
import Keys._
import sbtassembly.Plugin.{MergeStrategy, PathList}
import xerial.sbt.Sonatype

object PillarBuild extends Build {
  val assemblyTestSetting = test in assembly := {}
  val assemblyMergeStrategySetting = mergeStrategy in assembly <<= (mergeStrategy in assembly) {
    (old) => {
      case PathList("javax", "servlet", xs@_*) => MergeStrategy.first
      case "META-INF/io.netty.versions.properties" => MergeStrategy.last
      case x => old(x)
    }
  }

  val dependencies = Seq(
    "com.datastax.cassandra" % "cassandra-driver-core" % "3.1.2",
    "com.typesafe" % "config" % "1.0.1",
    "org.clapper" %% "argot" % "1.0.3",
    "org.mockito" % "mockito-core" % "1.9.5" % "test",
    "org.scalatest" %% "scalatest" % "2.2.0" % "test",
    "org.cassandraunit" % "cassandra-unit" % "3.0.0.1" % "test",
    "com.google.guava" % "guava" % "18.0" % "test",
    "ch.qos.logback" % "logback-classic" % "1.1.7" % "test"
  )

  val rhPackage = TaskKey[File]("rh-package", "Packages the application for Red Hat Package Manager")
  val rhPackageTask = rhPackage <<= (sourceDirectory, target, assembly, version) map {
    (sourceDirectory: File, targetDirectory: File, archive: File, versionId: String) =>
      val rootPath = new File(targetDirectory, "staged-package")
      val subdirectories = Map(
        "bin" -> new File(rootPath, "bin"),
        "conf" -> new File(rootPath, "conf"),
        "lib" -> new File(rootPath, "lib")
      )
      subdirectories.foreach {
{'fraction_non_alphanumeric': 0.16225369458128078, 'fraction_numerical': 0.016317733990147784, 'mean_word_length': 3.5250696378830084, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2068302', 'n_tokens_mistral': 1150, 'n_tokens_neox': 1126, 'n_words': 251}