SGF-669 - 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:56:35 +02:00
parent 73181af6d0
commit d536c5763d

24
pom.xml
View File

@@ -47,7 +47,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>