[jira] [Commented] (NIFI-12266) Add Standard Shared NAR for Common Dependencies
[ https://issues.apache.org/jira/browse/NIFI-12266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17785409#comment-17785409 ] ASF subversion and git services commented on NIFI-12266: Commit 75351b7067fcde3bd63c5607d87141861978ab43 in nifi's branch refs/heads/support/nifi-1.x from David Handermann [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=75351b7067 ] NIFI-12266 Added Standard Shared NAR and BOM - Added nifi-standard-shared-nar with common dependencies - Added nifi-standard-shared-bom with provided scope for parent module references Signed-off-by: Pierre Villard This closes #8008. > Add Standard Shared NAR for Common Dependencies > --- > > Key: NIFI-12266 > URL: https://issues.apache.org/jira/browse/NIFI-12266 > Project: Apache NiFi > Issue Type: Improvement > Components: Extensions >Reporter: David Handermann >Assignee: David Handermann >Priority: Major > Fix For: 2.0.0, 1.latest > > Time Spent: 40m > Remaining Estimate: 0h > > Numerous extension components share a small number of similar libraries. With > selective version management in the root Maven configuration, these common > dependencies have the same version when bundled into various NAR files. The > current packaging structure has most extension NAR files depending on > {{{}nifi-standard-services-api-nar{}}}, which is scoped to common service API > modules that do not have additional dependencies. > Introducing a new intermediate NAR to package common versions of several > shared dependencies would provide a notable size reduction for binary builds. > A new standard shared NAR should contain a limited set a dependencies that > are broadly applicable to extension components, which will allow these > components to set shared dependencies with the {{provided}} scope, avoiding > direct inclusion in the extension NAR. > The standard shared NAR should depend on > {{{}nifi-standard-services-api-nar{}}}, allowing components to opt out of the > standard shared dependency version if absolutely necessary. > The following libraries are good candidates for inclusion in a standard > shared NAR based on the number of references and the sizes of the > dependencies: > * Apache Commons libraries such as commons-lang3 and commons-io > * Jackson JSON > * Bouncy Castle > * Netty 4 > * OkHttp with Kotlin -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (NIFI-12266) Add Standard Shared NAR for Common Dependencies
[ https://issues.apache.org/jira/browse/NIFI-12266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17779588#comment-17779588 ] ASF subversion and git services commented on NIFI-12266: Commit bd4ba343399ddd9f2b722d48b21f3258f34f8401 in nifi's branch refs/heads/main from David Handermann [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=bd4ba34339 ] NIFI-12266 Added Standard Shared NAR and BOM (#7925) - Added nifi-standard-shared-nar with common dependencies - Added nifi-standard-shared-bom with provided scope for parent module references > Add Standard Shared NAR for Common Dependencies > --- > > Key: NIFI-12266 > URL: https://issues.apache.org/jira/browse/NIFI-12266 > Project: Apache NiFi > Issue Type: Improvement > Components: Extensions >Reporter: David Handermann >Assignee: David Handermann >Priority: Major > Fix For: 2.latest > > Time Spent: 0.5h > Remaining Estimate: 0h > > Numerous extension components share a small number of similar libraries. With > selective version management in the root Maven configuration, these common > dependencies have the same version when bundled into various NAR files. The > current packaging structure has most extension NAR files depending on > {{{}nifi-standard-services-api-nar{}}}, which is scoped to common service API > modules that do not have additional dependencies. > Introducing a new intermediate NAR to package common versions of several > shared dependencies would provide a notable size reduction for binary builds. > A new standard shared NAR should contain a limited set a dependencies that > are broadly applicable to extension components, which will allow these > components to set shared dependencies with the {{provided}} scope, avoiding > direct inclusion in the extension NAR. > The standard shared NAR should depend on > {{{}nifi-standard-services-api-nar{}}}, allowing components to opt out of the > standard shared dependency version if absolutely necessary. > The following libraries are good candidates for inclusion in a standard > shared NAR based on the number of references and the sizes of the > dependencies: > * Apache Commons libraries such as commons-lang3 and commons-io > * Jackson JSON > * Bouncy Castle > * Netty 4 > * OkHttp with Kotlin -- This message was sent by Atlassian Jira (v8.20.10#820010)