Skip to content

Commit 5444ac3

Browse files
committedSep 21, 2017
DATAMONGO-1785 - Downgrade to CDI 1.0.
We now build against CDI 1.0 again while using CDI 2.0 for testing.
1 parent cf476b9 commit 5444ac3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
 

‎spring-data-mongodb/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,21 @@
138138
</dependency>
139139

140140
<!-- CDI -->
141+
<!-- Dependency order required to build against CDI 1.0 and test with CDI 2.0 -->
142+
<dependency>
143+
<groupId>org.apache.geronimo.specs</groupId>
144+
<artifactId>geronimo-jcdi_2.0_spec</artifactId>
145+
<version>1.0.1</version>
146+
<scope>test</scope>
147+
</dependency>
148+
149+
<dependency>
150+
<groupId>javax.interceptor</groupId>
151+
<artifactId>javax.interceptor-api</artifactId>
152+
<version>1.2.1</version>
153+
<scope>test</scope>
154+
</dependency>
155+
141156
<dependency>
142157
<groupId>javax.enterprise</groupId>
143158
<artifactId>cdi-api</artifactId>

0 commit comments

Comments
 (0)
Please sign in to comment.