<?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-base-bom</artifactId>
  <version>2025.7.1</version>
  <packaging>pom</packaging>
  <name>mgl-base-bom</name>
  <description>依赖包统一管理</description>
  <url>https://github.com/mgl-pub/mgl-base-bom</url>
  <licenses>
    <license>
      <name>MGL License, Version 1.0</name>
      <url>https://mgl.tech/licenses/LICENSE-2.0</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>HOTPOT</name>
      <email>hotpot@mgl.tech</email>
      <organization>MGL Tech, Inc.</organization>
      <organizationUrl>https://mgl.tech</organizationUrl>
    </developer>
  </developers>
  <modules>
    <module>mgl-boot-dependencies</module>
    <module>mgl-base-dependencies</module>
    <module>alibaba-bom</module>
    <module>mgl-third-bom</module>
    <module>mgl-domestic-bom</module>
  </modules>
  <scm>
    <url>https://github.com/mgl-pub/mgl-base-bom</url>
  </scm>
  <properties>
    <central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
    <maven-compiler-plugin.vserion>3.13.0</maven-compiler-plugin.vserion>
    <maven-gpg-plugin.version>3.2.4</maven-gpg-plugin.version>
    <maven-jar-plugin.vserion>3.4.1</maven-jar-plugin.vserion>
    <flatten-maven-plugin.version>1.7.0</flatten-maven-plugin.version>
    <maven-invoker-plugin.version>3.6.1</maven-invoker-plugin.version>
    <maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version>
    <maven-shade-plugin.version>3.5.3</maven-shade-plugin.version>
    <resource.delimiter>@</resource.delimiter>
    <maven-clean-plugin.version>3.3.2</maven-clean-plugin.version>
    <maven-javadoc-plugin.vserion>3.6.3</maven-javadoc-plugin.vserion>
    <revision>2025.7.1</revision>
    <maven-enforcer-plugin.version>3.4.1</maven-enforcer-plugin.version>
    <maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
    <maven-war-plugin.version>3.4.0</maven-war-plugin.version>
    <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
    <maven-install-plugin.version>3.1.2</maven-install-plugin.version>
    <maven-source-plugin.version>3.3.1</maven-source-plugin.version>
    <maven-dependency-plugin.version>3.6.1</maven-dependency-plugin.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven-help-plugin.version>3.4.0</maven-help-plugin.version>
    <maven-deploy-plugin.version>3.1.2</maven-deploy-plugin.version>
    <maven-failsafe-plugin.version>3.2.5</maven-failsafe-plugin.version>
    <maven-assembly-plugin.version>3.7.1</maven-assembly-plugin.version>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>alibaba-bom</artifactId>
        <version>2025.7.1</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-base-dependencies</artifactId>
        <version>2025.7.1</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-boot-dependencies</artifactId>
        <version>2025.7.1</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-third-bom</artifactId>
        <version>2025.7.1</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>tech.mgl</groupId>
        <artifactId>mgl-domestic-bom</artifactId>
        <version>2025.7.1</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-resources-plugin</artifactId>
          <version>${maven-resources-plugin.version}</version>
          <configuration>
            <propertiesEncoding>${project.build.sourceEncoding}</propertiesEncoding>
            <delimiters>
              <delimiter>${resource.delimiter}</delimiter>
            </delimiters>
            <useDefaultDelimiters>false</useDefaultDelimiters>
          </configuration>
        </plugin>
        <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>
          <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>
              <configuration>
                <gpgArguments>
                  <arg>--pinentry-mode</arg>
                  <arg>loopback</arg>
                </gpgArguments>
              </configuration>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>flatten-maven-plugin</artifactId>
        <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>
        <artifactId>maven-gpg-plugin</artifactId>
        <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>
