<?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">

  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>drools</artifactId>
    <groupId>org.drools</groupId>
	<version>4.0.4</version>
  </parent>

  <artifactId>drools-jsr94</artifactId>
  <packaging>jar</packaging>
  <name>Drools :: JSR-94 API Module</name>
  
  <repositories>
    <repository>
      <id>basedir</id>
      <url>file://${basedir}/../m2_repo</url>
    </repository>
  </repositories>

  <build>
    <plugins>
	  <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <systemProperties>
            <property>
              <name>jsr94.tck.configuration</name>
              <value>${basedir}/target/test-classes/org/drools/jsr94/tck</value>
            </property>
          </systemProperties>
          <includes>
            <include>**/*Tests.java</include>
            <include>**/*Test.java</include>
          </includes>
          <excludes>
            <exclude>**/ClassLoaderTest.java</exclude>
            <exclude>**/RuleExecutionSetProviderTest.java</exclude>
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>
  
  <dependencies>
    <!-- Internal dependencies -->
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-compiler</artifactId>
    </dependency>
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-decisiontables</artifactId>
    </dependency>        

    <!-- External dependencies -->
    <dependency>
      <groupId>jsr94</groupId>
      <artifactId>jsr94</artifactId>
    </dependency>
    <dependency>
      <groupId>jsr94</groupId>
      <artifactId>jsr94-tck</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>jsr94</groupId>
      <artifactId>jsr94-sigtest</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

</project>
