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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.3.0-RC1
    • 2.3.0-RC2, 2.4.0-RC1
    • Core

    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

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

            Dates

              Created:
              Updated:
              Resolved: