<?xml version="1.0" encoding="UTF-8"?>
<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>

    <groupId>pub.mgl</groupId>
    <artifactId>biz-common-bom</artifactId>
    <version>${revision}</version>
    <packaging>pom</packaging>

    <name>biz-common-bom</name>
    <url>https://mgl.pub</url>
    <developers>
        <developer>
            <id>hotpot</id>
            <name>hotpot</name>
            <email>i@mgl.ee</email>
        </developer>
    </developers>
    <licenses>
        <license>
            <name>只用于本人及本人所参与的任何产品和项目使用，不用于任何第三方应用</name>
            <url>mgl.pub</url>
            <distribution>repo</distribution>
            <comments>person license</comments>
        </license>
    </licenses>

    <scm>
        <tag>mgl</tag>
        <url>https://mgl.pub/p/mgl-base</url>
        <developerConnection>https://mgl.pub/p/mgl-base</developerConnection>
    </scm>

    <organization>
        <name>MGL技术社区</name>
        <url>https://mgl.pub/</url>
    </organization>

    <description>
        common-bom common依赖项
    </description>

    <properties>
        <revision>2025.7.1</revision>
        <maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
        <central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
    </properties>

    <dependencyManagement>
        <dependencies>
            <!-- 核心模块 -->
            <dependency>
                <groupId>pub.mgl</groupId>
                <artifactId>biz-common-orm</artifactId>
                <version>${revision}</version>
            </dependency>

            <dependency>
                <groupId>pub.mgl</groupId>
                <artifactId>biz-common-core</artifactId>
                <version>${revision}</version>
            </dependency>

            <dependency>
                <groupId>pub.mgl</groupId>
                <artifactId>biz-common-sa-token</artifactId>
                <version>${revision}</version>
            </dependency>

        </dependencies>
    </dependencyManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <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>${deploy.account}</publishingServerId>
                    <autoPublish>true</autoPublish>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>
