@@ -124,7 +124,6 @@ lazy val scalaFXExtrasSettings = Seq(
124124 },
125125 autoAPIMappings := true ,
126126 manifestSetting,
127- publishTo := sonatypePublishToBundle.value,
128127 fork in run := true ,
129128 fork in Test := true ,
130129 parallelExecution in Test := false ,
@@ -152,22 +151,19 @@ lazy val manifestSetting = packageOptions += {
152151 )
153152}
154153
154+ import xerial .sbt .Sonatype ._
155+
155156// Metadata needed by Maven Central
156157// See also http://maven.apache.org/pom.html#Developers
157158lazy val mavenCentralSettings = Seq (
158159 homepage := Some (new URL (" http://www.scalafx.org/" )),
159160 startYear := Some (2016 ),
160161 licenses := Seq ((" BSD" , new URL (" https://github.com/scalafx/scalafx-extras/blob/master/LICENSE.txt" ))),
161- pomExtra :=
162- <scm >
163- <url >https:// github.com/ scalafx/ scalafx- extras</url >
164- <connection >scm: git: https:// github.com/ scalafx/ scalafx- extras.git</connection >
165- </scm >
166- <developers >
167- <developer >
168- <id >jpsacha</id >
169- <name >Jarek Sacha </name >
170- <url >https:// github.com/ jpsacha</url >
171- </developer >
172- </developers >
162+ sonatypeProfileName := " org.scalafx" ,
163+ sonatypeProjectHosting
:= Some (
GitHubHosting (
" org.scalafx" ,
" scalafx-extras" ,
" [email protected] " )),
164+ publishMavenStyle := true ,
165+ publishTo := sonatypePublishToBundle.value,
166+ developers := List (
167+ Developer (id
= " jpsacha" , name
= " Jarek Sacha" , email
= " [email protected] " , url
= url(
" https://github.com/jpsacha" ))
168+ )
173169)
0 commit comments