exceptionfactory opened a new pull request, #7925:
URL: https://github.com/apache/nifi/pull/7925

   # Summary
   
   [NIFI-12266](https://issues.apache.org/jira/browse/NIFI-12266) Adds 
`nifi-standard-shared-nar` and `nifi-standard-shared-bom` modules for managing 
a common set dependencies for most extension components.
   
   The `nifi-standard-shared-nar` includes JAR libraries that are applicable 
many extension components, and has a parent NAR of 
`nifi-standard-services-api-nar` to align with existing parent NAR 
configurations.
   
   The `nifi-standard-shared-bom` sets the `provided` scope for common 
dependencies and serves as the parent Maven module for extension bundles that 
make use of the new `nifi-standard-shared-nar`.
   
   Most of the changes include replacing `nifi-standard-services-api-nar` with 
`nifi-standard-shared-nar` in extension NAR configurations, and changing the 
parent module to `nifi-standard-shared-bom`. The parent module approach is 
necessary to inherit the `provided` scope definition instead of the default 
`compile` scoped set in the root Maven configuration.
   
   The shared dependencies include the following libraries:
   
   - Apache Commons libraries such as commons-lang3 and commons-io
   - Bouncy Castle Provider and PKI extensions
   - Jackson JSON core and databind
   - Caffeine Cache
   - OkHttp with Kotlin standard libraries
   - Netty 4 Handler and common libraries
   
   The introduction of these changes removes over 350 MB of duplicated 
dependencies from the convenience binary assembly.
   
   This approach allows extension components to set the appropriate parent 
module and NAR dependencies for shared runtime versions, or maintain 
`nifi-standard-services-api-nar` as the parent NAR and use alternative versions 
when necessary.
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [X] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue 
created
   
   ### Pull Request Tracking
   
   - [X] Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-00000`
   - [X] Pull Request commit message starts with Apache NiFi Jira issue number, 
as such `NIFI-00000`
   
   ### Pull Request Formatting
   
   - [X] Pull Request based on current revision of the `main` branch
   - [X] Pull Request refers to a feature branch with one commit containing 
changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [X] Build completed using `mvn clean install -P contrib-check`
     - [X] JDK 21
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to