ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-813

maven install is broken due to incorrect organisation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Duplicate
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.2, 3.4.0
    • Component/s: build
    • Labels:
      None

      Description

      SBT doesn't like the pom file for zookeeper because while it's under the "org.apache.hadoop" directory, it's organisation is actually "org.apache.zookeeper". A simple fix for this is to just change "org.apache.zookeeper" to "org.apache.hadoop".

        Issue Links

          Activity

          Hide
          Jeff Hodges added a comment -

          Example bad output:

          [error] :::: ERRORS
          [error] 		ibiblio: bad organisation found in http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom: expected='org.apache.hadoop' found='org.apache.zookeeper'
          [error] 		atlassian: bad organisation found in https://m2proxy.atlassian.com/repository/public/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom: expected='org.apache.hadoop' found='org.apache.zookeeper'
          [error] 		public: bad organisation found in http://repo1.maven.org/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom: expected='org.apache.hadoop' found='org.apache.zookeeper'
          [info] 
          [info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
          [error] sbt.ResolveException: unresolved dependency: org.apache.hadoop#zookeeper;3.3.0: several problems occured while resolving dependency: org.apache.hadoop#zookeeper;3.3.0 {compile=[default(compile)]}:
          [error] 	java.text.ParseException: inconsistent module descriptor file found in 'http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom': bad organisation: expected='org.apache.hadoop' found='org.apache.zookeeper'; 
          [error] 	java.text.ParseException: inconsistent module descriptor file found in 'https://m2proxy.atlassian.com/repository/public/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom': bad organisation: expected='org.apache.hadoop' found='org.apache.zookeeper'; 
          [error] 	java.text.ParseException: inconsistent module descriptor file found in 'http://repo1.maven.org/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom': bad organisation: expected='org.apache.hadoop' found='org.apache.zookeeper'; 
          [info] == update ==
          [error] Error running update: sbt.ResolveException: unresolved dependency: org.apache.hadoop#zookeeper;3.3.0: several problems occured while resolving dependency: org.apache.hadoop#zookeeper;3.3.0 {compile=[default(compile)]}:
          [error] 	java.text.ParseException: inconsistent module descriptor file found in 'http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom': bad organisation: expected='org.apache.hadoop' found='org.apache.zookeeper'; 
          [error] 	java.text.ParseException: inconsistent module descriptor file found in 'https://m2proxy.atlassian.com/repository/public/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom': bad organisation: expected='org.apache.hadoop' found='org.apache.zookeeper'; 
          [error] 	java.text.ParseException: inconsistent module descriptor file found in 'http://repo1.maven.org/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom': bad organisation: expected='org.apache.hadoop' found='org.apache.zookeeper'; 
          
          Show
          Jeff Hodges added a comment - Example bad output: [error] :::: ERRORS [error] ibiblio: bad organisation found in http: //mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom: expected='org.apache.hadoop' found='org.apache.zookeeper' [error] atlassian: bad organisation found in https: //m2proxy.atlassian.com/repository/ public /org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom: expected='org.apache.hadoop' found='org.apache.zookeeper' [error] public : bad organisation found in http: //repo1.maven.org/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom: expected='org.apache.hadoop' found='org.apache.zookeeper' [info] [info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS [error] sbt.ResolveException: unresolved dependency: org.apache.hadoop#zookeeper;3.3.0: several problems occured while resolving dependency: org.apache.hadoop#zookeeper;3.3.0 {compile=[ default (compile)]}: [error] java.text.ParseException: inconsistent module descriptor file found in 'http: //mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom': bad organisation: expected='org.apache.hadoop' found='org.apache.zookeeper'; [error] java.text.ParseException: inconsistent module descriptor file found in 'https: //m2proxy.atlassian.com/repository/ public /org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom': bad organisation: expected='org.apache.hadoop' found='org.apache.zookeeper'; [error] java.text.ParseException: inconsistent module descriptor file found in 'http: //repo1.maven.org/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom': bad organisation: expected='org.apache.hadoop' found='org.apache.zookeeper'; [info] == update == [error] Error running update: sbt.ResolveException: unresolved dependency: org.apache.hadoop#zookeeper;3.3.0: several problems occured while resolving dependency: org.apache.hadoop#zookeeper;3.3.0 {compile=[ default (compile)]}: [error] java.text.ParseException: inconsistent module descriptor file found in 'http: //mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom': bad organisation: expected='org.apache.hadoop' found='org.apache.zookeeper'; [error] java.text.ParseException: inconsistent module descriptor file found in 'https: //m2proxy.atlassian.com/repository/ public /org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom': bad organisation: expected='org.apache.hadoop' found='org.apache.zookeeper'; [error] java.text.ParseException: inconsistent module descriptor file found in 'http: //repo1.maven.org/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom': bad organisation: expected='org.apache.hadoop' found='org.apache.zookeeper';

            People

            • Assignee:
              Jeff Hodges
              Reporter:
              Jeff Hodges
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development