<?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>io.github.easy-do</groupId>
    <artifactId>easy-do-parent</artifactId>
    <version>1.0.1</version>
    <name>easy-do-parent</name>

    <description>easy-do 父类项目</description>

    <properties>
        <java.version>1.8</java.version>
    </properties>

    <packaging>pom</packaging>

    <modules>

<!--        <module>common/easy-do-core</module>-->
<!--        <module>common/easy-do-utils</module>-->
<!--        <module>rely/admin-client-rely</module>-->
<!--        <module>rely/nacos-client-rely</module>-->
<!--        <module>starter/easy-do-cloud-web-core</module>-->
<!--        <module>starter/easy-do-web-nacos-starter</module>-->
<!--        <module>starter/easy-do-jpa-starter</module>-->
<!--        <module>starter/easy-do-redis-starter</module>-->
<!--        <module>starter/easy-do-mybatis-starter</module>-->
<!--        <module>starter/easy-do-mybatis-plus-starter</module>-->
<!--        <module>starter/easy-do-knife4j-starter</module>-->
<!--        <module>starter/easy-do-oauth2-core</module>-->
<!--        <module>starter/easy-do-oauth2-api</module>-->
<!--        <module>starter/easy-do-oauth2-server-starter</module>-->
<!--        <module>starter/easy-do-oauth2-client-starter</module>-->
<!--        <module>starter/easy-do-oauth2-resources-starter</module>-->
<!--        <module>starter/easy-do-xxl-job-starter</module>-->

    </modules>
    <!--    SpringCloud and SpringCloud-alibaba 毕业推荐版本-->
    <dependencyManagement>
        <dependencies>

            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-parent</artifactId>
                <version>2.3.2.RELEASE</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

            <dependency>
                    <groupId>org.springframework.cloud</groupId>
                    <artifactId>spring-cloud-dependencies</artifactId>
                    <version>Hoxton.SR8</version>
                    <type>pom</type>
                    <scope>import</scope>
                </dependency>

            <dependency>
                <groupId>com.alibaba.cloud</groupId>
                <artifactId>spring-cloud-alibaba-dependencies</artifactId>
                <version>2.2.3.RELEASE</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

        </dependencies>
    </dependencyManagement>




    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-maven-plugin</artifactId>
                    <version>2.3.7.RELEASE</version>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                    <encoding>utf-8</encoding>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <!--    以下是发布maven仓库jar包的配置-->
    <parent>
        <groupId>org.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>9</version>
    </parent>
    <url>https://github.com/easy-do/easy-do.git</url>
    <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>
        </license>
    </licenses>
    <developers>
        <developer>
            <name>y1312262337</name>
            <email>gebilaoyu@foxmail.com</email>
        </developer>
    </developers>
    <scm>
        <tag>master</tag>
        <connection>scm:git:https://github.com/easy-do/easy-do.git</connection>
        <developerConnection>scm:git:https://github.com/easy-do/easy-do.git</developerConnection>
        <url>https://github.com/easy-do/easy-do.git</url>
    </scm>

    <profiles>
        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <version>2.1.2</version>
                        <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>
                        <version>2.7</version>
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.1</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
            <distributionManagement>
                <snapshotRepository>
                    <id>oss</id>
                    <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
                </snapshotRepository>
                <repository>
                    <id>oss</id>
                    <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
                </repository>
            </distributionManagement>
        </profile>
    </profiles>

</project>
