<?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>
    <groupId>org.kie.kogito</groupId>
    <artifactId>kogito-runtimes</artifactId>
    <version>0.1.2</version>
  </parent>

  <artifactId>drools</artifactId>
  <packaging>pom</packaging>

  <name>Drools Multiproject</name>
  <description>
    Drools Expert is the rule engine and Drools Fusion does complex event processing (CEP).
  </description>

  <properties>
    <surefire.forkCount>1</surefire.forkCount>
    <alphanetworkCompilerEnabled>false</alphanetworkCompilerEnabled>
  </properties>

  <modules>
    <module>drools-core-reflective</module>
    <module>drools-core-static</module>
    <module>drools-core-dynamic</module>
    <module>drools-core</module>
    <module>drools-compiler</module>
    <module>drools-model</module>
    <module>kie-dmn</module>
    <module>drools-decisiontables</module>
  </modules>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.kie.kogito</groupId>
        <artifactId>drools-bom</artifactId>
        <version>${version.org.kie.kogito}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <configuration>
            <forkCount>${surefire.forkCount}</forkCount>
            <reuseForks>true</reuseForks>
            <runOrder>hourly</runOrder>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

</project>
