<?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.applitools</groupId>
    <artifactId>eyes-sdk-java5-parent</artifactId>
    <version>5.63.0</version>
    <relativePath>../../pom.xml</relativePath>
  </parent>
  <groupId>com.applitools</groupId>
  <artifactId>eyes-universal-core</artifactId>
  <version>5.63.0</version>
  <name>eyes-universal-core</name>
  <description>Eyes universal core for storing and lunching binary server</description>
  <licenses>
    <license>
      <name>Applitools License</name>
      <url>https://www.applitools.com/eula/sdk</url>
    </license>
  </licenses>
  <dependencies>
    <dependency>
      <groupId>com.applitools</groupId>
      <artifactId>eyes-common-java5</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-engine</artifactId>
      <version>5.8.2</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <version>4.6.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-inline</artifactId>
      <version>4.6.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.22.0</version>
        <configuration>
          <useFile>false</useFile>
          <trimStackTrace>false</trimStackTrace>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>8</source>
          <target>8</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>kr.motd.maven</groupId>
        <artifactId>os-maven-plugin</artifactId>
        <version>1.6.2</version>
        <executions>
          <execution>
            <phase>initialize</phase>
            <goals>
              <goal>detect</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <version>1.6.0</version>
        <executions>
          <execution>
            <id>exec-help-active-profiles</id>
            <phase>validate</phase>
            <goals>
              <goal>exec</goal>
            </goals>
            <configuration>
              <executable>mvn</executable>
              <arguments>
                <argument>help:active-profiles</argument>
              </arguments>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>windows</id>
      <activation>
        <os>
          <family>windows</family>
        </os>
      </activation>
      <dependencies>
        <dependency>
          <groupId>com.applitools</groupId>
          <artifactId>eyes-universal-core-win</artifactId>
          <version>${project.version}</version>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>mac</id>
      <activation>
        <os>
          <family>mac</family>
        </os>
      </activation>
      <dependencies>
        <dependency>
          <groupId>com.applitools</groupId>
          <artifactId>eyes-universal-core-mac</artifactId>
          <version>${project.version}</version>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>aarch_64</id>
      <activation>
        <os>
          <name>linux</name>
          <family>unix</family>
          <arch>aarch64</arch>
        </os>
      </activation>
      <dependencies>
        <dependency>
          <groupId>com.applitools</groupId>
          <artifactId>eyes-universal-core-arm</artifactId>
          <version>${project.version}</version>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>alpine</id>
      <activation>
        <file>
          <exists>/etc/alpine-release</exists>
        </file>
      </activation>
      <dependencies>
        <dependency>
          <groupId>com.applitools</groupId>
          <artifactId>eyes-universal-core-alpine</artifactId>
          <version>${project.version}</version>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>linux-amd64</id>
      <activation>
        <os>
          <name>linux</name>
          <family>unix</family>
          <arch>amd64</arch>
        </os>
        <file>
          <missing>/etc/alpine-release</missing>
        </file>
      </activation>
      <dependencies>
        <dependency>
          <groupId>com.applitools</groupId>
          <artifactId>eyes-universal-core-linux</artifactId>
          <version>5.63.0</version>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>linux-x86</id>
      <activation>
        <os>
          <name>linux</name>
          <family>unix</family>
          <arch>x86_64</arch>
        </os>
        <file>
          <missing>/etc/alpine-release</missing>
        </file>
      </activation>
      <dependencies>
        <dependency>
          <groupId>com.applitools</groupId>
          <artifactId>eyes-universal-core-linux</artifactId>
          <version>${project.version}</version>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <dependencies>
        <dependency>
          <groupId>com.applitools</groupId>
          <artifactId>eyes-universal-core-binaries</artifactId>
          <version>${project.version}</version>
        </dependency>
      </dependencies>
    </profile>
  </profiles>
</project>
