我的ivy.xml无法使用ibiblio解析器解析对“ jersey-media-multipart”库的依赖关系(我认为该解析器的根目录为https://repo1.maven.org/maven2/)。 我有一个ivy.xml文件,其中仅包含一个依赖项,如下所示:
<ivysettings>
<properties file="${ivy.settings.dir}/ivysettings.properties"/>
<settings defaultResolver="maven-repos"/>
<resolvers>
<filesystem name="local">
<ivy pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
<artifact pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}"/>
</filesystem>
<chain name="maven-repos">
<ibiblio name="libraries" m2compatible="true"/>
</chain>
</resolvers>
</ivysettings>
从build.xml中提取的我的resolve语句如下:
<target name="resolve" description="retrieve dependencies with ivy"/>
当常春藤试图解决这种依赖性时,我在常春藤解决命令期间收到错误消息:
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: UNRESOLVED DEPENDENCIES ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: org.glassfish.jersey.media#jersey-media-multipart;2.28: org.glassfish.jersey.media#project;2.28->org.glassfish.jersey#project;2.28->org.eclipse.ee4j#project;1.0.5
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
我已经检查了maven2中央存储库,并验证了https://repo1.maven.org/maven2/org/eclipse/ee4j/project/1.0.5/中是否有pom.xml 叫做project-1.0.5.pom。 为什么我会收到此错误?
亲切的问候, 贾努斯