Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4936

NiFi parent pom dependency management forcing versions to align defeating classloader isolation

    XMLWordPrintableJSON

Details

    Description

      the top level pom in nifi has a massive dependency management section.  this was used initially to help enforce consistent usage of dependencies across nifi but this also can defeat the purpose of the classloader isolation offered by nars.  We need to push down dependency version declarations to the nar levels where appropriate.

      there have been reported issues of defects happening due to us using much newer versions (or sometimes older) of dependencies due to this dependency management model.  By pushing declarations down to the proper scope each nar/etc.. can use the specific versions of components it needs and we'll stop introducing issues by forcing a different version.

      Attachments

        1. build-fixing
          60 kB
          Joe Witt
        2. NIFI-4936.patch
          419 kB
          Joe Witt
        3. old-vs-new-dependencies.txt
          47 kB
          Joe Witt

        Activity

          People

            mcgilman Matt Gilman
            joewitt Joe Witt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: