<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>kim.wind</groupId>
    <artifactId>sms_aggregation</artifactId>
    <version>1.0.0</version>
    <name>sms_aggregation</name>
    <packaging>pom</packaging>
    <description>sms_aggregation</description>
    <url>https://gitee.com/the-wind-is-like-a-song/sms_aggregation</url>

    <modules>
        <module>sms-aggregation-api</module>
        <module>sms-aggregation-comm</module>
        <module>sms-aggregation-aliyun</module>
        <module>sms-aggregation-unisms</module>
        <module>sms-aggregation-tencent</module>
        <module>sms-aggregation-yunpian</module>
        <module>sms-aggregation-spring-boot-starter</module>
    </modules>
    <!-- 开源协议 apache 2.0 -->
    <licenses>
        <license>
            <name>Apache 2</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
            <comments>A business-friendly OSS license</comments>
        </license>
    </licenses>

    <!-- 作者信息 -->
    <developers>
        <developer>
            <name>wind</name>
            <email>wzsf1810@qq.com</email>
        </developer>
    </developers>

    <!-- 仓库信息 -->
    <scm>
        <tag>master</tag>
        <url>https://gitee.com/the-wind-is-like-a-song/sms_aggregation.git</url>
        <connection>scm:git:https://gitee.com/the-wind-is-like-a-song/sms_aggregation.git</connection>
        <developerConnection>scm:git:https://gitee.com/the-wind-is-like-a-song/sms_aggregation.git</developerConnection>
    </scm>

    <properties>
        <java.version>1.8</java.version>
        <spring.boot.version>2.7.10</spring.boot.version>
        <modules.version>1.0.0</modules.version>
    </properties>

    <dependencyManagement>
        <dependencies>
            <!-- SpringBoot的依赖配置-->
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-dependencies</artifactId>
                <version>${spring.boot.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter</artifactId>
                <version>${spring.boot.version}</version>
            </dependency>
            <dependency>
                <groupId>kim.wind</groupId>
                <artifactId>sms-aggregation-api</artifactId>
            </dependency>

            <dependency>
                <groupId>kim.wind</groupId>
                <artifactId>sms-aggregation-comm</artifactId>
            </dependency>

            <dependency>
                <groupId>kim.wind</groupId>
                <artifactId>sms-aggregation-aliyun</artifactId>
            </dependency>

            <dependency>
                <groupId>kim.wind</groupId>
                <artifactId>sms-aggregation-tencent</artifactId>
            </dependency>

            <dependency>
                <groupId>kim.wind</groupId>
                <artifactId>sms-aggregation-unisms</artifactId>
            </dependency>

            <dependency>
                <groupId>kim.wind</groupId>
                <artifactId>sms-aggregation-yunpian</artifactId>
            </dependency>
            <dependency>
                <groupId>kim.wind</groupId>
                <artifactId>sms-aggregation-spring-boot-starter</artifactId>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <optional>true</optional>
        </dependency>
    </dependencies>

    <distributionManagement>
        <snapshotRepository>
            <id>ossrh</id>
            <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
        <repository>
            <id>ossrh</id>
            <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
    </distributionManagement>


    <build>
            <plugins>
                <!-- Source -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>2.2.1</version>
                    <executions>
                        <execution>
                            <phase>package</phase>
                            <goals>
                                <goal>jar-no-fork</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <!-- Javadoc -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>2.9.1</version>
                    <configuration>
                        <show>private</show>
                        <nohelp>true</nohelp>
                        <charset>UTF-8</charset>
                        <encoding>UTF-8</encoding>
                        <docencoding>UTF-8</docencoding>
                        <additionalparam>-Xdoclint:none</additionalparam>
                        <!-- TODO 临时解决不规范的javadoc生成报错,后面要规范化后把这行去掉 -->
                    </configuration>
                    <executions>
                        <execution>
                            <phase>package</phase>
                            <goals>
                                <goal>jar</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <!-- GPG -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-gpg-plugin</artifactId>
                    <version>1.6</version>
                    <executions>
                        <execution>
                            <phase>verify</phase>
                            <goals>
                                <goal>sign</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <!--Compiler -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.0</version>
                    <configuration>
                        <source>1.8</source>
                        <target>1.8</target>
                        <fork>true</fork>
                        <verbose>true</verbose>
                        <encoding>UTF-8</encoding>
                    </configuration>
                </plugin>
                <!--Release -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>2.5.1</version>
                </plugin>
            </plugins>
    </build>
</project>
