<commit_before>name := "elasticsearch4s"

organization := "jp.co.bizreach"

version := "0.0.8-SNAPSHOT"

scalaVersion := "2.11.2"

crossScalaVersions := Seq("2.10.4", "2.11.2")

libraryDependencies <++= scalaVersion(sv => Seq(
  "org.elasticsearch"            %  "elasticsearch"         % "1.1.0",
  "org.slf4j"                    %  "slf4j-api"             % "1.7.7",
  "joda-time"                    %  "joda-time"             % "2.2",
  "org.joda"                     %  "joda-convert"          % "1.6",
  "commons-io"                   %  "commons-io"            % "2.4",
  "org.apache.httpcomponents"    %  "httpclient"            % "4.3.1",
  "com.fasterxml.jackson.module" %% "jackson-module-scala"  % (if(sv.startsWith("2.10")) "2.3.3" else "2.4.1"),
  "org.scalatest"                %% "scalatest"             % "2.2.1" % "test"
))

publishMavenStyle := true

publishTo <<= version { (v: String) =>
  val nexus = "https://oss.sonatype.org/"
  if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots")
  else                             Some("releases"  at nexus + "service/local/staging/deploy/maven2")
}

scalacOptions := Seq("-deprecation")

javacOptions in compile ++= Seq("-source","1.7", "-target","1.7", "-encoding","UTF-8")

publishArtifact in Test := false

pomIncludeRepository := { _ => false }

pomExtra := (
  <url>https://github.com/bizreach/elasticsearch4s</url>
    <licenses>
      <license>
        <name>The Apache Software License, Version 2.0</name>
        <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      </license>
    </licenses>
    <scm>
      <url>https://github.com/bizreach/elasticsearch4s</url>
      <connection>scm:git:https://github.com/bizreach/elasticsearch4s.git</connection>
    </scm>
    <developers>
      <developer>
        <id>takezoe</id>
        <name><NAME></name>
        <email>naoki.takezoe_at_bizreach.co.jp</email>
        <timezone>+9</timezone>
      </developer>
    </developers>)
<commit_msg>Elasticsearch4s 0.0.8 release<commit_after>name := "elasticsearch4s"

organization := "jp.co.bizreach"

version := "0.0.8"

scalaVersion := "2.11.2"

crossScalaVersions := Seq("2.10.4", "2.11.2")

libraryDependencies <++= scalaVersion(sv => Seq(
  "org.elasticsearch"            %  "elasticsearch"         % "1.1.0",
  "org.slf4j"                    %  "slf4j-api"             % "1.7.7",
  "joda-time"                    %  "joda-time"             % "2.2",
  "org.joda"                     %  "joda-convert"          % "1.6",
  "commons-io"                   %  "commons-io"            % "2.4",
  "org.apache.httpcomponents"    %  "httpclient"            % "4.3.1",
  "com.fasterxml.jackson.module" %% "jackson-module-scala"  % (if(sv.startsWith("2.10")) "2.3.3" else "2.4.1"),
  "org.scalatest"                %% "scalatest"             % "2.2.1" % "test"
))

publishMavenStyle := true

publishTo <<= version { (v: String) =>
  val nexus = "https://oss.sonatype.org/"
  if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots")
  else                             Some("releases"  at nexus + "service/local/staging/deploy/maven2")
}

scalacOptions := Seq("-deprecation")

javacOptions in compile ++= Seq("-source","1.7", "-target","1.7", "-encoding","UTF-8")

publishArtifact in Test := false

pomIncludeRepository := { _ => false }

pomExtra := (
  <url>https://github.com/bizreach/elasticsearch4s</url>
    <licenses>
      <license>
        <name>The Apache Software License, Version 2.0</name>
        <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      </license>
    </licenses>
    <scm>
      <url>https://github.com/bizreach/elasticsearch4s</url>
      <connection>scm:git:https://github.com/bizreach/elasticsearch4s.git</connection>
    </scm>
    <developers>
      <developer>
        <id>takezoe</id>
        <name><NAME></name>
        <email>na<EMAIL></email>
        <timezone>+9</timezone>
      </developer>
    </developers>)

{'fraction_non_alphanumeric': 0.1868598551086685, 'fraction_numerical': 0.030477142143392456, 'mean_word_length': 2.2685714285714287, 'pattern_counts': {'":': 0, '<': 68, '<?xml version=': 0, '>': 68, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '6115375', 'n_tokens_mistral': 1497, 'n_tokens_neox': 1445, 'n_words': 204}