Maven failing to resolve recursive dependencies with multiple repositories

匿名 (未验证) 提交于 2019-12-03 01:55:01

问题:

I'm new to maven so there must be something I don't understand. But, I've added multiple repositories to resolve multiple dependencies in my POM file. For some reason its failing while pulling a recursive dependency. I'm dependent on spring and spring depends upon jms, and it can't find jms. I'm not sure who tells maven where to find jms is it me or is it inside the POM for spring? Anyway I've tried adding another repository that contains jms, but it still says it can't find it. Here is my POM.xml:

     4.0.0     com.mycompany     app     war     1.0-SNAPSHOT     app     http://maven.apache.org                           sonatype-nexus-snapshots             Sonatype             http://repository.sonatype.org                                            repo.pentaho.org             repo.pentaho.org-snapshots             http://repository.pentaho.org/artifactory/pentaho                               thirdparty.pentaho.org             repo.pentaho.org-snapshots             http://repository.pentaho.org/artifactory/thirdparty                               com.springsource.repository.bundles.release             EBR Spring Release Repository             http://repository.springsource.com/maven/bundles/release                               com.springsource.repository.bundles.external             EBR External Release Repository             http://repository.springsource.com/maven/bundles/external                             3.0.5.RELEASE                                 junit             junit             3.8.1             test                                mysql             mysql-connector-java             5.1.18             runtime                                log4j             log4j             1.2.15             runtime                                commons-collections             commons-collections             3.2.1             runtime                                commons-codec             commons-codec             1.4             runtime                                commons-logging             commons-logging             1.1.1             runtime                                commons-lang             commons-lang             2.3             runtime                                net.sf.flexjson             flexjson             2.1             runtime                                javax.mail             mail             1.4.1             runtime                                com.jcraft             jsch             0.1.43             runtime                                org.olap4j             olap4j             1.0.0-SNAPSHOT             runtime                                org.olap4j             olap4j-xmla             1.0.0-SNAPSHOT             runtime                                pentaho             mondrian             3.3-SNAPSHOT             runtime         
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!