David Handermann created NIFI-12185:
---------------------------------------

             Summary: Add nifi-bom Bill of Materials Dependency
                 Key: NIFI-12185
                 URL: https://issues.apache.org/jira/browse/NIFI-12185
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework, Extensions
            Reporter: David Handermann
            Assignee: David Handermann
             Fix For: 2.latest


The Bill of Materials configuration is a common pattern for larger projects 
with multiple related dependencies. A new nifi-bom Maven module should be 
introduced to define version and scope for public API libraries and selected 
shared dependencies from nifi-commons.

The BOM module will support extensions both within and outside the project, 
streamlining dependency management for extension components. Importing the BOM 
module at the nifi-nar-modules level will ensure that all child projects have 
the same version and scope without the need to declare those properties in each 
individual Maven configuration. This also allows selective overrides for 
framework bundles that do not inherit from the 
{{{}nifi-standard-services-api-nar{}}}.

Introducing the BOM module also supports development of external extensions 
without requiring an Apache NiFi parent module. Importing {{nifi-bom}} in 
external extensions will set the same NiFi library version for declared 
components.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to