-
Notifications
You must be signed in to change notification settings - Fork 10
/
publish.sbt
31 lines (28 loc) · 1.12 KB
/
publish.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
organization := "com.github.itspawanbhardwaj"
organizationName := "pb"
organizationHomepage := Some(url("https://github.com/itspawanbhardwaj/spark-fuzzy-matching"))
scmInfo := Some(
ScmInfo(
url("https://github.com/itspawanbhardwaj/spark-fuzzy-matching"),
"scm:git@github.com:itspawanbhardwaj/spark-fuzzy-matching.git"
)
)
developers := List(
Developer(
id = "itspawanbhardwaj",
name = "Pawan Bhardwaj",
email = "bhardwaj.2391@gmail.com",
url = url("https://github.com/itspawanbhardwaj/spark-fuzzy-matching")
)
)
description := "Implementation of fuzzy matching algorithms in spark"
licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("https://github.com/itspawanbhardwaj/spark-fuzzy-matching"))
// Remove all additional repository other than Maven Central from POM
pomIncludeRepository := { _ => false }
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishMavenStyle := true