Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (18 sloc) 0.782 kb
organization := "com.weiglewilczek.sbteclipse"
name := "sbteclipse"
version := "0.6"
sbtPlugin := true
libraryDependencies += "org.scalaz" %% "scalaz-core" % "6.0.RC2"
publishTo := Some("Scala Tools Nexus" at "http://nexus.scala-tools.org/content/repositories/releases/")
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
pomPostProcess := { (pom: scala.xml.Node) =>
import scala.xml._
import scala.xml.transform._
val rewriteRule = new RewriteRule {
override def transform(n: Node) = n match {
case elem @ Elem(_, "dependency", _, _, _*) if ((elem \ "groupId").text == "org.scala-tools.sbt") && ((elem \ "artifactId").text startsWith "sbt_") => NodeSeq.Empty
case other => other
}
}
new RuleTransformer(rewriteRule)(pom)
}
Jump to Line
Something went wrong with that request. Please try again.