<!--

    Copyright (C) 2009 eXo Platform SAS.

    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 2.1 of
    the License, or (at your option) any later version.

    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.

-->
<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.gatein</groupId>
    <artifactId>gatein-parent</artifactId>
    <version>1.3.0.Final</version>
  </parent>

  <!-- ****************** -->
  <!-- Project Definition -->
  <!-- ****************** -->

  <groupId>org.gatein.mop</groupId>
  <artifactId>mop-parent</artifactId>
  <version>1.3.4.Final-SNAPSHOT</version>
  <packaging>pom</packaging>

  <name>GateIn - MOP</name>
  <description>Model Object for Portal</description>

  <scm>
    <connection>scm:git:git://github.com/gatein/gatein-mop.git</connection>
    <developerConnection>scm:git:ssh://git@github.com/gatein/gatein-mop.git</developerConnection>
    <url>https://github.com/gatein/gatein-mop</url>
    <tag>HEAD</tag>
  </scm>

  <dependencyManagement>
    <dependencies>
      <!-- Import dependency management configuration -->
      <dependency>
        <groupId>org.gatein</groupId>
        <artifactId>gatein-dep</artifactId>
        <version>1.4.0.Final</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>

      <dependency>
         <groupId>org.chromattic</groupId>
         <version>${org.chromattic.version}</version>
         <artifactId>chromattic.api</artifactId>
      </dependency>

      <dependency>
         <groupId>org.chromattic</groupId>
         <version>${org.chromattic.version}</version>
         <artifactId>chromattic.ext</artifactId>
      </dependency>

      <dependency>
         <groupId>org.chromattic</groupId>
         <artifactId>chromattic.apt</artifactId>
         <version>${org.chromattic.version}</version>
      </dependency>

      <!-- should remove it, it's because of usage : org.chromattic.common.AbstractFilterIterator -->
      <dependency>
         <groupId>org.chromattic</groupId>
         <artifactId>chromattic.common</artifactId>
         <version>${org.chromattic.version}</version>
      </dependency>

      <dependency>
         <groupId>org.chromattic</groupId>
         <artifactId>chromattic.core</artifactId>
         <version>${org.chromattic.version}</version>
      </dependency>

      <dependency>
         <groupId>org.chromattic</groupId>
         <artifactId>chromattic.exo</artifactId>
         <version>${org.chromattic.version}</version>
      </dependency>

      <dependency>
        <groupId>org.gatein.mop</groupId>
        <artifactId>mop-api</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.mop</groupId>
        <artifactId>mop-spi</artifactId>
        <version>${project.version}</version>
      </dependency>

    </dependencies>
  </dependencyManagement>

  <dependencies>
      <dependency>
        <groupId>ch.qos.logback</groupId>
        <artifactId>logback-classic</artifactId>
        <version>1.0.13</version>
        <scope>test</scope>
      </dependency>
  </dependencies>

  <properties>
    <!--
    <version.gatein.common>2.1.0.Beta01</version.gatein.common>

    -->
    <!-- ************** -->
    <!-- Build settings -->
    <!-- ************** -->

    <org.chromattic.version>1.3.0</org.chromattic.version>

    <!--
         Current testuite doesn't work with surefire 2.7 defined in parent pom
    -->
    <version.surefire.plugin>2.6</version.surefire.plugin>

    <!-- maven-release-plugin -->
    <useReleaseProfile>false</useReleaseProfile>
    <arguments>-Prelease</arguments>
    <pushChanges>false</pushChanges>
    <autoVersionSubmodules>true</autoVersionSubmodules>

    <!-- buildnumber-maven-plugin : needs 1.0 for git -->
    <version.buildnumber.plugin>1.0</version.buildnumber.plugin>

  </properties>

  <!-- **************** -->
  <!-- Build Definition -->
  <!-- **************** -->

  <modules>
    <module>api</module>
    <module>spi</module>
    <module>core</module>
  </modules>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.4.2</version>
        <dependencies>
          <dependency>
            <groupId>org.apache.maven.scm</groupId>
            <artifactId>maven-scm-provider-gitexe</artifactId>
            <version>1.9</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </build>

</project>
