但是当我将它包含在我的 pom.xml 中并运行“mvn package”时,我收到以下错误:
[WARNING] The POM for org.apache.kafka:kafka_2.9.2:jar:0.8.0-beta1 is invalid, transitive
dependencies (if any) will not be available: 1 problem was encountered while building the
effective model
[FATAL] Non-parseable POM
/Users/vikasr/work/more/misc/maven/scalaProject/scalaMavenTest/repository/org/apache/kafka/kafka_2.9.2/ 0.8.0-beta1/kafka_2.9.2-0.8.0-beta1.pom:
Duplicated tag: 'dependencies'
(position: START_TAG seen ...</dependencies>\n <dependencies>... @36:19) @ line 36, column 19
我在这里做错了吗?看起来 maven 对“依赖项”被使用两次并不满意。任何帮助,将不胜感激。