[
https://issues.apache.org/jira/browse/NIFI-12185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17773767#comment-17773767
]
ASF subversion and git services commented on NIFI-12185:
--------------------------------------------------------
Commit 98cebc66877ac5ab59c14ae6f4ee32e9bfed1ae2 in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=98cebc6687 ]
NIFI-12185 Added nifi-bom Bill of Materials (#7852)
- Imported nifi-bom to nifi-commons and nifi-nar-bundles parent modules
- Removed explicit version and scope properties for dependencies declared in
nifi-bom
> 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
> Priority: Major
> Fix For: 2.latest
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)