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

  $Id: pom.xml 2028 2014-02-04 09:31:21Z tchemit $
  $HeadURL: https://nuiton.org/svn/i18n/tags/i18n-3.0/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>

  <parent>
    <groupId>org.nuiton</groupId>
    <artifactId>mavenpom4redmineAndCentral</artifactId>
    <version>4.7</version>
  </parent>

  <artifactId>i18n</artifactId>
  <version>3.0</version>
  <packaging>pom</packaging>
  <name>I18n</name>
  <description>Nuiton i18n tools</description>
  <url>https://maven-site.nuiton.org/i18n</url>
  <inceptionYear>2008</inceptionYear>

  <modules>
    <module>nuiton-i18n</module>
    <module>i18n-maven-plugin</module>
  </modules>

  <scm>
    <connection>scm:svn:https://nuiton.org/svn/i18n/tags/i18n-3.0</connection>
    <developerConnection>
      scm:svn:https://nuiton.org/svn/i18n/tags/i18n-3.0
    </developerConnection>
    <url>https://nuiton.org/projects/i18n/repository/show/tags/i18n-3.0</url>
  </scm>
  <distributionManagement>
    <site>
      <id>${platform}</id>
      <url>${our.site.repository}/${projectId}</url>
    </site>
  </distributionManagement>

  <properties>

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

    <processorVersion>1.3</processorVersion>
    <antlrVersion>4.2</antlrVersion>

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

  </properties>

  <dependencyManagement>
    <dependencies>

      <dependency>
        <groupId>org.antlr</groupId>
        <artifactId>antlr4-runtime</artifactId>
        <version>${antlrVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.antlr</groupId>
        <artifactId>antlr4-annotations</artifactId>
        <version>${antlrVersion}</version>
      </dependency>

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

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

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

        </exclusions>
      </dependency>

      <dependency>
        <groupId>org.apache.maven.shared</groupId>
        <artifactId>maven-dependency-tree</artifactId>
        <version>2.1</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>

      <dependency>
        <groupId>org.apache.maven.plugin-tools</groupId>
        <artifactId>maven-plugin-annotations</artifactId>
        <version>${pluginPluginVersion}</version>
        <scope>provided</scope>
      </dependency>

      <dependency>
        <groupId>org.apache.struts.xwork</groupId>
        <artifactId>xwork-core</artifactId>
        <version>2.3.16</version>
      </dependency>

      <dependency>
        <groupId>org.codehaus.plexus</groupId>
        <artifactId>plexus-utils</artifactId>
        <version>3.0.17</version>
        <scope>compile</scope>
      </dependency>

    </dependencies>
  </dependencyManagement>

  <build>

    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.antlr</groupId>
          <artifactId>antlr4-maven-plugin</artifactId>
          <version>${antlrVersion}</version>
        </plugin>
      </plugins>
    </pluginManagement>

  </build>

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

      <modules>
        <module>nuiton-i18n-editor</module>
      </modules>
    </profile>

    <!-- reporting at release time -->
    <profile>
      <id>reporting</id>
      <activation>
        <property>
          <name>performRelease</name>
          <value>true</value>
        </property>
      </activation>

      <reporting>
        <plugins>

          <plugin>
            <artifactId>maven-plugin-plugin</artifactId>
            <version>${pluginPluginVersion}</version>
          </plugin>

          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>cobertura-maven-plugin</artifactId>
            <version>${coberturaPluginVersion}</version>
          </plugin>

          <plugin>
            <artifactId>maven-project-info-reports-plugin</artifactId>
            <version>${projectInfoReportsPluginVersion}</version>
            <reportSets>
              <reportSet>
                <reports>
                  <report>project-team</report>
                  <report>mailing-list</report>
                  <report>cim</report>
                  <report>issue-tracking</report>
                  <report>license</report>
                  <report>scm</report>
                  <report>dependency-info</report>
                  <report>dependencies</report>
                  <report>dependency-convergence</report>
                  <report>plugin-management</report>
                  <report>plugins</report>
                  <report>dependency-management</report>
                  <report>summary</report>
                </reports>
              </reportSet>
            </reportSets>
          </plugin>
        </plugins>
      </reporting>
    </profile>

  </profiles>
</project>
