Skip to content
This repository was archived by the owner on Feb 20, 2019. It is now read-only.

Remove obsolete pomPostProcess from build #120

Merged
merged 1 commit into from
Apr 16, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -168,31 +168,6 @@ object MyBuild extends Build {
</developer>
</developers>
),
pomPostProcess := { (node: XmlNode) =>
val hardcodeDeps = new RewriteRule {
override def transform(n: XmlNode): XmlNodeSeq = n match {
case e: Elem if e != null && e.label == "dependencies" =>
// NOTE: this is necessary to unbind from paradise 210
// we need to be compiled with paradise 210, because it's the only way to get quasiquotes in 210
// however we don't need to be run with paradise 210, because all quasiquotes expand at compile-time
// http://docs.scala-lang.org/overviews/macros/paradise.html#macro_paradise_for_210x
<dependencies>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.10.2</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-reflect</artifactId>
<version>2.10.2</version>
</dependency>
</dependencies>
case _ => n
}
}
new RuleTransformer(hardcodeDeps).transform(node).head
},
credentials ++= loadCredentials()
)
)
Expand Down