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?
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 <[EMAIL PROTECTED]> wrote:
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 <[EMAIL PROTECTED]> wrote:
Jason On Wed, Jul 24, 2013 at 10:37 AM, Jason Rosenberg <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext