<?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>com.vaadin</groupId>
    <artifactId>flow-project</artifactId>
    <version>24.3.13</version>
  </parent>
  <groupId>com.vaadin</groupId>
  <artifactId>flow-html-components-testbench</artifactId>
  <version>24.3.13</version>
  <name>TestBench elements for Flow HTML Components</name>
  <description>${project.name}</description>
  <licenses>
    <license>
      <name>Apache License Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <dependencies>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-testbench-shared</artifactId>
      <version>9.2.6</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.eclipse.jetty.ee10</groupId>
        <artifactId>jetty-ee10-maven-plugin</artifactId>
        <version>${jetty.version}</version>
        <executions>
          <execution>
            <id>start-jetty</id>
            <phase>pre-integration-test</phase>
            <goals>
              <goal>start</goal>
            </goals>
          </execution>
          <execution>
            <id>stop-jetty</id>
            <phase>post-integration-test</phase>
            <goals>
              <goal>stop</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <httpConnector>
            <port>8888</port>
          </httpConnector>
          <useTestClasspath>true</useTestClasspath>
          <scanIntervalSeconds>-1</scanIntervalSeconds>
          <stopKey>foo</stopKey>
          <stopPort>8889</stopPort>
          <stopWait>5</stopWait>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
