This is an automated email from the ASF dual-hosted git repository.

miroslav pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 53b51f29e4 Issues/oak 10770 (#1428)
53b51f29e4 is described below

commit 53b51f29e40cd0f0f9e30999751b63de64038737
Author: t-rana <145645280+t-r...@users.noreply.github.com>
AuthorDate: Thu Apr 25 19:46:34 2024 +0530

    Issues/oak 10770 (#1428)
    
    * OAK-10770: embed runtime dependencies of azure identity in 
oak-segment-azure
    
    * OAK-10770: remove unused imports, refactor dependencies
    
    * OAK-10770: add imports, refactor dependencies
---
 oak-parent/pom.xml        |  61 +++++++++++++++++---
 oak-segment-azure/pom.xml | 144 +++++++++++++++++++++++++++++++++++++++-------
 2 files changed, 176 insertions(+), 29 deletions(-)

diff --git a/oak-parent/pom.xml b/oak-parent/pom.xml
index e5bb87a05f..914f10915c 100644
--- a/oak-parent/pom.xml
+++ b/oak-parent/pom.xml
@@ -733,11 +733,8 @@
         <artifactId>azure-identity</artifactId>
         <version>1.11.3</version>
       </dependency>
-      <dependency>
-        <groupId>com.azure</groupId>
-        <artifactId>azure-identity-broker</artifactId>
-        <version>1.0.3</version>
-      </dependency>
+
+      <!-- Azure identity transitive dependencies  -->
       <dependency>
         <groupId>com.azure</groupId>
         <artifactId>azure-core</artifactId>
@@ -748,10 +745,60 @@
         <artifactId>azure-json</artifactId>
         <version>1.1.0</version>
       </dependency>
+      <dependency>
+        <groupId>org.reactivestreams</groupId>
+        <artifactId>reactive-streams</artifactId>
+        <version>1.0.4</version>
+      </dependency>
+      <dependency>
+        <groupId>com.microsoft.azure</groupId>
+        <artifactId>msal4j</artifactId>
+        <version>1.14.0</version>
+      </dependency>
+      <dependency>
+        <groupId>io.projectreactor</groupId>
+        <artifactId>reactor-core</artifactId>
+        <version>3.4.34</version>
+      </dependency>
+      <dependency>
+        <groupId>com.nimbusds</groupId>
+        <artifactId>oauth2-oidc-sdk</artifactId>
+        <version>10.7.1</version>
+      </dependency>
+      <dependency>
+        <groupId>com.nimbusds</groupId>
+        <artifactId>nimbus-jose-jwt</artifactId>
+        <version>9.30.2</version>
+      </dependency>
       <dependency>
         <groupId>com.azure</groupId>
-        <artifactId>azure-xml</artifactId>
-        <version>1.0.0-beta.3</version>
+        <artifactId>azure-core-http-netty</artifactId>
+        <version>1.14.1</version>
+      </dependency>
+      <dependency>
+        <groupId>io.projectreactor.netty</groupId>
+        <artifactId>reactor-netty-http</artifactId>
+        <version>1.0.40</version>
+      </dependency>
+      <dependency>
+        <groupId>io.projectreactor.netty</groupId>
+        <artifactId>reactor-netty-core</artifactId>
+        <version>1.0.40</version>
+      </dependency>
+      <dependency>
+        <groupId>net.minidev</groupId>
+        <artifactId>json-smart</artifactId>
+        <version>2.4.10</version>
+      </dependency>
+      <dependency>
+        <groupId>com.nimbusds</groupId>
+        <artifactId>content-type</artifactId>
+        <version>2.2</version>
+      </dependency>
+      <dependency>
+        <groupId>net.minidev</groupId>
+        <artifactId>accessors-smart</artifactId>
+        <version>2.4.9</version>
       </dependency>
 
       <!-- Pax Exam Integration Test Dependencies -->
diff --git a/oak-segment-azure/pom.xml b/oak-segment-azure/pom.xml
index 03eb6fec30..92d010e5e2 100644
--- a/oak-segment-azure/pom.xml
+++ b/oak-segment-azure/pom.xml
@@ -32,6 +32,10 @@
 
     <name>Oak Segment Azure</name>
 
+    <properties>
+        <netty.version>4.1.109.Final</netty.version>
+    </properties>
+
     <build>
         <plugins>
             <plugin>
@@ -46,24 +50,21 @@
                             
com.fasterxml.jackson.databind*;resolution:=optional,
                             
com.fasterxml.jackson.dataformat.xml;resolution:=optional,
                             
com.fasterxml.jackson.datatype*;resolution:=optional,
-                            com.microsoft.aad.msal4j*;resolution:=optional,
-                            
com.nimbusds.common.contenttype;resolution:=optional,
-                            com.nimbusds.jose*;resolution:=optional,
-                            com.nimbusds.jwt;resolution:=optional,
-                            com.nimbusds.jwt.util;resolution:=optional,
-                            com.nimbusds.oauth2.sdk*;resolution:=optional,
-                            com.nimbusds.jwt.proc;resolution:=optional,
+                            
com.azure.identity.broker.implementation;resolution:=optional,
+                            com.azure.xml;resolution:=optional,
+                            
com.microsoft.aad.msal4jextensions*;resolution:=optional,
                             com.nimbusds.langtag;resolution:=optional,
-                            
com.nimbusds.openid.connect.sdk*;resolution:=optional,
-                            com.nimbusds.secevent.sdk*;resolution:=optional,
                             com.sun.jna*;resolution:=optional,
+                            com.sun.net.httpserver;resolution:=optional,
+                            sun.misc;resolution:=optional,
+                            net.jcip.annotations;resolution:=optional,
+                            io.netty.channel.epoll;resolution:=optional,
+                            io.netty.handler.codec.*;resolution:=optional,
+                            org.objectweb.asm;resolution:=optional,
                             !org.apache.jackrabbit.oak.segment*,
                             !com.google.*,
                             !android.os,
                             !org.checkerframework.*,
-                            !org.reactivestreams.*,
-                            !reactor.core.*,
-                            !reactor.util.*,
                             *
                         </Import-Package>
                         <Export-Package>
@@ -81,11 +82,21 @@
                             azure-keyvault-core,
                             azure-core,
                             azure-identity,
-                            azure-identity-broker,
                             azure-json,
-                            azure-xml,
                             guava,
-                            jsr305
+                            jsr305,
+                            reactive-streams,
+                            msal4j,
+                            reactor-core,
+                            oauth2-oidc-sdk,
+                            azure-core-http-netty,
+                            netty-*,
+                            reactor-netty-http,
+                            reactor-netty-core,
+                            json-smart,
+                            content-type,
+                            accessors-smart,
+                            nimbus-jose-jwt
                         </Embed-Dependency>
                         <!-- needed to override value from oak-parent; can be 
removed when OAK-6741 is resolved -->
                         <_plugin />
@@ -182,10 +193,8 @@
             <groupId>com.azure</groupId>
             <artifactId>azure-identity</artifactId>
         </dependency>
-        <dependency>
-            <groupId>com.azure</groupId>
-            <artifactId>azure-identity-broker</artifactId>
-        </dependency>
+
+        <!-- Azure identity transitive dependencies  -->
         <dependency>
             <groupId>com.azure</groupId>
             <artifactId>azure-core</artifactId>
@@ -195,12 +204,103 @@
             <artifactId>azure-json</artifactId>
         </dependency>
         <dependency>
-            <groupId>com.fasterxml.jackson.core</groupId>
-            <artifactId>jackson-databind</artifactId>
+            <groupId>org.reactivestreams</groupId>
+            <artifactId>reactive-streams</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.microsoft.azure</groupId>
+            <artifactId>msal4j</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>io.projectreactor</groupId>
+            <artifactId>reactor-core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.nimbusds</groupId>
+            <artifactId>oauth2-oidc-sdk</artifactId>
         </dependency>
         <dependency>
             <groupId>com.azure</groupId>
-            <artifactId>azure-xml</artifactId>
+            <artifactId>azure-core-http-netty</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-transport</artifactId>
+            <version>${netty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-resolver</artifactId>
+            <version>${netty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-common</artifactId>
+            <version>${netty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-resolver-dns</artifactId>
+            <version>${netty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec-http</artifactId>
+            <version>${netty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec</artifactId>
+            <version>${netty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec-http2</artifactId>
+            <version>${netty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-buffer</artifactId>
+            <version>${netty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-handler</artifactId>
+            <version>${netty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-handler-proxy</artifactId>
+            <version>${netty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-transport-native-unix-common</artifactId>
+            <version>${netty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.projectreactor.netty</groupId>
+            <artifactId>reactor-netty-http</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>io.projectreactor.netty</groupId>
+            <artifactId>reactor-netty-core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>net.minidev</groupId>
+            <artifactId>json-smart</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.nimbusds</groupId>
+            <artifactId>content-type</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.nimbusds</groupId>
+            <artifactId>nimbus-jose-jwt</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>net.minidev</groupId>
+            <artifactId>accessors-smart</artifactId>
         </dependency>
 
 

Reply via email to