<?xml version="1.0" encoding="UTF-8"?>
<!--
  #%L
  I18n

  $Id: pom.xml 1864 2011-01-25 14:04:06Z tchemit $
  $HeadURL: http://svn.nuiton.org/svn/i18n/tags/i18n-2.2/pom.xml $
  %%
  Copyright (C) 2008 - 2010 CodeLutin
  %%
  This program 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 3 of the
  License, or (at your option) any later version.

  This program 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 General Lesser Public License for more details.

  You should have received a copy of the GNU General Lesser Public
  License along with this program.  If not, see
  <http://www.gnu.org/licenses/lgpl-3.0.html>.
  #L%
  -->
<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">

  <modelVersion>4.0.0</modelVersion>

  <!-- ************************************************************* -->
  <!-- *** POM Relationships *************************************** -->
  <!-- ************************************************************* -->
  <parent>
    <groupId>org.nuiton</groupId>
    <artifactId>mavenpom4redmineAndCentral</artifactId>
    <version>2.4.2</version>
  </parent>

  <artifactId>i18n</artifactId>
  <version>2.2</version>

  <modules>
    <module>nuiton-i18n</module>
    <module>maven-i18n-plugin</module>
    <!--<module>ant-i18n-task</module>-->
    <!--module>nuiton-i18n-editor</module-->
  </modules>

  <dependencyManagement>
    <dependencies>

      <dependency>
        <groupId>org.nuiton.processor</groupId>
        <artifactId>nuiton-processor</artifactId>
        <version>${processorVersion}</version>
      </dependency>

      <dependency>
        <groupId>org.nuiton</groupId>
        <artifactId>maven-helper-plugin</artifactId>
        <version>${helperPluginVersion}</version>
        <exclusions>
          <exclusion>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-artifact</artifactId>
          </exclusion>

          <exclusion>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-artifact-manager</artifactId>
          </exclusion>

          <exclusion>
            <groupId>org.apache.maven.shared</groupId>
            <artifactId>maven-dependency-tree</artifactId>
          </exclusion>

          <exclusion>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-model</artifactId>
          </exclusion>

          <exclusion>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-profile</artifactId>
          </exclusion>

          <exclusion>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-settings</artifactId>
          </exclusion>
          <exclusion>
            <groupId>commons-httpclient</groupId>
            <artifactId>commons-httpclient</artifactId>
          </exclusion>

          <exclusion>
            <groupId>plexus</groupId>
            <artifactId>plexus-mail-sender-api</artifactId>
          </exclusion>

          <exclusion>
            <groupId>javax.mail</groupId>
            <artifactId>mail</artifactId>
          </exclusion>

          <exclusion>
            <groupId>org.sonatype.plexus</groupId>
            <artifactId>plexus-sec-dispatcher</artifactId>
          </exclusion>

          <exclusion>
            <groupId>org.codehaus.plexus</groupId>
            <artifactId>plexus-container-default</artifactId>
          </exclusion>

          <exclusion>
            <groupId>velocity</groupId>
            <artifactId>velocity</artifactId>
          </exclusion>

        </exclusions>
      </dependency>

      <dependency>
        <groupId>org.apache.maven.shared</groupId>
        <artifactId>maven-dependency-tree</artifactId>
        <version>1.2</version>
      </dependency>

      <!-- provided dependencies -->
      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-project</artifactId>
        <version>${mavenVersion}</version>
        <scope>provided</scope>
      </dependency>

      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-artifact</artifactId>
        <version>${mavenVersion}</version>
        <scope>provided</scope>
      </dependency>

      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-plugin-api</artifactId>
        <version>${mavenVersion}</version>
        <scope>provided</scope>
      </dependency>

      <!-- FIXME si on ne le rajoute pas, on se retrouve avec la version 1.1 qui ne convient pas -->
      <dependency>
        <groupId>org.codehaus.plexus</groupId>
        <artifactId>plexus-utils</artifactId>
        <version>1.5.15</version>
        <scope>compile</scope>
      </dependency>

      <dependency>
        <groupId>org.apache.ant</groupId>
        <artifactId>ant</artifactId>
        <version>${antVersion}</version>
        <scope>compile</scope>
      </dependency>

    </dependencies>
  </dependencyManagement>

  <!-- ************************************************************* -->
  <!-- *** Project Information ************************************* -->
  <!-- ************************************************************* -->
  <name>I18n</name>
  <description>Nuiton i18n tools</description>
  <inceptionYear>2008</inceptionYear>
  <url>http://maven-site.nuiton.org/i18n</url>

  <!-- ************************************************************* -->
  <!-- *** Build Settings ****************************************** -->
  <!-- ************************************************************* -->

  <packaging>pom</packaging>

  <properties>

    <!-- pour un muli module on doit fixer le projectId -->
    <projectId>i18n</projectId>

    <processorVersion>1.1</processorVersion>
    
    <!--Multilanguage maven-site -->
    <locales>fr,en</locales>

  </properties>

  <!-- ************************************************************* -->
  <!-- *** Build Environment  ************************************** -->
  <!-- ************************************************************* -->

  <!-- Source control management. -->
  <scm>
    <connection>scm:svn:http://svn.nuiton.org/svn/i18n/tags/i18n-2.2</connection>
    <developerConnection>
      scm:svn:http://svn.nuiton.org/svn/i18n/tags/i18n-2.2
    </developerConnection>
    <url>http://www.nuiton.org/repositories/browse/i18n/tags/i18n-2.2</url>
  </scm>

  <profiles>
    <!-- to include in the build the ant task -->
    <profile>
      <id>extra-modules</id>

      <modules>
        <module>ant-i18n-task</module>
      </modules>
    </profile>


  </profiles>
</project>
