<?xml version="1.0" encoding="UTF-8"?>
<!--
  #%L
  Nuiton Processor
  %%
  Copyright (C) 2004 - 2026 Code Lutin
  %%
  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>nuitonpom</artifactId>
    <version>12.0</version>
  </parent>

  <artifactId>processor</artifactId>
  <version>1.4</version>
  <packaging>pom</packaging>

  <name>Nuiton Processor</name>
  <description>Efficient Universal Processor</description>
  <url>https://nuiton.page.nuiton.org/processor/</url>
  <inceptionYear>2004</inceptionYear>

  <modules>
    <module>nuiton-processor</module>
    <module>processor-maven-plugin</module>
    <module>ant-processor-task</module>
  </modules>

  <scm>
    <connection>scm:git:git@gitlab.nuiton.org:nuiton/processor.git</connection>
    <developerConnection>scm:git:git@gitlab.nuiton.org:nuiton/processor.git</developerConnection>
    <url>https://gitlab.nuiton.org/nuiton/processor</url>
  </scm>

  <properties>
    <gitlabProjectName>processor</gitlabProjectName>

    <!-- locales for site generation -->
    <locales>fr</locales>

    <mavenVersion>3.9.15</mavenVersion>
    <antVersion>1.10.17</antVersion>

    <javaVersion>1.8</javaVersion>
    <signatureArtifactId>java18</signatureArtifactId>
    <signatureVersion>1.0</signatureVersion>

    <!-- Pour garder la continuité des TAGs Git, on déclare explicitement le préfixe -->
    <gitflow.versionTagPrefix>v</gitflow.versionTagPrefix>
  </properties>

  <dependencyManagement>
    <dependencies>

      <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.3.6</version>
      </dependency>

      <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-lang3</artifactId>
        <version>3.20.0</version>
      </dependency>

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

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

          <exclusion>
            <groupId>org.apache.velocity</groupId>
            <artifactId>velocity-engine-core</artifactId>
          </exclusion>

        </exclusions>
      </dependency>

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

      <!-- tests dependencies -->

      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-core</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>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.13.2</version>
        <scope>test</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>

</project>
