<commit_before>name := "geotrellis-migration-tool"
version := "0.1.0-SNAPSHOT"
scalaVersion := "2.10.6"
crossScalaVersions := Seq("2.11.8", "2.10.6")
organization := "com.azavea"
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
scalacOptions ++= Seq(
  "-deprecation",
  "-unchecked",
  "-Yinline-warnings",
  "-language:implicitConversions",
  "-language:reflectiveCalls",
  "-language:higherKinds",
  "-language:postfixOps",
  "-language:existentials",
  "-feature")
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }

resolvers ++= Seq(
  Resolver.bintrayRepo("azavea", "geotrellis"),
  Resolver.sonatypeRepo("releases")
)

libraryDependencies ++= Seq(
  "com.azavea.geotrellis" %% "geotrellis-accumulo"  % "0.10.0-RC2",
  "com.azavea.geotrellis" %% "geotrellis-s3"        % "0.10.0-RC2",
  "com.azavea.geotrellis" %% "geotrellis-spark"     % "0.10.0-RC2",
  "com.azavea.geotrellis" %% "geotrellis-spark-etl" % "0.10.0-RC2",
  "com.github.scopt"      %% "scopt"                % "3.4.0",
  "org.apache.spark"      %% "spark-core"           % "1.5.2",
  "org.apache.hadoop"      % "hadoop-client"        % "2.7.1",
  "org.scalatest"         %% "scalatest"            % "2.2.0" % "test"
)

addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)

sourceGenerators in Compile <+= (sourceManaged in Compile, version, name) map { (d, v, n) =>
  val file = d / "geotrellis/migration/cli/Info.scala"
  IO.write(file, """package geotrellis.migration.cli
                   |object Info {
                   |  val version = "%s"
                   |  val name    = "%s"
                   |}
                   |""".stripMargin.format(v, n))
  Seq(file)
}

//test in assembly := {}

assemblyMergeStrategy in assembly := {
  case "reference.conf" => MergeStrategy.concat
  case "application.conf" => MergeStrategy.concat
  case "META-INF/MANIFEST.MF" => MergeStrategy.discard
  case "META-INF\\MANIFEST.MF" => MergeStrategy.discard
  case "META-INF/ECLIPSEF.RSA" => MergeStrategy.discard<commit_msg>fix build.sbt<commit_after>name := "geotrellis-migration-tool"
version := "0.1.0-SNAPSHOT"
scalaVersion := "2.10.6"
crossScalaVersions := Seq("2.11.8", "2.10.6")
organization := "com.azavea"
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
scalacOptions ++= Seq(
  "-deprecation",
  "-unchecked",
  "-Yinline-warnings",
  "-language:implicitConversions",
  "-language:reflectiveCalls",
  "-language:higherKinds",
  "-language:postfixOps",
  "-language:existentials",
  "-feature")
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }

resolvers ++= Seq(
  Resolver.bintrayRepo("azavea", "geotrellis"),
  Resolver.sonatypeRepo("releases")
)

libraryDependencies ++= Seq(
  "com.azavea.geotrellis" %% "geotrellis-accumulo"  % "0.10.0-RC2",
  "com.azavea.geotrellis" %% "geotrellis-s3"        % "0.10.0-RC2",
  "com.azavea.geotrellis" %% "geotrellis-spark"     % "0.10.0-RC2",
  "com.azavea.geotrellis" %% "geotrellis-spark-etl" % "0.10.0-RC2",
  "com.github.scopt"      %% "scopt"                % "3.4.0",
  "org.apache.spark"      %% "spark-core"           % "1.5.2",
  "org.apache.hadoop"      % "hadoop-client"        % "2.7.1",
  "org.scalatest"         %% "scalatest"            % "2.2.0" % "test"
)

addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)

sourceGenerators in Compile <+= (sourceManaged in Compile, version, name) map { (d, v, n) =>
  val file = d / "geotrellis/migration/cli/Info.scala"
  IO.write(file, """package geotrellis.migration.cli
                   |object Info {
                   |  val version = "%s"
                   |  val name    = "%s"
                   |}
                   |""".stripMargin.format(v, n))
  Seq(file)
}

test in assembly := {}

assemblyMergeStrategy in assembly := {
  case "reference.conf" => MergeStrategy.concat
  case "application.conf" => MergeStrategy.concat
  case "META-INF/MANIFEST.MF" => MergeStrategy.discard
  case "META-INF\\MANIFEST.MF" => MergeStrategy.discard
  case "META-INF/ECLIPSEF.RSA" => MergeStrategy.discard
{'fraction_non_alphanumeric': 0.18209876543209877, 'fraction_numerical': 0.026115859449192782, 'mean_word_length': 2.9858088930936613, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1934594', 'n_tokens_mistral': 1670, 'n_tokens_neox': 1593, 'n_words': 242}