cucumber-java
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-java</artifactId> <version>7.11.1</version> </dependency>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.cucumber</groupId> <artifactId>cucumber-jvm</artifactId> <version>7.11.1</version> </parent> <artifactId>cucumber-java</artifactId> <packaging>jar</packaging> <name>Cucumber-JVM: Java</name> <properties> <project.Automatic-Module-Name>io.cucumber.java</project.Automatic-Module-Name> <apiguardian-api.version>1.1.2</apiguardian-api.version> <hamcrest.version>2.2</hamcrest.version> <jackson.version>2.14.1</jackson.version> <junit-jupiter.version>5.9.2</junit-jupiter.version> <mockito.version>4.11.0</mockito.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-bom</artifactId> <version>${project.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.junit</groupId> <artifactId>junit-bom</artifactId> <version>${junit-jupiter.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-bom</artifactId> <version>${jackson.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-core</artifactId> </dependency> <dependency> <groupId>org.apiguardian</groupId> <artifactId>apiguardian-api</artifactId> <version>${apiguardian-api.version}</version> </dependency> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-junit-platform-engine</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-suite</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>${hamcrest.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.gmaven</groupId> <artifactId>groovy-maven-plugin</artifactId> <dependencies> <dependency> <groupId>io.cucumber</groupId> <artifactId>gherkin</artifactId> <version>${gherkin.version}</version> </dependency> </dependencies> <executions> <execution> <id>generate-i18n-sources</id> <goals> <goal>execute</goal> </goals> <phase>generate-sources</phase> <configuration> <source>${basedir}/src/main/groovy/generate-annotations.groovy</source> <classpathScope>compile</classpathScope> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${basedir}/target/generated-sources/i18n/java</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <configuration> <!-- Use very specific exclusions to avoid excluding non-generated sources by accident --> <excludes> <!-- ISO 639-1 Language --> <exclude>**/io/cucumber/java/??/*</exclude> <!-- ISO 639-1 Language variants --> <exclude>**/io/cucumber/java/??_*/*</exclude> <!-- ISO 639-3 Language --> <exclude>**/io/cucumber/java/???/*</exclude> </excludes> </configuration> </plugin> </plugins> </build> </project>