exceptionfactory commented on PR #8249:
URL: https://github.com/apache/nifi/pull/8249#issuecomment-1900749975

   > > nifi-standard-shared-nar
   > 
   > > @dan-s1 in the process of testing, it is clear that the 
migrateProperties method is not useful in this scenario. I wasn't quite clear 
on the initial comment, but that method can be removed. With moving these 
components to a new NAR, they are effectively treated as new components, so 
automated migration is not possible.
   > > The only other high-level change is to have the `nifi-jolt-bundle` use 
`nifi-standard-shared-bom` as the parent, and set `nifi-standard-shared-nar` as 
the NAR dependency in `nifi-jolt-nar` so that the Jolt NAR does not include 
additional copies of the Jackson JAR libraries.
   > 
   > @exceptionfactory I thought the `nifi-standard-shared-nar` is already a 
dependency in the `nifi-jolt-nar`. Below is a cut and paste from the 
`nifi-jolt-nar` `pom.xml`
   > 
   > ```
   >  <dependency>
   >             <groupId>org.apache.nifi</groupId>
   >             <artifactId>nifi-standard-shared-nar</artifactId>
   >             <type>nar</type>
   >         </dependency>
   > ```
   
   Thanks @dan-s1, you are correct, I just noted that for completeness. The 
other element still needs to be changed so that the bundle uses 
`nifi-standard-shared-bom` as the parent, which will mark the appropriate 
dependencies as provided, thus reducing the NAR size.
   
   If you could address that, and rebase on the current main branch, that would 
be helpful.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to