Skip to content

Commit eb0cbad

Browse files
author
Joachim Hofer
committed
merged with Andreas' changes
2 parents 68d9523 + fdd14e3 commit eb0cbad

File tree

4 files changed

+41
-36
lines changed

4 files changed

+41
-36
lines changed

build.sbt

-36
Original file line numberDiff line numberDiff line change
@@ -18,39 +18,3 @@ scalacOptions ++= Seq("-unchecked", "-deprecation")
1818

1919
seq(ScriptedPlugin.scriptedSettings: _*)
2020

21-
publishTo <<= version { v: String =>
22-
val nexus = "https://oss.sonatype.org/"
23-
if (v.trim.endsWith("SNAPSHOT"))
24-
Some("snapshots" at nexus + "content/repositories/snapshots")
25-
else
26-
Some("releases" at nexus + "service/local/staging/deploy/maven2")
27-
}
28-
29-
publishMavenStyle := true
30-
31-
publishArtifact in Test := false
32-
33-
pomIncludeRepository := { x => false }
34-
35-
pomExtra := (
36-
<url>http://www.bitbucket.org/jmhofer/findbugs4sbt</url>
37-
<licenses>
38-
<license>
39-
<name>Eclipse Public License v1.0</name>
40-
<url>http://www.eclipse.org/legal/epl-v10.html</url>
41-
<distribution>repo</distribution>
42-
</license>
43-
</licenses>
44-
<scm>
45-
<url>https://bitbucket.org/jmhofer/findbugs4sbt</url>
46-
<connection>scm:hg:https://bitbucket.org/jmhofer/findbugs4sbt</connection>
47-
</scm>
48-
<developers>
49-
<developer>
50-
<id>johofer</id>
51-
<name>Joachim Hofer</name>
52-
<url>http://jmhofer.johoop.de</url>
53-
</developer>
54-
</developers>
55-
)
56-

project/build.properties

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sbt.version=0.11.2

project/build.sbt renamed to project/plugins.sbt

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ resolvers += Resolver.url("Typesafe repository - Snapshots", new java.net.URL("h
22

33
resolvers += Resolver.url("Typesafe repository - Releases", new java.net.URL("http://typesafe.artifactoryonline.com/typesafe/ivy-releases/"))(Patterns(false, "[organisation]/[module]/[revision]/jars/[artifact].[ext]"))
44

5+
resolvers += Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
6+
7+
addSbtPlugin("com.jsuereth" % "xsbt-gpg-plugin" % "0.6")
8+
59
libraryDependencies <++= (sbtVersion) { sv => Seq(
610
"org.scala-tools.sbt" %% "scripted-plugin" % sv,
711
"org.scala-tools.sbt" %% "scripted-sbt" % sv) }

publish.sbt

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
publishTo <<= version { v: String =>
2+
val nexus = "https://oss.sonatype.org/"
3+
if (v.trim.endsWith("SNAPSHOT"))
4+
Some("snapshots" at nexus + "content/repositories/snapshots")
5+
else
6+
Some("releases" at nexus + "service/local/staging/deploy/maven2")
7+
}
8+
9+
publishMavenStyle := true
10+
11+
publishArtifact in Test := false
12+
13+
pomIncludeRepository := { x => false }
14+
15+
pomExtra := (
16+
<url>http://www.bitbucket.org/jmhofer/jacoco4sbt</url>
17+
<licenses>
18+
<license>
19+
<name>Eclipse Public License v1.0</name>
20+
<url>http://www.eclipse.org/legal/epl-v10.html</url>
21+
<distribution>repo</distribution>
22+
</license>
23+
</licenses>
24+
<scm>
25+
<url>https://bitbucket.org/jmhofer/jacoco4sbt</url>
26+
<connection>scm:hg:https://bitbucket.org/jmhofer/jacoco4sbt</connection>
27+
</scm>
28+
<developers>
29+
<developer>
30+
<id>johofer</id>
31+
<name>Joachim Hofer</name>
32+
<url>http://jmhofer.johoop.de</url>
33+
</developer>
34+
</developers>
35+
)
36+

0 commit comments

Comments
 (0)