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

Dependencies ending up in nifi-standard-services-api

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.10.0, 1.11.0, 1.12.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4
    • 1.13.0, 1.12.1
    • None
    • None

    Description

      One of the changes in https://issues.apache.org/jira/browse/NIFI-7407 was a refactoring to the SSLContextService interface which added classes from nifi-security-utils. The result is that nifi-standard-services-api-nar now has transitive dependencies of nifi-security-utils included...

      bcpkix-jdk15on-1.66.jar
      bcprov-jdk15on-1.66.jar
      bcrypt-0.9.0.jar
      bytes-1.3.0.jar
      commons-codec-1.14.jar
      commons-lang3-3.9.jar 

      This means any NAR that has a parent of nifi-standard-services-api-nar, which is most of them, now has these on the classpath which may conflict with versions of the same libraries used in the child NAR.

      We should come up with a way to not depend on nifi-security-utils, or split it up into more isolated modules so that these dependencies don't get brought in to the service APIs.

      Attachments

        Issue Links

          Activity

            People

              alopresto Andy LoPresto
              bbende Bryan Bende
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m