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

reta pushed a commit to branch 3.4.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.4.x-fixes by this push:
     new 007d5e1  Merge pull request #805 from brevilo/mp-optional-config-cdi
007d5e1 is described below

commit 007d5e14ed2aeae3a945d00f80b7db102699af22
Author: Andy McCright <[email protected]>
AuthorDate: Thu Jul 22 08:38:11 2021 -0500

    Merge pull request #805 from brevilo/mp-optional-config-cdi
    
    Make CDI and MP Config dependencies optional for MicroProfile REST client
---
 rt/rs/microprofile-client/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/rt/rs/microprofile-client/pom.xml 
b/rt/rs/microprofile-client/pom.xml
index ce24857..3e3d838 100644
--- a/rt/rs/microprofile-client/pom.xml
+++ b/rt/rs/microprofile-client/pom.xml
@@ -134,15 +134,20 @@
         <dependency>
             <groupId>org.eclipse.microprofile.config</groupId>
             <artifactId>microprofile-config-api</artifactId>
+            <scope>provided</scope>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>jakarta.annotation</groupId>
             <artifactId>jakarta.annotation-api</artifactId>
+            <scope>provided</scope>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>jakarta.enterprise</groupId>
             <artifactId>jakarta.enterprise.cdi-api</artifactId>
             <scope>provided</scope>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>cglib</groupId>

Reply via email to