DATACOUCH-336 - 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:43:36 +02:00
parent 545881df9e
commit 12e0847dbd

15
pom.xml
View File

@@ -114,6 +114,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>