kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nehanarkh...@apache.org
Subject svn commit: r1229794 - in /incubator/kafka/trunk: core/lib/zkclient-20110412.jar project/build/KafkaProject.scala
Date Tue, 10 Jan 2012 23:17:45 GMT
Author: nehanarkhede
Date: Tue Jan 10 23:17:45 2012
New Revision: 1229794

URL: http://svn.apache.org/viewvc?rev=1229794&view=rev
Log:
KAFKA-245 Pull zkclient jar from Maven; patched by pyritschard; reviewed by nehanarkhede

Removed:
    incubator/kafka/trunk/core/lib/zkclient-20110412.jar
Modified:
    incubator/kafka/trunk/project/build/KafkaProject.scala

Modified: incubator/kafka/trunk/project/build/KafkaProject.scala
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/project/build/KafkaProject.scala?rev=1229794&r1=1229793&r2=1229794&view=diff
==============================================================================
--- incubator/kafka/trunk/project/build/KafkaProject.scala (original)
+++ incubator/kafka/trunk/project/build/KafkaProject.scala Tue Jan 10 23:17:45 2012
@@ -56,29 +56,10 @@ class KafkaProject(info: ProjectInfo) ex
         <exclude module="log4j"/>
         <exclude module="jline"/>
       </dependency>
+      <dependency org="com.github.sgroschupf" name="zkclient" rev="0.1">
+      </dependency>
     </dependencies>
 
-    def zkClientDep =
-      <dependency>
-       <groupId>zkclient</groupId>
-       <artifactId>zkclient</artifactId>
-       <version>20110412</version>
-       <scope>compile</scope>
-       </dependency>
-
-  object ZkClientDepAdder extends RuleTransformer(new RewriteRule() {
-      override def transform(node: Node): Seq[Node] = node match {
-        case Elem(prefix, "dependencies", attribs, scope, deps @ _*) => {
-          Elem(prefix, "dependencies", attribs, scope, deps ++ zkClientDep :_*)
-        }
-        case other => other
-      }
-    })
-
-    override def pomPostProcess(pom: Node): Node = {
-      ZkClientDepAdder(pom)
-    }
-
     override def artifactID = "kafka"
     override def filterScalaJars = false
 



Mime
View raw message