<?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/maven-v4_0_0.xsd">
  <parent>
    <artifactId>robovm-maven-parent</artifactId>
    <groupId>com.mobidevelop.robovm</groupId>
    <version>2.3.25</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>robovm-surefire-provider</artifactId>
  <name>RoboVM Surfire Provider</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>${surefire.version}</version>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <shadedArtifactAttached>false</shadedArtifactAttached>
              <artifactSet>
                <includes>
                  <include>org.apache.maven:maven-plugin-api</include>
                  <include>org.apache.maven.surefire:common-junit4</include>
                  <include>org.apache.maven.surefire:surefire-junit4</include>
                  <include>org.apache.maven.shared:maven-shared-utils</include>
                  <include>org.apache.maven.surefire:surefire-logger-api</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <exclude>META-INF/services/org.apache.maven.surefire.providerapi.SurefireProvider</exclude>
                    <exclude>META-INF/NOTICE.txt</exclude>
                    <exclude>META-INF/*.SF</exclude>
                    <exclude>META-INF/*.DSA</exclude>
                    <exclude>META-INF/*.RSA</exclude>
                  </excludes>
                </filter>
              </filters>
              <transformers>
                <transformer>
                  <resource>META-INF/services/org.apache.maven.surefire.providerapi.SurefireProvider</resource>
                  <file>src/main/resources/META-INF/services/org.apache.maven.surefire.providerapi.SurefireProvider</file>
                </transformer>
              </transformers>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven.surefire</groupId>
      <artifactId>surefire-providers</artifactId>
      <version>3.0.0-M3</version>
      <type>pom</type>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.13.1</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>hamcrest-core</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.mobidevelop.robovm</groupId>
      <artifactId>robovm-dist-compiler</artifactId>
      <version>2.3.25</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.mobidevelop.robovm</groupId>
      <artifactId>robovm-maven-resolver</artifactId>
      <version>2.3.25</version>
      <classifier>nodep</classifier>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.mobidevelop.robovm</groupId>
      <artifactId>robovm-junit-client</artifactId>
      <version>2.3.25</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  <properties>
    <surefire.version>3.0.0-M3</surefire.version>
    <robovm.version>${project.version}</robovm.version>
  </properties>
</project>
