<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>tech.mgl</groupId>
    <artifactId>mgl-maven-base-properties</artifactId>
    <version>5.6.0</version>
  </parent>
  <artifactId>mgl-boot</artifactId>
  <version>2025.5.1</version>
  <packaging>pom</packaging>
  <name>mgl-boot</name>
  <description>THIS FILE IS PART OF MGL PROJECT MGL.tech
        - The core part of the reboot library （文件名和作用概述）
        Copyright (c) 1989-2016 MGL.tech
        Copyright (c) 2016 MGL.TECH
        任何网站未经本公司授权，不得盗用本站所有资源及所有代码否则追究法律责任
        任何网站未经本公司授权，任何人不得作全部或部分复制或仿造否则追究法律责任</description>
  <url>https://mgl.tech</url>
  <organization>
    <name>MGL技术社区</name>
    <url>https://mgl.tech/</url>
  </organization>
  <licenses>
    <license>
      <name>仅本人及本人所参与的任何产品和项目使用，不用于任何第三方应用</name>
      <url>mgl.tech</url>
      <distribution>repo</distribution>
      <comments>person license</comments>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>hotpot</id>
      <name>hotpot</name>
      <email>hotpot@mgl.tech</email>
    </developer>
  </developers>
  <modules>
    <module>mgl-boot-common</module>
    <module>mgl-boot-mvc</module>
    <module>mgl-boot-exception</module>
    <module>mgl-boot-config</module>
    <module>mgl-boot-spring-boot-autoconfigure</module>
    <module>mgl-boot-spring-boot-starter</module>
    <module>mgl-boot-mvc-spring-boot-starter</module>
    <module>mgl-boot-kotlin-support</module>
    <module>mgl-boot-annotation</module>
    <module>mgl-boot-modules</module>
    <module>mgl-boot-cms</module>
  </modules>
  <scm>
    <developerConnection>https://mgl.tech/p/mgl-base</developerConnection>
    <tag>mgl</tag>
    <url>https://mgl.tech/p/mgl-base</url>
  </scm>
  <properties>
    <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version>
    <jakarta.validation-api.version>3.1.0</jakarta.validation-api.version>
    <mgl-utils.version>2025.5.1</mgl-utils.version>
    <kotlin.version>2.1.0</kotlin.version>
    <fastexcel.version>1.0.0</fastexcel.version>
    <spring-boot.version>3.5.4</spring-boot.version>
    <buildNumber>1</buildNumber>
    <revision>2025.5.1</revision>
    <ehcache.version>3.10.8</ehcache.version>
    <mgl-exception.version>2025.5.1</mgl-exception.version>
    <mybatis-flex-core.version>1.10.9</mybatis-flex-core.version>
    <jackson-module-kotlin.version>2.18.1</jackson-module-kotlin.version>
    <lang3.version>3.17.0</lang3.version>
    <mysql.version>9.0.0</mysql.version>
    <sms4j.version>3.3.3</sms4j.version>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>cn.idev.excel</groupId>
        <artifactId>fastexcel</artifactId>
        <version>${fastexcel.version}</version>
      </dependency>
      <dependency>
        <groupId>org.jetbrains.kotlin</groupId>
        <artifactId>kotlin-bom</artifactId>
        <version>${kotlin.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-dependencies</artifactId>
        <version>${spring-boot.version}</version>
        <type>pom</type>
        <scope>import</scope>
        <exclusions>
          <exclusion>
            <groupId>org.jetbrains.kotlin</groupId>
            <artifactId>kotlin-bom</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-boot-exception</artifactId>
        <version>2025.5.1</version>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-boot-spring-boot-starter</artifactId>
        <version>2025.5.1</version>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-boot-common</artifactId>
        <version>2025.5.1</version>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-boot-mvc</artifactId>
        <version>2025.5.1</version>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-boot-mvc-spring-boot-starter</artifactId>
        <version>2025.5.1</version>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-boot-spring-boot-autoconfigure</artifactId>
        <version>2025.5.1</version>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-boot-kotlin-support</artifactId>
        <version>2025.5.1</version>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-boot-config</artifactId>
        <version>2025.5.1</version>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-boot-annotation</artifactId>
        <version>2025.5.1</version>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-boot-modules-bom</artifactId>
        <version>2025.5.1</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-boot-cms-bom</artifactId>
        <version>2025.5.1</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.ehcache</groupId>
        <artifactId>ehcache</artifactId>
        <version>${ehcache.version}</version>
      </dependency>
      <dependency>
        <groupId>org.postgresql</groupId>
        <artifactId>postgresql</artifactId>
        <version>42.7.3</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.jetbrains.kotlin</groupId>
      <artifactId>kotlin-stdlib-jdk8</artifactId>
      <version>${kotlin.version}</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.jetbrains.kotlin</groupId>
      <artifactId>kotlin-test</artifactId>
      <version>${kotlin.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.postgresql</groupId>
      <artifactId>postgresql</artifactId>
      <version>42.7.4</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <build>
    <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
    <resources>
      <resource>
        <filtering>true</filtering>
        <directory>${basedir}/src/main/resources</directory>
        <includes>
          <include>**/application*.yml</include>
          <include>**/application*.yaml</include>
          <include>**/application*.properties</include>
        </includes>
      </resource>
      <resource>
        <directory>${basedir}/src/main/resources</directory>
        <excludes>
          <exclude>**/application*.yml</exclude>
          <exclude>**/application*.yaml</exclude>
          <exclude>**/application*.properties</exclude>
        </excludes>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>flatten-maven-plugin</artifactId>
        <version>${flatten-maven-plugin.version}</version>
        <executions>
          <execution>
            <id>flatten</id>
            <phase>process-resources</phase>
            <goals>
              <goal>flatten</goal>
            </goals>
          </execution>
          <execution>
            <id>flatten.clean</id>
            <phase>clean</phase>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <updatePomFile>true</updatePomFile>
          <outputDirectory>target</outputDirectory>
          <flattenMode>resolveCiFriendliesOnly</flattenMode>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-maven-plugin</artifactId>
        <version>${spring-boot.version}</version>
      </plugin>
      <plugin>
        <groupId>org.jetbrains.kotlin</groupId>
        <artifactId>kotlin-maven-plugin</artifactId>
        <version>${kotlin.version}</version>
        <dependencies>
          <dependency>
            <groupId>org.jetbrains.kotlin</groupId>
            <artifactId>kotlin-maven-allopen</artifactId>
            <version>${kotlin.version}</version>
          </dependency>
        </dependencies>
        <configuration>
          <args>
            <arg>-Xjsr305=strict</arg>
          </args>
          <compilerPlugins>
            <plugin>spring</plugin>
          </compilerPlugins>
          <jvmTarget>${java.version}</jvmTarget>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${maven-javadoc-plugin.vserion}</version>
        <executions>
          <execution>
            <id>attach-javadoc</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <charset>UTF-8</charset>
          <encoding>UTF-8</encoding>
          <docencoding>UTF-8</docencoding>
          <failOnError>false</failOnError>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>${maven-source-plugin.version}</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <excludes>**/tech/**</excludes>
          <excludeResources>true</excludeResources>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>${maven-gpg-plugin.version}</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.sonatype.central</groupId>
        <artifactId>central-publishing-maven-plugin</artifactId>
        <version>${central-publishing-maven-plugin.version}</version>
        <extensions>true</extensions>
        <configuration>
          <publishingServerId>central</publishingServerId>
          <autoPublish>true</autoPublish>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
