[ 
https://issues.apache.org/jira/browse/IVY-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980242#comment-16980242
 ] 

Eric Milles commented on IVY-1605:
----------------------------------

Circular dependency is not the issue we are seeing.  We get cache in some kind 
of bad state followed by failure to resolve dependencies.  Removing cache 
directories for the failed artifacts has been the only resolution.

> Ivy can't resolve dependency on maven2 artifact "jersey-media-multipart"
> ------------------------------------------------------------------------
>
>                 Key: IVY-1605
>                 URL: https://issues.apache.org/jira/browse/IVY-1605
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core, Maven Compatibility
>    Affects Versions: 2.5.0-rc1
>         Environment: OS: Windows 10
> Java : Java 1.8
> Apache Ant(TM) version 1.9.14 compiled on March 12 2019
> Apache Ivy 2.5.0-rc1 - 20180412005306
>            Reporter: Janusz Dalecki
>            Priority: Major
>
> Hi,
> I am reprting this as a bug as I have published the problem on ivy forum and 
> I was asked to submit it as a possible problem in ivy.
> It is reproducible as I desribe it below:
>  
> I have an ivy.xml file that includes just one dependency like this:
> {code:java}
> <dependency org="org.glassfish.jersey.media" name="jersey-media-multipart" 
> rev="2.28"/>
> {code}
> My ivysettings.xml looks like this:
> {code:java}
> <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>
> {code}
> After I run the build.xml (below is my resolve statement extract from 
> build.xml that looks like this):
> {code:java}
> <!-- =================================
> target: resolve
> ================================= -->
> <target name="resolve" description="--> retrieve dependencies with ivy">
> <!-- conf="*" will copie artifacts defined for each conf in a dir matching 
> conf name -->
> <ivy:retrieve 
> pattern="${ivy.lib.dir}/[conf]/[artifact]-[type]-[revision].[ext]"/>
> </target>
> {code}
> ... I get this error:
> {code:java}
> [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
> {code}
> I have checked that in the central repository there is a pom.xml in 
> https://repo1.maven.org/maven2/org/eclipse/ee4j/project/1.0.5/ repository 
> called project-1.0.5.pom .
> Kind Regards,
> Janusz



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to