File tree Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1
1
# ScalaTest + Selenium
2
2
ScalaTest + Selenium provides integration support between ScalaTest and Selenium.
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 @@ -38,6 +38,28 @@ testOptions in Test :=
38
38
" -l" , " org.scalatest.tags.Slow"
39
39
))
40
40
41
+ enablePlugins(SbtOsgi )
42
+
43
+ osgiSettings
44
+
45
+ OsgiKeys .exportPackage := Seq (
46
+ " org.scalatestplus.selenium.*"
47
+ )
48
+
49
+ OsgiKeys .importPackage := Seq (
50
+ " org.scalatest.*" ,
51
+ " org.scalactic.*" ,
52
+ " scala.*;version=\" $<range;[==,=+);$<replace;" + scalaBinaryVersion.value+ " ;-;.>>\" " ,
53
+ " *;resolution:=optional"
54
+ )
55
+
56
+ OsgiKeys .additionalHeaders:= Map (
57
+ " Bundle-Name" -> " ScalaTestPlusSelenium" ,
58
+ " Bundle-Description" -> " ScalaTest+Selenium is an open-source integration library between ScalaTest and Selenium for Scala projects." ,
59
+ " Bundle-DocURL" -> " http://www.scalatest.org/" ,
60
+ " Bundle-Vendor" -> " Artima, Inc."
61
+ )
62
+
41
63
publishTo := {
42
64
val nexus = " https://oss.sonatype.org/"
43
65
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