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

amccright pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c2db4d  Make CDI and MP Config dependencies optional
     new c56271e  Merge pull request #805 from brevilo/mp-optional-config-cdi
0c2db4d is described below

commit 0c2db4dfa83ec2db0eeae2461b36b202aacbf01c
Author: Oliver Behnke <[email protected]>
AuthorDate: Fri May 28 12:05:05 2021 +0200

    Make CDI and MP Config dependencies optional
    
    * The Rest Client for MicroProfile specification defines CDI and MP Config 
as optional
    * Analogous upstream change: 
https://github.com/eclipse/microprofile-rest-client/pull/309
---
 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 0f1697b..7f599b5 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