DATAMONGO-1785 - Downgrade to CDI 1.0.

We now build against CDI 1.0 again while using CDI 2.0 for testing.
This commit is contained in:
Mark Paluch
2017-09-21 13:36:26 +02:00
parent cf476b9bc8
commit 5444ac39b5

View File

@@ -138,6 +138,21 @@
</dependency>
<!-- CDI -->
<!-- Dependency order required to build against CDI 1.0 and test with CDI 2.0 -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jcdi_2.0_spec</artifactId>
<version>1.0.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.interceptor</groupId>
<artifactId>javax.interceptor-api</artifactId>
<version>1.2.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>