Joe, I've verified that the version of the pom in the apache releases repo works for me (but it still has this issue: https://issues.apache.org/jira/browse/KAFKA-978).
Thanks, Jason On Wed, Jul 24, 2013 at 10:37 AM, Jason Rosenberg <j...@squareup.com> wrote: > Joe, > > Unfortunately, I'm not sure I have an easy way to add that repo to our > build system, since we use a proxy for maven resolution. I'm not seeing an > easy way to add that repo, without it overriding everything in maven > central (which maybe is ok, but I'm not sure). > > It does look like that version will work correctly, however. > > Since we can be certain that the one currently in maven central doesn't > work, would it be possible to upload a patched version there? Or at least > remove the bad one altogether from maven central? (which would allow me to > add the apache releases repo more safely has a lower priority repo than > maven central on our proxy). > > Jason > > > On Wed, Jul 24, 2013 at 6:01 AM, Joe Stein <crypt...@gmail.com> wrote: > >> Hi Jason, can you please try using >> https://repository.apache.org/content/repositories/releases as a >> repository >> until the beta2 release and confirm that works for you so we know the next >> beta will fix things before the 0.8.0 release. Thanks! >> >> /******************************************* >> >> Joe Stein >> Founder, Principal Consultant >> Big Data Open Source Security LLC >> http://www.stealth.ly <http://www.stealth.ly> >> Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> >> >> ********************************************/ >> >> On Wed, Jul 24, 2013 at 1:53 AM, Jason Rosenberg <j...@squareup.com> >> wrote: >> >> > Sorry, I realize now what I am observing here was discussed in a >> previous >> > thread. Although I'm a bit different, in that I'm just trying to use >> > straight maven (no sbt or gradle, etc.). Anyway, the pom in maven >> central >> > is invalid, and should probably be removed, I should think. >> > >> > Jason >> > >> > >> > On Wed, Jul 24, 2013 at 1:47 AM, Jason Rosenberg <j...@squareup.com> >> wrote: >> > >> > > I have been using a pom file for 0.8.0 that I hand-edited from the one >> > > generated with sbt make:pom. Now that there's a version up on maven >> > > central, I'm trying to use that. >> > > >> > > It looks like the pom file hosted now on maven central, is invalid for >> > > maven? >> > > >> > > I'm looking at this: >> > > >> > >> http://search.maven.org/remotecontent?filepath=org/apache/kafka/kafka_2.8.0/0.8.0-beta1/kafka_2.8.0-0.8.0-beta1.pom >> > > >> > > It has 2 <dependencies> sections, which causes this error: >> > > >> > > [WARNING] Invalid POM for >> org.apache.kafka:kafka_2.8.0:jar:0.8.0-beta1, >> > > transitive dependencies (if any) will not be available, enable debug >> > > logging for more details: 1 problem was encountered while building the >> > > effective model >> > > [FATAL] Non-parseable POM >> > > >> > >> /Users/jbr/.m2/repository/org/apache/kafka/kafka_2.8.0/0.8.0-beta1/kafka_2.8.0-0.8.0-beta1.pom: >> > > Duplicated tag: 'dependencies' (position: START_TAG seen >> > > ...</dependencies>\n <dependencies>... @36:19) @ line 36, column >> 19 >> > > for project >> > > >> > > It seems the offending section is: >> > > >> > > <dependencies> >> > > <exclude module="javax"/> >> > > <exclude module="jmxri"/> >> > > <exclude module="jmxtools"/> >> > > <exclude module="mail"/> >> > > <exclude module="jms"/> >> > > <dependency org="org.apache.zookeeper" name="zookeeper" rev="3.3.4"> >> > > <exclude org="log4j" module="log4j"/> >> > > <exclude org="jline" module="jline"/> >> > > </dependency> >> > > </dependencies> >> > > >> > > >> > > Anyway, since I haven't heard of others having this issue, I'm a bit >> > > perplexed. Is everyone just downloading and hosting their own hand >> > edited >> > > version of the is pom file? >> > > >> > > I'm using maven 3.0.3 if that's relevant. >> > > >> > > Jason >> > > >> > >> > >