<commit_before>name := "validate"

description := "Lift validate module"

organization := "net.liftmodules"

version := "1.0-SNAPSHOT"

licenses += ("Apache 2.0 License", url("http://www.apache.org/licenses/LICENSE-2.0"))

homepage := Some(url("http://github.com/limansky/lift-validate"))

liftVersion <<= liftVersion ?? "2.6-M2"

liftEdition <<= liftVersion apply { _.substring(0,3) }

moduleName <<= (name, liftEdition) { (n, e) => n + "_" + e }

scalaVersion := "2.10.3"

crossScalaVersions := Seq("2.9.2")

resolvers += "Java.net Maven2 Repository" at "http://download.java.net/maven/2/"

libraryDependencies <++= liftVersion { v => Seq(
  "net.liftweb"     %% "lift-webkit"    % v         % "provided",
  "net.liftweb"     %% "lift-json"      % v         % "provided"
)}

libraryDependencies ++= Seq(
  "org.scalatest"   %% "scalatest"      % "1.9.2"   % "test",
  "org.mockito"     %  "mockito-core"   % "1.9.5"   % "test"
)

scalariformSettings

publishMavenStyle := true

publishArtifact in Test := false

//scmInfo := Some(
//  ScmInfo(
//    url("https://github.com/limansky/lift-salatauth"),
//    "scm:git:https://github.com/limansky/lift-salatauth.git",
//    Some("scm:git:git@github.com:limansky/lift-salatauth.git")
//  )
//)

publishTo := {
  val nexus = "http://maven.e-terra.su/"
  if (version.value.trim.endsWith("SNAPSHOT"))
    Some("snapshots" at nexus + "content/repositories/snapshots")
  else
    Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

pomExtra := (
  <developers>
    <developer>
      <id>limansky</id>
      <name><NAME></name>
      <url>http://github.com/limansky</url>
    </developer>
    <developer>
      <id>victor</id>
      <name><NAME></name>
    </developer>
  </developers>)<commit_msg>Publish to Sonatype.<commit_after>name := "validate"

description := "Lift validate module"

organization := "net.liftmodules"

version := "1.0-SNAPSHOT"

licenses += ("Apache 2.0 License", url("http://www.apache.org/licenses/LICENSE-2.0"))

homepage := Some(url("http://github.com/limansky/lift-validate"))

liftVersion <<= liftVersion ?? "2.6-M2"

liftEdition <<= liftVersion apply { _.substring(0,3) }

moduleName <<= (name, liftEdition) { (n, e) => n + "_" + e }

scalaVersion := "2.10.3"

crossScalaVersions := Seq("2.9.2")

resolvers += "Java.net Maven2 Repository" at "http://download.java.net/maven/2/"

libraryDependencies <++= liftVersion { v => Seq(
  "net.liftweb"     %% "lift-webkit"    % v         % "provided",
  "net.liftweb"     %% "lift-json"      % v         % "provided"
)}

libraryDependencies ++= Seq(
  "org.scalatest"   %% "scalatest"      % "1.9.2"   % "test",
  "org.mockito"     %  "mockito-core"   % "1.9.5"   % "test"
)

scalariformSettings

publishMavenStyle := true

publishArtifact in Test := false

scmInfo := Some(
  ScmInfo(
    url("https://github.com/limansky/lift-validate"),
    "scm:git:https://github.com/limansky/lift-validate.git",
    Some("scm:git:<EMAIL>:limansky/lift-validate.git")
  )
)

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

pomExtra := (
  <developers>
    <developer>
      <id>limansky</id>
      <name><NAME></name>
      <url>http://github.com/limansky</url>
    </developer>
    <developer>
      <id>victor</id>
      <name><NAME></name>
    </developer>
  </developers>)
{'fraction_non_alphanumeric': 0.19616814412353445, 'fraction_numerical': 0.015441807263368601, 'mean_word_length': 3.2972972972972974, 'pattern_counts': {'":': 0, '<': 54, '<?xml version=': 0, '>': 44, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1906706', 'n_tokens_mistral': 1388, 'n_tokens_neox': 1317, 'n_words': 207}