-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds details required by Sonatype OSS.
- Loading branch information
Showing
1 changed file
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name := "geonorm" | ||
organization := "org.clulab" | ||
name := "geonorm" | ||
version := "0.9.5" | ||
|
||
scalaVersion := "2.12.8" | ||
|
||
|
@@ -18,3 +19,38 @@ libraryDependencies ++= { | |
"org.scalatest" %% "scalatest" % "3.0.8" % Test, | ||
) | ||
} | ||
|
||
// Additional metadata required by Sonatype OSS | ||
// https://www.scala-sbt.org/1.x/docs/Using-Sonatype.html | ||
|
||
organization := "org.clulab" | ||
organizationName := "computational language understanding lab" | ||
organizationHomepage := Some(url("http://clulab.org/")) | ||
|
||
scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/clulab/geonorm/"), | ||
"scm:[email protected]:clulab/geonorm.git" | ||
) | ||
) | ||
developers := List( | ||
Developer( | ||
id = "steven.bethard", | ||
name = "Steven Bethard", | ||
email = "[email protected]", | ||
url = url("https://bethard.faculty.arizona.edu/") | ||
) | ||
) | ||
|
||
description := "Geographical name normalization (a.k.a. toponym resolution)" | ||
licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")) | ||
homepage := Some(url("https://github.com/clulab/geonorm/")) | ||
|
||
// 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 |