turcsanyip commented on PR #8869:
URL: https://github.com/apache/nifi/pull/8869#issuecomment-2127433526

   Usually I check the pom's on https://search.maven.org/.
   
   First get the `azure-identity` version from the BOM's pom, e.g.:
   https://search.maven.org/artifact/com.azure/azure-sdk-bom/1.2.23/pom
   => 1.12.0
   Then look for the `msal4j` version in the given `azure-identity`'s pom:
   https://search.maven.org/artifact/com.azure/azure-identity/1.12.0/jar
   => 1.15.0
   
   These are version specific URLs so I would not add them in the code.
   
   Our `nifi-azure-graph-authorizer` uses a few `msal4j` 
[classes](https://github.com/apache/nifi/blob/7951b4be80f4416d2cc9b4272fb7e004c64a989e/nifi-extension-bundles/nifi-azure-bundle/nifi-azure-graph-authorizer/src/main/java/org/apache/nifi/authorization/azure/ClientCredentialAuthProvider.java#L30-L33).
 If no compilation error, it should be fine. If there was no common `msal4j` 
version for `azure-identity` and `nifi-azure-graph-authorizer`, then we would 
need to separate the components into 2 nars, I'm afraid. Hopefully, it will not 
happen.


-- 
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