<?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">
  <parent>
    <groupId>org.drools.testcoverage</groupId>
    <artifactId>kie-maven-plugin-separate-model-tests-parent</artifactId>
    <version>7.18.0.Final</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>

  <artifactId>kie-maven-plugin-separate-model-test-suite</artifactId>

  <name>KIE Integration :: KIE Maven Plugin Additional Tests</name>

  <dependencies>
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-compiler</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-ci</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.assertj</groupId>
      <artifactId>assertj-core</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.drools.testcoverage</groupId>
      <artifactId>kjar-with-separate-instrumentation</artifactId>
    </dependency>
    <dependency>
      <groupId>org.drools.testcoverage</groupId>
      <artifactId>kjar-with-separate-instrumentation-wrapper</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.drools.testcoverage</groupId>
      <artifactId>model</artifactId>
    </dependency>
    <dependency>
      <groupId>org.drools.testcoverage</groupId>
      <artifactId>model-wrapper</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>

  <build>
    <testResources>
      <testResource>
        <filtering>false</filtering>
        <directory>src/test/resources</directory>
      </testResource>
      <testResource>
        <filtering>true</filtering>
        <directory>src/test/filtered-resources</directory>
      </testResource>
    </testResources>

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <systemProperties>
            <kie.maven.settings.custom>${project.build.testOutputDirectory}/test-kie-maven-settings.xml</kie.maven.settings.custom>
          </systemProperties>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>
