prashant-ramcharan / courgette-jvm

Multiprocess | Parallel Cucumber-JVM | Parallelize your Java Cucumber tests on a feature level or on a scenario level.
MIT License
134 stars 39 forks source link

Courgette version conflict #374

Closed martinmineo closed 1 year ago

martinmineo commented 1 year ago

hi I updated my pom.xml file to have the latest Courgette version and now I'm getting this error

Could not resolve version conflict among [io.cucumber:cucumber-core:jar:7.11.1 -> io.cucumber:messages:jar:21.0.1, io.cucumber:cucumber-core:jar:7.11.1 -> io.cucumber:html-formatter:jar:20.2.1 -> io.cucumber:messages:jar:[18.0.0,22.0.0), io.cucumber:cucumber-core:jar:7.11.1 -> io.cucumber:junit-xml-formatter:jar:0.1.0 -> io.cucumber:messages:jar:[21.0.1,22.0.0), io.qameta.allure:allure-cucumber7-jvm:jar:2.20.1 -> io.cucumber:gherkin:jar:24.0.0 -> io.cucumber:messages:jar:[19.0.0,20.0.0)]

Courgette version: 6.9.1 Cucumber version: 7.11.1

This is part of my pom file

<properties>
        <cucumber.version>7.11.1</cucumber.version>
</properties>

    <dependencies>
        <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-java -->
        <dependency>
            <groupId>io.cucumber</groupId>
            <artifactId>cucumber-java</artifactId>
            <version>${cucumber.version}</version>
            <scope>test</scope>
        </dependency>

        <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-testng -->
        <dependency>
            <groupId>io.cucumber</groupId>
            <artifactId>cucumber-testng</artifactId>
            <version>7.11.1</version>
            <scope>test</scope>
        </dependency>

        <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-picocontainer -->
        <dependency>
            <groupId>io.cucumber</groupId>
            <artifactId>cucumber-picocontainer</artifactId>
            <version>${cucumber.version}</version>
            <scope>test</scope>
        </dependency>

        <!-- https://mvnrepository.com/artifact/io.github.prashant-ramcharan/courgette-jvm -->
        <dependency>
            <groupId>io.github.prashant-ramcharan</groupId>
            <artifactId>courgette-jvm</artifactId>
            <version>6.9.1</version>
        </dependency>

    </dependencies>

Any idea what could be happening?

Thanks!

martinmineo commented 1 year ago

nevermind, it was an error caused by Allure, which I was not using