Skip to content
This repository has been archived by the owner on Dec 30, 2019. It is now read-only.

Commit

Permalink
publishing code under two licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Jenson committed May 28, 2010
1 parent 9679f57 commit 52708e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README
Expand Up @@ -2,5 +2,5 @@ Scala JSON toolkit originally lifted from Martin Odersky et al's
Programming Scala book. We tightened up some edge cases and added
complete test coverage.

Thanks,
Twitter, Inc.
Original code is under the Scala license (LICENSE.scala) and Twitter modifications
are available under the Apache 2 license (LICENSE).
8 changes: 7 additions & 1 deletion project/build/ScalaJsonProject.scala
Expand Up @@ -7,7 +7,8 @@ class ScalaJsonProject(info: ProjectInfo) extends StandardProject(info) {
val vscaladoc = "org.scala-tools" % "vscaladoc" % "1.1-md-3"
val configgy = "net.lag" % "configgy" % "1.5.3"

val publishTo = Resolver.sftp("green.lag.net", "green.lag.net", "/web/repo")
Credentials(Path.userHome / ".ivy2" / "credentials", log)
val publishTo = "nexus" at "http://nexus.scala-tools.org/content/repositories/releases/"

override def pomExtra =
<licenses>
Expand All @@ -16,5 +17,10 @@ class ScalaJsonProject(info: ProjectInfo) extends StandardProject(info) {
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
<license>
<name>Scala License</name>
<url>http://www.scala-lang.org/node/146</url>
<distribution>repo</distribution>
</license>
</licenses>
}

0 comments on commit 52708e9

Please sign in to comment.