Skip to content

Commit b4c607c

Browse files
committed
Add support for publishing on Sonatype. Drop support for Scala 2.9 due to compilation issues.
1 parent e97525c commit b4c607c

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

scala-console/build.sbt

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ organization := "net.sf.ij-plugins"
88
version := "1.1.3"
99

1010
// Version of scala to use
11-
crossScalaVersions := Seq("2.11.7", "2.10.6", "2.9.3")
11+
crossScalaVersions := Seq("2.11.7", "2.10.6")
1212

1313
scalaVersion <<= crossScalaVersions {versions => versions.head}
1414

@@ -53,4 +53,26 @@ ijPluginsSubDir := "ij-plugins"
5353

5454
ijExclusions += """nativelibs4java\S*"""
5555

56-
cleanFiles += ijPluginsDir.value
56+
cleanFiles += ijPluginsDir.value
57+
58+
// Info needed sync with Maven central.
59+
pomExtra in Global := {
60+
<url>(your project URL)</url>
61+
<licenses>
62+
<license>
63+
<name>GNU Lesser General Public License</name>
64+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
65+
</license>
66+
</licenses>
67+
<scm>
68+
<connection>scm:svn://svn.code.sf.net/p/ij-plugins/code/trunk</connection>
69+
<developerConnection>scm:svn://svn.code.sf.net/p/ij-plugins/code/trunk</developerConnection>
70+
<url>http://sourceforge.net/projects/ij-plugins/</url>
71+
</scm>
72+
<developers>
73+
<developer>
74+
<id>jsacha</id>
75+
<name>Jarek Sacha</name>
76+
</developer>
77+
</developers>
78+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// [https://github.com/xerial/sbt-sonatype]
2+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "1.1")
3+
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")

0 commit comments

Comments
 (0)