<commit_before>import sbt._
import Keys._
import play.Project._

object ApplicationBuild extends Build {

  val appName         = "play-html-compressor"
  val appVersion      = "0.1-SNAPSHOT"

  val appDependencies = Seq(
    "com.googlecode.htmlcompressor" % "htmlcompressor" % "1.5.2",
    "rhino" % "js" % "1.7R2"
  )

  val pom =
    <scm>
      <url><EMAIL>:mohiva/play-html-compressor.git</url>
      <connection>scm:git:<EMAIL>:mohiva/play-html-compressor.git</connection>
    </scm>
    <developers>
      <developer>
        <id>akkie</id>
        <name><NAME></name>
        <url>http://mohiva.com</url>
      </developer>
    </developers>
  ;

  val main = play.Project(appName, appVersion, appDependencies).settings(
    organization := "com.mohiva",
    description := "Google's HTML Compressor for Play Framework 2.1",
    homepage := Some(url("https://github.com/mohiva/play-html-compressor")),
    licenses := Seq("BSD New" -> url("https://github.com/mohiva/play-html-compressor/blob/master/LICENSE.md")),
    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")
    },
    publishMavenStyle := true,
    publishArtifact in Test := false,
    pomIncludeRepository := { _ => false },
    pomExtra := pom
  )
}<commit_msg>Use credentials for Sonatype as described here: http://www.cakesolutions.net/teamblogs/2012/01/28/publishing-sbt-projects-to-nexus/comment-page-1/#comment-6235<commit_after>import sbt._
import Keys._
import play.Project._

object ApplicationBuild extends Build {

  val appName         = "play-html-compressor"
  val appVersion      = "0.1-SNAPSHOT"

  val appDependencies = Seq(
    "com.googlecode.htmlcompressor" % "htmlcompressor" % "1.5.2",
    "rhino" % "js" % "1.7R2"
  )

  val pom =
    <scm>
      <url><EMAIL>:mohiva/play-html-compressor.git</url>
      <connection>scm:git:<EMAIL>:mohiva/play-html-compressor.git</connection>
    </scm>
    <developers>
      <developer>
        <id>akkie</id>
        <name><NAME></name>
        <url>http://mohiva.com</url>
      </developer>
    </developers>
  ;

  val main = play.Project(appName, appVersion, appDependencies).settings(
    organization := "com.mohiva",
    description := "Google's HTML Compressor for Play Framework 2.1",
    homepage := Some(url("https://github.com/mohiva/play-html-compressor")),
    licenses := Seq("BSD New" -> url("https://github.com/mohiva/play-html-compressor/blob/master/LICENSE.md")),
    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")
    },
    publishMavenStyle := true,
    publishArtifact in Test := false,
    pomIncludeRepository := { _ => false },
    pomExtra := pom,
    credentials += Credentials(Path.userHome / ".sbt" / "sonatype.credentials")
  )
}
{'fraction_non_alphanumeric': 0.1601150527325024, 'fraction_numerical': 0.011185682326621925, 'mean_word_length': 3.129287598944591, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 47, 'https://': 6, 'lorem ipsum': 0, 'www.': 1, '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': '4968619', 'n_tokens_mistral': 1117, 'n_tokens_neox': 1072, 'n_words': 185}