Jakarta still not working when using `rider-cdi`
sjaakd opened this issue · comments
Sjaak Derksen commented
rider-cdi transitively pulls in the javax
variant of core. One needs to provide some specific exclusion to fix this. This is a bit confusing.
Version 1.41.0.
Solution:
<dependency>
<groupId>com.github.database-rider</groupId>
<artifactId>rider-cdi</artifactId>
<version>${rider.version}</version>
<classifier>jakarta</classifier>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.github.database-rider</groupId>
<artifactId>rider-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.database-rider</groupId>
<artifactId>rider-core</artifactId>
<version>${rider.version}</version>
<classifier>jakarta</classifier>
<scope>test</scope>
</dependency>