---
title: Pom.xml
slug: suite-documentation/pomxml
docTags: 
createdAt: 2026-01-07T12:04:05.764Z
---

### Maven Configuration (pom.xml)

This project uses Maven to manage dependencies and build configuration for Gauge-based Selenium tests running on the Testinium platform.The pom.xml includes:

- Gauge Java runner for executing .spec files
- Selenium 4 for browser automation
- Testinium Selenium 4 driver for Testinium Grid integration
- Supporting libraries (Lombok, SLF4J)

### Testinium Maven Repository&#x20;

The Testinium Maven repository is required to resolve Testinium-specific artifacts:

- https\://mvn.testinium.com/repository/public/

This repository is defined under both repositories and distributionManagement.

### Key Dependencies

### Gauge (Java Runner)

```java
<dependency>
  <groupId>com.thoughtworks.gauge</groupId>
  <artifactId>gauge-java</artifactId>
  <version>${gauge.version}</version>
  <scope>test</scope>
</dependency>
```

Provides the Gauge Java runtime and step-definition support required to execute Gauge specifications.

### Selenium 4

```java
<dependency>
  <groupId>org.seleniumhq.selenium</groupId>
  <artifactId>selenium-java</artifactId>
  <version>${selenium.version}</version>
  <scope>test</scope>
</dependency>
```

Provides Selenium WebDriver APIs used by step implementations to automate the browser.

:::BlockQuote
Note: Ensure only one Selenium version is used in the project to avoid dependency conflicts.
:::

### Testinium Selenium 4 Driver (Required)

```java
<dependency>
  <groupId>com.testinium</groupId>
  <artifactId>testinium-selenium4-driver</artifactId>
  <version>1.0.0</version>
</dependency>
```

This dependency is mandatory when executing Selenium tests on the Testinium platform.It enables:

- Integration with the Testinium Selenium Grid
- Platform-specific capabilities (e.g., testinium\:key)
- Execution tracking and reporting compatibility

:::BlockQuote
Note: When tests are executed on Testinium, TestiniumSeleniumDriver must be used instead of the standard RemoteWebDriver.
:::

### Logging & Utilities

### Lombok

Used to reduce boilerplate code (e.g., @Slf4j).&#x20;

### SLF4J API

Provides a standard logging facade used in step implementations and hooks.

### Build Plugins

### Maven Compiler Plugin

Compiles the project using Java 21.Gauge Maven PluginEnables running Gauge specifications via Maven, typically through:

- mvn test
- or mvn gauge\:execute (depending on your setup)
