Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1605

Ivy can't resolve dependency on maven2 artifact "jersey-media-multipart"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.5.0-rc1
    • None
    • Core, Maven Compatibility
    • None
    • 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

    Description

      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:

      <dependency org="org.glassfish.jersey.media" name="jersey-media-multipart" rev="2.28"/>
      

      My ivysettings.xml looks like this:

      <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>
      

      After I run the build.xml (below is my resolve statement extract from build.xml that looks like this):

      <!-- =================================
      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>
      

      ... I get this error:

      [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
      

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            rejkid Janusz Dalecki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: