database-rider / database-rider

Database testing made easy!

Home Page:https://database-rider.github.io/database-rider

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jakarta still not working when using `rider-cdi`

sjaakd opened this issue · comments

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>