Skip to content

Commit 04cf676

Browse files
authored
Merge pull request #13 from ehsavoie/cdi_exclusion
fix dependencies excluding CDI related dependencies from the JakartaEE
2 parents 7fa5e03 + 507b581 commit 04cf676

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

impl/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@
2121
<dependency>
2222
<groupId>io.github.a2asdk</groupId>
2323
<artifactId>a2a-java-sdk-server-common</artifactId>
24+
<exclusions>
25+
<exclusion>
26+
<groupId>jakarta.enterprise</groupId>
27+
<artifactId>jakarta.enterprise.cdi-api</artifactId>
28+
</exclusion>
29+
<exclusion>
30+
<groupId>jakarta.inject</groupId>
31+
<artifactId>jakarta.inject-api</artifactId>
32+
</exclusion>
33+
</exclusions>
2434
</dependency>
2535
<dependency>
2636
<groupId>io.github.a2asdk</groupId>
@@ -38,6 +48,16 @@
3848
<type>test-jar</type>
3949
<scope>test</scope>
4050
</dependency>
51+
<dependency>
52+
<groupId>jakarta.inject</groupId>
53+
<artifactId>jakarta.inject-api</artifactId>
54+
<scope>provided</scope>
55+
</dependency>
56+
<dependency>
57+
<groupId>jakarta.enterprise</groupId>
58+
<artifactId>jakarta.enterprise.cdi-api</artifactId>
59+
<scope>provided</scope>
60+
</dependency>
4161
<dependency>
4262
<groupId>jakarta.ws.rs</groupId>
4363
<artifactId>jakarta.ws.rs-api</artifactId>

tck/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@
3939
<groupId>com.fasterxml.jackson.datatype</groupId>
4040
<artifactId>*</artifactId>
4141
</exclusion>
42-
<exclusion>
43-
<groupId>jakarta.enterprise</groupId>
44-
<artifactId>jakarta.enterprise.cdi-api</artifactId>
45-
</exclusion>
46-
<exclusion>
47-
<groupId>jakarta.inject</groupId>
48-
<artifactId>jakarta.inject-api</artifactId>
49-
</exclusion>
5042
</exclusions>
5143
</dependency>
5244
<dependency>

0 commit comments

Comments
 (0)