<?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>
    <parent>
        <groupId>co.panghu.boot</groupId>
        <artifactId>panghu-boot-dependencies</artifactId>
        <version>1.0.0.1</version>
    </parent>
    <artifactId>panghu-boot-starter-parent</artifactId>
    <packaging>pom</packaging>
    <description>panghu-boot-dependencies</description>
    <version>1.0.0.2</version>
    <url>https://gitee.com/panghu-project/panghu-boot-starter-parent</url>
    <modules>
        <module>panghu-boot-common</module>
        <module>panghu-boot-starter-redis</module>
        <module>panghu-boot-starter-web</module>
        <module>panghu-boot-starter-security</module>
        <module>panghu-boot-starter-aliyun-oss</module>
        <module>panghu-boot-starter-aliyun-sms</module>
        <module>panghu-boot-starter-alipay</module>
        <module>panghu-boot-starter-thymeleaf</module>
        <module>panghu-boot-starter-mybatis-plus</module>
        <module>panghu-boot-starter-log4j2</module>
        <module>panghu-boot-starter-email</module>
    </modules>
    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
            <comments>panghu spring boot </comments>
        </license>
    </licenses>
    <issueManagement>
        <system>gitee</system>
        <url>https://gitee.com/panghu-project/panghu-boot-starter-parent/issues</url>
    </issueManagement>
    <inceptionYear>2023</inceptionYear>
    <organization>
        <name>panghu-project</name>
        <url>https://gitee.com/panghu-project</url>
    </organization>

    <scm>
        <connection>scm:git:https://gitee.com/panghu-project/panghu-boot-starter-parent.git</connection>
        <developerConnection>scm:git:https://gitee.com/panghu-project/panghu-boot-starter-parent.git</developerConnection>
        <url>https://gitee.com/panghu-project/panghu-boot-starter-parent</url>
    </scm>

    <properties>
        <maven.compiler.source>17</maven.compiler.source>
        <maven.compiler.target>17</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>


    </properties>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>co.panghu.boot</groupId>
                <artifactId>panghu-boot-common</artifactId>
                <version>1.0.0.2</version>
            </dependency>
            <dependency>
                <groupId>co.panghu.boot</groupId>
                <artifactId>panghu-boot-starter-alipay</artifactId>
                <version>1.0.0.2</version>
            </dependency>
            <dependency>
                <groupId>co.panghu.boot</groupId>
                <artifactId>panghu-boot-starter-aliyun-oss</artifactId>
                <version>1.0.0.2</version>
            </dependency>
            <dependency>
                <groupId>co.panghu.boot</groupId>
                <artifactId>panghu-boot-starter-aliyun-sms</artifactId>
                <version>1.0.0.2</version>
            </dependency>
            <dependency>
                <groupId>co.panghu.boot</groupId>
                <artifactId>panghu-boot-starter-mybatis-plus</artifactId>
                <version>1.0.0.2</version>
            </dependency>
            <dependency>
                <groupId>co.panghu.boot</groupId>
                <artifactId>panghu-boot-starter-redis</artifactId>
                <version>1.0.0.2</version>
            </dependency>
            <dependency>
                <groupId>co.panghu.boot</groupId>
                <artifactId>panghu-boot-starter-security</artifactId>
                <version>1.0.0.2</version>
            </dependency>
            <dependency>
                <groupId>co.panghu.boot</groupId>
                <artifactId>panghu-boot-starter-thymeleaf</artifactId>
                <version>1.0.0.2</version>
            </dependency>
            <dependency>
                <groupId>co.panghu.boot</groupId>
                <artifactId>panghu-boot-starter-web</artifactId>
                <version>1.0.0.2</version>
            </dependency>
            <dependency>
                <groupId>co.panghu.boot</groupId>
                <artifactId>panghu-boot-starter-log4j2</artifactId>
                <version>1.0.0.2</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <profiles>
        <profile>
            <id>panghu</id>
            <distributionManagement>
                <repository>
                    <id>panghu-releases</id>
                    <url>http://192.168.50.10:8003/repository/panghu-releases/</url>
                </repository>
                <snapshotRepository>
                    <id>panghu-snapshots</id>
                    <uniqueVersion>true</uniqueVersion>
                    <url>http://192.168.50.10:8003/repository/panghu-snapshots/</url>
                </snapshotRepository>
            </distributionManagement>
        </profile>
        <profile>
            <id>ossrh</id>
            <distributionManagement>
                <repository>
                    <id>ossrh</id>
                    <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
                </repository>
                <snapshotRepository>
                    <id>ossrh</id>
                    <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
                </snapshotRepository>
            </distributionManagement>
        </profile>
    </profiles>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                    <autoVersionSubmodules>true</autoVersionSubmodules>
                    <useReleaseProfile>false</useReleaseProfile>
                    <releaseProfiles>release</releaseProfiles>
                    <goals>deploy</goals>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>17</source>
                    <target>17</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <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.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar-no-fork</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>