<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>xyz.tcheeric</groupId>
    <artifactId>bottin-tests</artifactId>
    <version>0.1.0</version>
  </parent>
  <artifactId>bottin-e2e</artifactId>
  <version>0.1.0</version>
  <name>Bottin End-to-End Tests</name>
  <description>End-to-end tests for complete user workflows</description>
  <licenses>
    <license>
      <name>MIT License</name>
      <url>https://opensource.org/licenses/MIT</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <properties>
    <skipE2ETests>true</skipE2ETests>
  </properties>
  <dependencies>
    <dependency>
      <groupId>xyz.tcheeric</groupId>
      <artifactId>bottin-core</artifactId>
    </dependency>
    <dependency>
      <groupId>xyz.tcheeric</groupId>
      <artifactId>bottin-persistence</artifactId>
    </dependency>
    <dependency>
      <groupId>xyz.tcheeric</groupId>
      <artifactId>bottin-service</artifactId>
    </dependency>
    <dependency>
      <groupId>xyz.tcheeric</groupId>
      <artifactId>bottin-verification</artifactId>
    </dependency>
    <dependency>
      <groupId>xyz.tcheeric</groupId>
      <artifactId>bottin-web</artifactId>
    </dependency>
    <dependency>
      <groupId>xyz.tcheeric</groupId>
      <artifactId>bottin-spring-boot-starter</artifactId>
    </dependency>
    <dependency>
      <groupId>xyz.tcheeric</groupId>
      <artifactId>nsecbunker-account</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-test</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-testcontainers</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.testcontainers</groupId>
      <artifactId>testcontainers</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.testcontainers</groupId>
      <artifactId>junit-jupiter</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.testcontainers</groupId>
      <artifactId>postgresql</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.postgresql</groupId>
      <artifactId>postgresql</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.assertj</groupId>
      <artifactId>assertj-core</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.wiremock</groupId>
      <artifactId>wiremock-standalone</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>io.rest-assured</groupId>
      <artifactId>rest-assured</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.awaitility</groupId>
      <artifactId>awaitility</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <skipTests>${skipE2ETests}</skipTests>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-failsafe-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>integration-test</goal>
              <goal>verify</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <skipTests>${skipE2ETests}</skipTests>
          <skipITs>${skipE2ETests}</skipITs>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>e2e</id>
      <properties>
        <skipE2ETests>false</skipE2ETests>
      </properties>
    </profile>
  </profiles>
</project>
