DATAGEODE-42 - 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:54:57 +02:00
parent 8626e1e7b0
commit 8abbfda619

24
pom.xml
View File

@@ -50,7 +50,29 @@
<dependencies>
<!-- Java EE -->
<!-- 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.el</groupId>
<artifactId>el-api</artifactId>
<version>2.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>