Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # dev - [jira] [Updated] (KAFKA-809) Dependency on zkclient 0.1 (redundant) prevents building in IntelliJ


Copy link to this message
-
[jira] [Updated] (KAFKA-809) Dependency on zkclient 0.1 (redundant) prevents building in IntelliJ
"Dragos Manolescu 2013-03-26, 16:49

     [ https://issues.apache.org/jira/browse/KAFKA-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dragos Manolescu updated KAFKA-809:
-----------------------------------

    Fix Version/s: 0.8
           Status: Patch Available  (was: Open)

Index: core/build.sbt
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- core/build.sbt (date 1364250148000)
+++ core/build.sbt (date 1364252653000)
@@ -11,7 +11,6 @@
 
 libraryDependencies ++= Seq(
   "org.apache.zookeeper"  % "zookeeper"   % "3.3.4",
-  "com.github.sgroschupf" % "zkclient"    % "0.1",
   "org.xerial.snappy"     % "snappy-java" % "1.0.4.1",
   "org.easymock"          % "easymock"    % "3.0" % "test",
   "junit"                 % "junit"       % "4.1" % "test"
Index: project/Build.scala
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- project/Build.scala (date 1364250148000)
+++ project/Build.scala (date 1364252653000)
@@ -34,7 +34,8 @@
     libraryDependencies ++= Seq(
       "log4j"                 % "log4j"        % "1.2.15",
       "net.sf.jopt-simple"    % "jopt-simple"  % "3.2",
-      "org.slf4j"             % "slf4j-simple" % "1.6.4"
+      "org.slf4j"             % "slf4j-simple" % "1.6.4",
+      "com.101tec"            % "zkclient"     % "0.2"
     ),
     // The issue is going from log4j 1.2.14 to 1.2.15, the developers added some features which required
     // some dependencies on various sun and javax packages.
@@ -100,9 +101,9 @@
   // POM Tweaking for core:
   def zkClientDep =
     <dependency>
-      <groupId>zkclient</groupId>
+      <groupId>com.101tec</groupId>
       <artifactId>zkclient</artifactId>
-      <version>20120522</version>
+      <version>0.2</version>
       <scope>compile</scope>
     </dependency>
 
@@ -116,7 +117,7 @@
       </dependency>
       <dependency>
         <groupId>com.yammer.metrics</groupId>
-        <artifactId>metrics-annotations</artifactId>
+        <artifactId>metrics-annotation</artifactId>
         <version>3.0.0-c0c8be71</version>
         <scope>compile</scope>
       </dependency>
Index: project/build/KafkaProject.scala
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- project/build/KafkaProject.scala (date 1364250148000)
+++ project/build/KafkaProject.scala (date 1364252653000)
@@ -74,7 +74,7 @@
       <dependency>
         <groupId>com.yammer.metrics</groupId>
         <artifactId>metrics-core</artifactId>
-        <version>3.0.0-SNAPSHOT</version>
+        <version>3.0.0-c0c8be71</version>
         <scope>compile</scope>
       </dependency>
 
@@ -82,7 +82,7 @@
       <dependency>
         <groupId>com.yammer.metrics</groupId>
         <artifactId>metrics-annotation</artifactId>
-        <version>3.0.0-SNAPSHOT</version>
+        <version>3.0.0-c0c8be71</version>
         <scope>compile</scope>
       </dependency>
 

                
> Dependency on zkclient 0.1 (redundant) prevents building in IntelliJ
> --------------------------------------------------------------------
>
>                 Key: KAFKA-809
>                 URL: https://issues.apache.org/jira/browse/KAFKA-809
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Dragos Manolescu
>            Priority: Minor
>              Labels: build, patch
>             Fix For: 0.8
>
>
> Per email thread from 3/14/2013; patch with fix included at the end of the description.
> Thanks for looking into this, Dragos. We should remove ""com.github.sgroschupf"
> % "zkclient"    % "0.1"," from the build.sbt files. Would you like to
> create a JIRA and/or attach a patch ?
> -Neha
> On Thu, Mar 14, 2013 at 5:21 PM, Dragos Manolescu <
> [EMAIL PROTECTED]> wrote:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira