diff --git a/build.sbt b/build.sbt index de6cd63..2af3a59 100644 --- a/build.sbt +++ b/build.sbt @@ -124,7 +124,6 @@ lazy val scalaFXExtrasSettings = Seq( }, autoAPIMappings := true, manifestSetting, - publishTo := sonatypePublishToBundle.value, fork in run := true, fork in Test := true, parallelExecution in Test := false, @@ -152,22 +151,19 @@ lazy val manifestSetting = packageOptions += { ) } +import xerial.sbt.Sonatype._ + // Metadata needed by Maven Central // See also http://maven.apache.org/pom.html#Developers lazy val mavenCentralSettings = Seq( homepage := Some(new URL("http://www.scalafx.org/")), startYear := Some(2016), licenses := Seq(("BSD", new URL("https://github.com/scalafx/scalafx-extras/blob/master/LICENSE.txt"))), - pomExtra := - - https://github.com/scalafx/scalafx-extras - scm:git:https://github.com/scalafx/scalafx-extras.git - - - - jpsacha - Jarek Sacha - https://github.com/jpsacha - - + sonatypeProfileName := "org.scalafx", + sonatypeProjectHosting := Some(GitHubHosting("org.scalafx", "scalafx-extras", "jpsacha@gmail.com")), + publishMavenStyle := true, + publishTo := sonatypePublishToBundle.value, + developers := List( + Developer(id="jpsacha", name="Jarek Sacha", email="jpsacha@gmail.com", url=url("https://github.com/jpsacha")) + ) )