<?xml version="1.0" encoding="UTF-8"?>
<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>com.vaadin</groupId>
    <artifactId>flow-project</artifactId>
    <version>25.4.nodemap-shared-key-sets-SNAPSHOT</version>
  </parent>

  <artifactId>flow-test-util</artifactId>
  <packaging>jar</packaging>
  <name>Testing utilities for Flow</name>
  <description>${project.name}</description>

  <properties>
    <jandex.skip>true</jandex.skip>
    <license.skipDownloadLicenses>true</license.skipDownloadLicenses>
    <sonar.skip>true</sonar.skip>
    <flow.apicmp.skip>true</flow.apicmp.skip>
  </properties>

  <dependencies>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>flow-test-generic</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>flow-server</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>flow-html-components</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-testbench-core</artifactId>
      <version>${testbench.version}</version>
      <exclusions>
        <exclusion>
          <groupId>org.asynchttpclient</groupId>
          <artifactId>async-http-client</artifactId>
        </exclusion>
        <!-- remove this after TB 9.2.5 release -->
        <exclusion>
          <groupId>commons-codec</groupId>
          <artifactId>commons-codec</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

    <!-- override scope for junit -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <configuration>
          <skip>true</skip>
        </configuration>
      </plugin>
      <plugin>
        <groupId>com.diffplug.spotless</groupId>
        <artifactId>spotless-maven-plugin</artifactId>
        <configuration>
          <java>
            <excludes>
              <exclude>**/com/vaadin/flow/testutil/net/**/*.java</exclude>
            </excludes>
          </java>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>
