Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-65

Error finding org.apache.ivy.Ivy from ArtifactoryIvySettingsConfigurator

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.5
    • Component/s: Ivy
    • Labels:
      None

      Attachments

        Activity

        Hide
        cohen.tomer Tomer Cohen added a comment -

        This is caused due to a space in the ivy jar path

        Show
        cohen.tomer Tomer Cohen added a comment - This is caused due to a space in the ivy jar path
        Hide
        cohen.tomer Tomer Cohen added a comment -

        I've reproduced your issue - you simply need to use quotes around the path to the Ivy lib jar, if the path contains spaces, e.g.:
        -lib "C:/Program Files/apache-ivy-2.1.0/ivy-2.1.0.jar"

        Show
        cohen.tomer Tomer Cohen added a comment - I've reproduced your issue - you simply need to use quotes around the path to the Ivy lib jar, if the path contains spaces, e.g.: -lib "C:/Program Files/apache-ivy-2.1.0/ivy-2.1.0.jar"
        Hide
        bvakili Bijan Vakili added a comment -

        I'm suspecting this ticket have been closed prematurely. I have reproduced this problem on Solaris. The Apache Ivy jar needs to be added as a dependency for this plugin.

        I'm attaching a suggested patch to the Maven pom.xml for this plugin that should fix this for all platforms.

        Show
        bvakili Bijan Vakili added a comment - I'm suspecting this ticket have been closed prematurely. I have reproduced this problem on Solaris. The Apache Ivy jar needs to be added as a dependency for this plugin. I'm attaching a suggested patch to the Maven pom.xml for this plugin that should fix this for all platforms.
        Hide
        cohen.tomer Tomer Cohen added a comment -

        The plugin intentionally relies on an external ivy configuration setup, as required by the Hudson-Ivy plugin with which the Hudson-Artifactory plugin integrates with.

        This gives the flexibility to have your own Ivy setup, and avoid bloating the plugin binary with Ivy and all its transitive dependencies.

        Show
        cohen.tomer Tomer Cohen added a comment - The plugin intentionally relies on an external ivy configuration setup, as required by the Hudson-Ivy plugin with which the Hudson-Artifactory plugin integrates with. This gives the flexibility to have your own Ivy setup, and avoid bloating the plugin binary with Ivy and all its transitive dependencies.

          People

          • Assignee:
            cohen.tomer Tomer Cohen
            Reporter:
            elig Eli Givoni
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: