<?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.drools</groupId>
    <artifactId>droolsjbpm-parent</artifactId>
    <version>6.0.0.Alpha9</version>
    <!-- relativePath causes out-of-date problems on hudson slaves -->
    <!--<relativePath>../droolsjbpm-build-bootstrap/pom.xml</relativePath>-->
  </parent>

  <groupId>org.kie.commons</groupId>
  <artifactId>kie-commons</artifactId>
  <version>6.0.0.Alpha9</version>
  <packaging>pom</packaging>

  <name>Kie Commons</name>
  <description>
    Collection of reusable Java components from the KIE team.
  </description>

  <repositories>
    <!-- Bootstrap repository to locate the parent pom when the parent pom has not been build locally. -->
    <repository>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Repository Group</name>
      <url>http://repository.jboss.org/nexus/content/groups/public/</url>
      <layout>default</layout>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>daily</updatePolicy>
      </snapshots>
    </repository>
  </repositories>

  <scm>
    <connection>scm:git:git@github.com:droolsjbpm/kie-commons.git</connection>
    <developerConnection>scm:git:git@github.com:droolsjbpm/kie-commons.git</developerConnection>
    <url>https://github.com/droolsjbpm/kie-commons</url>
  </scm>

  <modules>
    <module>kie-commons-validation</module>
    <module>kie-commons-regex</module>
    <module>kie-commons-data</module>
    <module>kie-nio2-backport</module>
    <module>kie-commons-io</module>
    <module>kieora</module>
  </modules>

  <build>
    <pluginManagement>
      <plugins>
        <plugin><!-- TODO remove me because it's part of the droolsjbpm release lifecycle -->
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <configuration>
            <!-- Manually push changes (including git tags) after nexus staged repo is successfully closed -->
            <pushChanges>false</pushChanges>
            <autoVersionSubmodules>true</autoVersionSubmodules>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.easytesting</groupId>
      <artifactId>fest-assert-core</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

</project>
