<commit_before>organization := "no.java.ems"

scalaVersion := "2.11.4"

scalacOptions := Seq("-deprecation", "-feature")

val unfilteredVersion = "0.8.3"

val joda = Seq(
  "joda-time" % "joda-time" % "2.2",
  "org.joda" % "joda-convert" % "1.2"
)

val unfiltered = Seq(
  "net.databinder" %% "unfiltered-filter" % unfilteredVersion,
  "net.databinder" %% "unfiltered-directives" % unfilteredVersion,
  "net.databinder" %% "unfiltered-jetty" % unfilteredVersion,
  "com.jteigen" %% "linx" % "0.2",
  "org.slf4j" % "slf4j-api" % "1.7.7"
)

libraryDependencies ++= joda ++ unfiltered ++ Seq(
  "org.ini4j" % "ini4j" % "0.5.2",
  "org.constretto" %% "constretto-scala" % "1.1",
  "net.hamnaberg.rest" %% "scala-json-collection" % "2.3",
  "com.andersen-gott" %% "scravatar" % "1.0.3",
  "com.sksamuel.scrimage" %% "scrimage-core" % "1.4.2",
  "org.jsoup" % "jsoup" % "1.7.2",
  "commons-io" % "commons-io" % "2.3",
  "org.mongodb" %% "casbah-core" % "2.7.3",
  "org.mongodb" %% "casbah-gridfs" % "2.7.3",
  "org.mongodb" %% "casbah-query" % "2.7.3",
  "org.specs2" %% "specs2" % "2.4.2" % "test"
)


pomIncludeRepository := {
  x => false
}

crossPaths := false

aetherPublishBothSettings

appAssemblerSettings

appOutput in App := target.value / "appmgr" / "root"

appmgrSettings

appmgrBuild <<= appmgrBuild.dependsOn(appAssemble)

aetherArtifact <<= (aetherArtifact, appmgrBuild) map { (art, build) =>
  art.attach(build, "appmgr", "zip")
}
<commit_msg>Added nexus as publish target<commit_after>organization := "no.java.ems"

scalaVersion := "2.11.4"

scalacOptions := Seq("-deprecation", "-feature")

val unfilteredVersion = "0.8.3"

val joda = Seq(
  "joda-time" % "joda-time" % "2.2",
  "org.joda" % "joda-convert" % "1.2"
)

val unfiltered = Seq(
  "net.databinder" %% "unfiltered-filter" % unfilteredVersion,
  "net.databinder" %% "unfiltered-directives" % unfilteredVersion,
  "net.databinder" %% "unfiltered-jetty" % unfilteredVersion,
  "com.jteigen" %% "linx" % "0.2",
  "org.slf4j" % "slf4j-api" % "1.7.7"
)

libraryDependencies ++= joda ++ unfiltered ++ Seq(
  "org.ini4j" % "ini4j" % "0.5.2",
  "org.constretto" %% "constretto-scala" % "1.1",
  "net.hamnaberg.rest" %% "scala-json-collection" % "2.3",
  "com.andersen-gott" %% "scravatar" % "1.0.3",
  "com.sksamuel.scrimage" %% "scrimage-core" % "1.4.2",
  "org.jsoup" % "jsoup" % "1.7.2",
  "commons-io" % "commons-io" % "2.3",
  "org.mongodb" %% "casbah-core" % "2.7.3",
  "org.mongodb" %% "casbah-gridfs" % "2.7.3",
  "org.mongodb" %% "casbah-query" % "2.7.3",
  "org.specs2" %% "specs2" % "2.4.2" % "test"
)


pomIncludeRepository := {
  x => false
}

crossPaths := false

publishTo := Some("JavaBin Nexus repo" at "http://ymse.javazone.no/nexus/content/repositories/snapshots")

credentials += Credentials(Path.userHome / ".javabin.credentials")

aetherPublishBothSettings

appAssemblerSettings

appOutput in App := target.value / "appmgr" / "root"

appmgrSettings

appmgrBuild <<= appmgrBuild.dependsOn(appAssemble)

aetherArtifact <<= (aetherArtifact, appmgrBuild) map { (art, build) =>
  art.attach(build, "appmgr", "zip")
}

{'fraction_non_alphanumeric': 0.2140781401356151, 'fraction_numerical': 0.033580884727155313, 'mean_word_length': 4.087027914614121, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '7672118', 'n_tokens_mistral': 1410, 'n_tokens_neox': 1355, 'n_words': 213}