@@ -36,7 +36,7 @@ libraryDependencies += ("org.scalatest" % "scalatest_2.11" % "2.2.2").
36
36
parallelExecution in Test := false
37
37
38
38
// disable publishing of main docs
39
- publishArtifact in (Compile , packageDoc) := false
39
+ // publishArtifact in (Compile, packageDoc) := false
40
40
41
41
42
42
// continuations
@@ -50,6 +50,12 @@ scalacOptions += "-P:continuations:enable"
50
50
scoverage.ScoverageSbtPlugin .ScoverageKeys .coverageHighlighting := false
51
51
52
52
// maven publishing
53
+ publishMavenStyle := true
54
+
55
+ publishArtifact in Test := false
56
+
57
+ pomIncludeRepository := { _ => false }
58
+
53
59
publishTo := {
54
60
val nexus = " https://oss.sonatype.org/"
55
61
val repo = if (version.value.trim.endsWith(" SNAPSHOT" ))
@@ -58,3 +64,33 @@ publishTo := {
58
64
" releases" at nexus + " service/local/staging/deploy/maven2"
59
65
Some (repo)
60
66
}
67
+
68
+ releasePublishArtifactsAction := PgpKeys .publishSigned.value
69
+
70
+ sonatypeProfileName := " org.scala-lang"
71
+
72
+ // Invalid POM: Project URL missing, License information missing, SCM URL missing, Developer information missing
73
+
74
+ description := " Lightweight Modular Staging"
75
+
76
+ homepage := Some (url(" https://scala-lms.github.io" ))
77
+
78
+ licenses := List (" BSD-like" -> url(" http://github.com/TiarkRompf/virtualization-lms-core/tree/master/LICENSE" ))
79
+
80
+ scmInfo
:= Some (
ScmInfo (url(
" https://github.com/TiarkRompf/virtualization-lms-core" ),
" [email protected] :TiarkRompf/virtualization-lms-core.git" ))
81
+
82
+ // developers := List(Developer("tiarkrompf", "Tiark Rompf", "@tiarkrompf", url("http://github.com/tiarkrompf")))
83
+
84
+ pomExtra in Global := {
85
+ <developers >
86
+ <developer >
87
+ <id >tiarkrompf</id >
88
+ <name >Tiark Rompf </name >
89
+ <url >https:// github.com/ tiarkrompf</url >
90
+ </developer >
91
+ </developers >
92
+ }
93
+
94
+
95
+
96
+ // NOTE: sonatypeRelease must be run explicitly, after `sbt release`
0 commit comments