<commit_before>import sbt._
import Keys._
import sbtassembly.Plugin._
import sbtassembly.AssemblyUtils._
import AssemblyKeys._

object JCarafeBuild extends Build {

  lazy val root = Project(id = "jcarafe",
                            base = file(".")).settings(rootSettings:_*) aggregate(jcarafeCore, jcarafeExt)

  lazy val jcarafeCore = Project(id = "jcarafe-core", 
				 base = file("jcarafe-core")).
                         settings(coreSettings: _*).
                         settings(projAssemblySettings: _*)                         

  lazy val jcarafeExt = Project(id = "jcarafe-ext", 
				 base = file("jcarafe-ext")).
                         settings(extSettings: _*).
                         settings(projAssemblySettings: _*).
                         settings(net.virtualvoid.sbt.graph.Plugin.graphSettings: _*) dependsOn(jcarafeCore)

  def sharedSettings = Defaults.defaultSettings ++ Seq(
    organization := "org.mitre",
    version := "0.9.8.6.b-24",
    scalaVersion := "2.10.2",
    resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/snapshots/",
    resolvers += Resolver.url("Typesafe Release Repository",url("http://repo.typesafe.com/typesafe/releases/"))(Resolver.ivyStylePatterns),
    publishTo := Some(Resolver.sftp("Chatter Maven Repo", "beijing.mitre.org", "/afs/rcf/project/chatter/repo")),
    javacOptions ++= Seq("-source","1.7","-target","1.7")
  )

  def rootSettings =  sharedSettings ++ Seq(
    name := "jcarafe"
  )

  def coreSettings = sharedSettings ++ Seq(
    name := "jcarafe-core",
    mainClass in Compile := Some("org.mitre.jcarafe.tagger.GenericTagger"),
    javaCCFiles in Compile <<= javaCCFilesTask,
    runJavaCC in Compile <<= srcGeneratorTask,
    libraryDependencies ++= Seq(
      "org.codehaus.jackson" % "jackson-core-asl" % "1.7.6",
      "org.codehaus.jackson" % "jackson-mapper-asl" % "1.7.6",
      "org.scalatest" % "scalatest_2.10" % "1.9.1" % "test",
      "com.twitter" % "chill_2.10" % "0.3.5"
    )
  )

  def extSettings = sharedSettings ++ Seq(
    name := "jcarafe-ext",
    mainClass in Compile := Some("org.mitre.jcarafe.tagger.GenericTagger"),
    libraryDependencies ++= Seq(
      "org.codehaus.jackson" % "jackson-core-asl" % "1.7.6",
      "org.codehaus.jackson" % "jackson-mapper-asl" % "1.7.6",
      "org.scalatest" % "scalatest_2.10" % "1.9.1" % "test",<commit_msg>Bumped version to b25<commit_after>import sbt._
import Keys._
import sbtassembly.Plugin._
import sbtassembly.AssemblyUtils._
import AssemblyKeys._

object JCarafeBuild extends Build {

  lazy val root = Project(id = "jcarafe",
                            base = file(".")).settings(rootSettings:_*) aggregate(jcarafeCore, jcarafeExt)

  lazy val jcarafeCore = Project(id = "jcarafe-core", 
				 base = file("jcarafe-core")).
                         settings(coreSettings: _*).
                         settings(projAssemblySettings: _*)                         

  lazy val jcarafeExt = Project(id = "jcarafe-ext", 
				 base = file("jcarafe-ext")).
                         settings(extSettings: _*).
                         settings(projAssemblySettings: _*).
                         settings(net.virtualvoid.sbt.graph.Plugin.graphSettings: _*) dependsOn(jcarafeCore)

  def sharedSettings = Defaults.defaultSettings ++ Seq(
    organization := "org.mitre",
    version := "0.9.8.6.b-25",
    scalaVersion := "2.10.2",
    resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/snapshots/",
    resolvers += Resolver.url("Typesafe Release Repository",url("http://repo.typesafe.com/typesafe/releases/"))(Resolver.ivyStylePatterns),
    publishTo := Some(Resolver.sftp("Chatter Maven Repo", "beijing.mitre.org", "/afs/rcf/project/chatter/repo")),
    javacOptions ++= Seq("-source","1.7","-target","1.7")
  )

  def rootSettings =  sharedSettings ++ Seq(
    name := "jcarafe"
  )

  def coreSettings = sharedSettings ++ Seq(
    name := "jcarafe-core",
    mainClass in Compile := Some("org.mitre.jcarafe.tagger.GenericTagger"),
    javaCCFiles in Compile <<= javaCCFilesTask,
    runJavaCC in Compile <<= srcGeneratorTask,
    libraryDependencies ++= Seq(
      "org.codehaus.jackson" % "jackson-core-asl" % "1.7.6",
      "org.codehaus.jackson" % "jackson-mapper-asl" % "1.7.6",
      "org.scalatest" % "scalatest_2.10" % "1.9.1" % "test",
      "com.twitter" % "chill_2.10" % "0.3.5"
    )
  )

  def extSettings = sharedSettings ++ Seq(
    name := "jcarafe-ext",
    mainClass in Compile := Some("org.mitre.jcarafe.tagger.GenericTagger"),
    libraryDependencies ++= Seq(
      "org.codehaus.jackson" % "jackson-core-asl" % "1.7.6",
      "org.codehaus.jackson" % "jackson-mapper-asl" % "1.7.6",
      "org.scalatest" % "scalatest_2.10" % "1.9.1" % "test",
{'fraction_non_alphanumeric': 0.1580496006725515, 'fraction_numerical': 0.018915510718789406, 'mean_word_length': 2.80111821086262, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 3, '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': '1505672', 'n_tokens_mistral': 1723, 'n_tokens_neox': 1605, 'n_words': 264}