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

It appears that the ignore circular dependency strategy is clobbering the warn strategy

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.0-RC1
    • Fix Version/s: 2.3.0-RC2, 2.4.0-RC1
    • Component/s: Core
    • Labels:

      Description

      In org.apache.ivy.plugins.circular the IgnoreCircularDependencyStrategy class has this constructor:

      private IgnoreCircularDependencyStrategy() {
          super("warn");
      }
      

      Thus is claiming to be the warn strategy and then clobbers the real warn strategy when it is registered in IvySettings.configureDefaultCircularDependencyStrategies()

      I think the fix is to just change the above string to "ignore", so:

      private IgnoreCircularDependencyStrategy() {
          super("ignore");
      }
      

        Attachments

          Activity

            People

            • Assignee:
              hibou Nicolas Lalevée
              Reporter:
              cquinn Carl Quinn
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: