File tree Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 1
1
# ScalaTest + JUnit
2
2
ScalaTest + JUnit provides integration support between ScalaTest and JUnit.
3
+
4
+ ** Publishing**
5
+
6
+ Please use the following commands to publish to Sonatype:
7
+
8
+ ```
9
+ $ sbt +publishSigned
10
+ ```
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name := "scalatestplus-junit"
2
2
3
3
organization := " org.scalatestplus"
4
4
5
- version := " 1.0.0-SNAP3 "
5
+ version := " 1.0.0-SNAP4 "
6
6
7
7
homepage := Some (url(" https://github.com/scalatest/scalatestplus-junit" ))
8
8
@@ -36,6 +36,28 @@ testOptions in Test :=
36
36
" -m" , " org.scalatestplus.junit" ,
37
37
))
38
38
39
+ enablePlugins(SbtOsgi )
40
+
41
+ osgiSettings
42
+
43
+ OsgiKeys .exportPackage := Seq (
44
+ " org.scalatestplus.junit.*"
45
+ )
46
+
47
+ OsgiKeys .importPackage := Seq (
48
+ " org.scalatest.*" ,
49
+ " org.scalactic.*" ,
50
+ " scala.*;version=\" $<range;[==,=+);$<replace;" + scalaBinaryVersion.value+ " ;-;.>>\" " ,
51
+ " *;resolution:=optional"
52
+ )
53
+
54
+ OsgiKeys .additionalHeaders:= Map (
55
+ " Bundle-Name" -> " ScalaTestPlusJUnit" ,
56
+ " Bundle-Description" -> " ScalaTest+JUnit is an open-source integration library between ScalaTest and JUnit for Scala projects." ,
57
+ " Bundle-DocURL" -> " http://www.scalatest.org/" ,
58
+ " Bundle-Vendor" -> " Artima, Inc."
59
+ )
60
+
39
61
publishTo := {
40
62
val nexus = " https://oss.sonatype.org/"
41
63
Some (" publish-releases" at nexus + " service/local/staging/deploy/maven2" )
Original file line number Diff line number Diff line change 1
1
addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.1.1" )
2
2
3
3
addSbtPlugin(" com.geirsson" % " sbt-ci-release" % " 1.2.2" )
4
+
5
+ addSbtPlugin(" com.typesafe.sbt" % " sbt-osgi" % " 0.9.4" )
You can’t perform that action at this time.
0 commit comments