For any Ivy people looking for a workaround, here is an ivysettings.xml that will resolve from Apache repos

https://gist.github.com/mumrah/6070548


On 7/24/13 6:01 AM, Joe Stein 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


Reply via email to