Jenkins Artifactory Plug-in
  1. Jenkins Artifactory Plug-in
  2. HAP-65

Error finding org.apache.ivy.Ivy from ArtifactoryIvySettingsConfigurator

    Details

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

      Activity

      Hide
      Tomer Cohen
      added a comment -

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

      Show
      Tomer Cohen
      added a comment - This is caused due to a space in the ivy jar path
      Hide
      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
      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
      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
      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
      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
      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:
          Tomer Cohen
          Reporter:
          Eli Givoni
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: