<?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>love.forte.simple-robot</groupId>
        <artifactId>parent</artifactId>
        <version>2.0.9-dev.1</version><!--v-->
        <relativePath>./parent/pom.xml</relativePath>
    </parent>

    <packaging>pom</packaging>
    <artifactId>project</artifactId>

    <modules>
        <module>core-parent</module>
        <module>component</module>
        <module>spring-boot-starter</module>
        <module>serialization</module>
        <module>http</module>
        <module>time-task</module>
    </modules>

    <!-- build plugins -->
    <build>
        <plugins>
            <!-- compiler plugin -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
            </plugin>
            <!-- java源码 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.jetbrains.dokka</groupId>
                <artifactId>dokka-maven-plugin</artifactId>
            </plugin>
            <!-- (1) deploy插件 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-deploy-plugin</artifactId>
            </plugin>
            <!-- （2）sonatype的staging插件 -->
            <!--<plugin>-->
            <!--    <groupId>org.sonatype.plugins</groupId>-->
            <!--    <artifactId>nexus-staging-maven-plugin</artifactId>-->
            <!--</plugin>-->
            <!-- （3）SCM插件 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-scm-plugin</artifactId>
            </plugin>
            <!-- （4）release插件，下面checkModificationExcludes是排除一些目录文件不要发布。 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
            </plugin>
            <!-- GPG -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
            </plugin>
        </plugins>


        <!--<pluginManagement>-->
        <!--    <plugins>-->
        <!--        &lt;!&ndash; sb maven &ndash;&gt;-->
        <!--        <plugin>-->
        <!--            <groupId>org.springframework.boot</groupId>-->
        <!--            <artifactId>spring-boot-maven-plugin</artifactId>-->
        <!--            <version>${spring.version}</version>-->
        <!--            <executions>-->
        <!--                <execution>-->
        <!--                    <id>repackage</id>-->
        <!--                    <goals>-->
        <!--                        <goal>repackage</goal>-->
        <!--                    </goals>-->
        <!--                </execution>-->
        <!--            </executions>-->
        <!--            <configuration>-->
        <!--                <excludes>-->
        <!--                    <exclude>-->
        <!--                        <groupId>org.springframework.boot</groupId>-->
        <!--                        <artifactId>spring-boot-configuration-processor</artifactId>-->
        <!--                    </exclude>-->
        <!--                </excludes>-->
        <!--            </configuration>-->
        <!--        </plugin>-->
        <!--        &lt;!&ndash;<plugin>&ndash;&gt;-->
        <!--        &lt;!&ndash;    <groupId>org.apache.maven.plugins</groupId>&ndash;&gt;-->
        <!--        &lt;!&ndash;    <artifactId>maven-compiler-plugin</artifactId>&ndash;&gt;-->
        <!--        &lt;!&ndash;    <configuration>&ndash;&gt;-->
        <!--        &lt;!&ndash;        <source>8</source>&ndash;&gt;-->
        <!--        &lt;!&ndash;        <target>8</target>&ndash;&gt;-->
        <!--        &lt;!&ndash;    </configuration>&ndash;&gt;-->
        <!--        &lt;!&ndash;</plugin>&ndash;&gt;-->
        <!--        &lt;!&ndash; compiler plugin &ndash;&gt;-->
        <!--        <plugin>-->
        <!--            <groupId>org.apache.maven.plugins</groupId>-->
        <!--            <artifactId>maven-compiler-plugin</artifactId>-->
        <!--            <version>3.7.0</version>-->
        <!--            <executions>-->
        <!--                &lt;!&ndash; 替换会被 maven 特别处理的 default-compile &ndash;&gt;-->
        <!--                <execution>-->
        <!--                    <id>default-compile</id>-->
        <!--                    <phase>none</phase>-->
        <!--                </execution>-->
        <!--                &lt;!&ndash; 替换会被 maven 特别处理的 default-testCompile &ndash;&gt;-->
        <!--                <execution>-->
        <!--                    <id>default-testCompile</id>-->
        <!--                    <phase>none</phase>-->
        <!--                </execution>-->
        <!--                <execution>-->
        <!--                    <id>java-compile</id>-->
        <!--                    <phase>compile</phase>-->
        <!--                    <goals>-->
        <!--                        <goal>compile</goal>-->
        <!--                    </goals>-->
        <!--                </execution>-->
        <!--                <execution>-->
        <!--                    <id>java-test-compile</id>-->
        <!--                    <phase>test-compile</phase>-->
        <!--                    <goals>-->
        <!--                        <goal>testCompile</goal>-->
        <!--                    </goals>-->
        <!--                </execution>-->
        <!--            </executions>-->
        <!--            <configuration>-->
        <!--                <source>8</source>-->
        <!--                <target>8</target>-->
        <!--                <compilerArgs>-->
        <!--                    <arg>-parameters</arg>-->
        <!--                </compilerArgs>-->
        <!--            </configuration>-->
        <!--        </plugin>-->

        <!--        &lt;!&ndash; java源码 &ndash;&gt;-->
        <!--        <plugin>-->
        <!--            <groupId>org.apache.maven.plugins</groupId>-->
        <!--            <artifactId>maven-source-plugin</artifactId>-->
        <!--            <version>3.0.0</version>-->
        <!--            <configuration>-->
        <!--                <attach>true</attach>-->
        <!--            </configuration>-->
        <!--            <executions>-->
        <!--                <execution>-->
        <!--                    <phase>compile</phase>-->
        <!--                    <goals>-->
        <!--                        <goal>jar-no-fork</goal>-->
        <!--                    </goals>-->
        <!--                </execution>-->
        <!--            </executions>-->
        <!--        </plugin>-->

        <!--        &lt;!&ndash; kt-maven-plugin &ndash;&gt;-->
        <!--        <plugin>-->
        <!--            <groupId>org.jetbrains.kotlin</groupId>-->
        <!--            <artifactId>kotlin-maven-plugin</artifactId>-->
        <!--            <version>${kotlin.version}</version>-->
        <!--            <executions>-->
        <!--                <execution>-->
        <!--                    <id>compile</id>-->
        <!--                    <phase>process-sources</phase>-->
        <!--                    <goals>-->
        <!--                        <goal>compile</goal>-->
        <!--                    </goals>-->
        <!--                </execution>-->
        <!--            </executions>-->
        <!--            <configuration>-->
        <!--                &lt;!&ndash; kotlinOptions.freeCompilerArgs = ['-Xjvm-default=enable'] &ndash;&gt;-->
        <!--                <args>-->
        <!--                    &lt;!&ndash;<arg>-Xjvm-default=enable</arg>&ndash;&gt;-->
        <!--                    <arg>-Xjvm-default=all</arg>-->
        <!--                    <arg>-Xinline-classes</arg>-->
        <!--                    <arg>-Xopt-in=kotlin.RequiresOptIn</arg>-->
        <!--                </args>-->
        <!--                <jvmTarget>1.8</jvmTarget>-->
        <!--                <javaParameters>true</javaParameters>-->
        <!--            </configuration>-->
        <!--        </plugin>-->

        <!--        &lt;!&ndash; dokka &ndash;&gt;-->
        <!--        <plugin>-->
        <!--            <groupId>org.jetbrains.dokka</groupId>-->
        <!--            <artifactId>dokka-maven-plugin</artifactId>-->
        <!--            &lt;!&ndash;<version>1.3.9</version>&ndash;&gt;-->
        <!--            <version>${dokka.version}</version>-->
        <!--            <executions>-->
        <!--                <execution>-->
        <!--                    <phase>install</phase>-->
        <!--                    <goals>-->
        <!--                        &lt;!&ndash;<goal>dokka</goal>&ndash;&gt;-->
        <!--                        &lt;!&ndash;<goal>javadoc</goal>&ndash;&gt;-->
        <!--                        <goal>javadocJar</goal>-->
        <!--                    </goals>-->
        <!--                </execution>-->
        <!--            </executions>-->
        <!--            <configuration>-->

        <!--                &lt;!&ndash;<skip>true</skip>&ndash;&gt;-->


        <!--                &lt;!&ndash; Set to true to skip dokka task, default: false &ndash;&gt;-->
        <!--                &lt;!&ndash;                        <skip>true</skip>&ndash;&gt;-->
        <!--                &lt;!&ndash; Used for linking to JDK, default: 6 &ndash;&gt;-->
        <!--                <jdkVersion>8</jdkVersion>-->
        <!--                &lt;!&ndash; Do not create index pages for empty packages &ndash;&gt;-->
        <!--                <skipEmptyPackages>true</skipEmptyPackages>-->
        <!--                &lt;!&ndash; Emit warnings about not documented members, applies globally, also can be overridden by packageOptions &ndash;&gt;-->
        <!--                <reportUndocumented>false</reportUndocumented>-->

        <!--                <skipDeprecated>true</skipDeprecated>-->
        <!--                &lt;!&ndash;<outputDir>../simple-robot-2.0-doc/docs/${project.name}/doc</outputDir>&ndash;&gt;-->

        <!--                &lt;!&ndash; Use default or set to custom path to cache directory to enable package-list caching. &ndash;&gt;-->
        <!--                &lt;!&ndash; When set to default, caches stored in $USER_HOME/.cache/dokka &ndash;&gt;-->
        <!--                <cacheRoot>default</cacheRoot>-->

        <!--                <offlineMode>true</offlineMode>-->

        <!--            </configuration>-->
        <!--        </plugin>-->


        <!--        &lt;!&ndash; maven仓库相关插件 &ndash;&gt;-->
        <!--        &lt;!&ndash; (1) deploy插件 &ndash;&gt;-->
        <!--        <plugin>-->
        <!--            <groupId>org.apache.maven.plugins</groupId>-->
        <!--            <artifactId>maven-deploy-plugin</artifactId>-->

        <!--            &lt;!&ndash;<version>3.0.0-M1</version>&ndash;&gt;-->
        <!--            <version>2.8.2</version>-->
        <!--            <executions>-->
        <!--                <execution>-->
        <!--                    <id>default-deploy</id>-->
        <!--                    <phase>deploy</phase>-->
        <!--                    <goals>-->
        <!--                        <goal>deploy</goal>-->
        <!--                    </goals>-->
        <!--                </execution>-->
        <!--            </executions>-->
        <!--        </plugin>-->
        <!--        &lt;!&ndash; （2）sonatype的staging插件 &ndash;&gt;-->
        <!--        <plugin>-->
        <!--            <groupId>org.sonatype.plugins</groupId>-->
        <!--            <artifactId>nexus-staging-maven-plugin</artifactId>-->
        <!--            <version>1.6.8</version>-->
        <!--            <extensions>true</extensions>-->
        <!--            <configuration>-->
        <!--                <serverId>oss</serverId>-->
        <!--                <nexusUrl>https://oss.sonatype.org/</nexusUrl>-->
        <!--                <autoReleaseAfterClose>true</autoReleaseAfterClose>-->
        <!--            </configuration>-->
        <!--        </plugin>-->
        <!--        &lt;!&ndash; （3）SCM插件 &ndash;&gt;-->
        <!--        <plugin>-->
        <!--            <groupId>org.apache.maven.plugins</groupId>-->
        <!--            <artifactId>maven-scm-plugin</artifactId>-->
        <!--            <version>1.8.1</version>-->
        <!--        </plugin>-->
        <!--        &lt;!&ndash; （4）release插件，下面checkModificationExcludes是排除一些目录文件不要发布。 &ndash;&gt;-->
        <!--        <plugin>-->
        <!--            <groupId>org.apache.maven.plugins</groupId>-->
        <!--            <artifactId>maven-release-plugin</artifactId>-->
        <!--            <version>2.5.3</version>-->
        <!--            <configuration>-->
        <!--                <mavenExecutorId>forked-path</mavenExecutorId>-->
        <!--                <useReleaseProfile>false</useReleaseProfile>-->
        <!--                <arguments>-Psonatype-oss-release</arguments>-->
        <!--                <pushChanges>false</pushChanges>-->
        <!--                <localCheckout>false</localCheckout>-->
        <!--                <autoVersionSubmodules>true</autoVersionSubmodules>-->
        <!--                <checkModificationExcludes>-->
        <!--                    <checkModificationExclude>.idea/</checkModificationExclude>-->
        <!--                    <checkModificationExclude>.idea/*</checkModificationExclude>-->
        <!--                    <checkModificationExclude>test/</checkModificationExclude>-->
        <!--                    <checkModificationExclude>test/*</checkModificationExclude>-->
        <!--                    <checkModificationExclude>.idea/libraries/*</checkModificationExclude>-->
        <!--                    <checkModificationExclude>pom.xml</checkModificationExclude>-->
        <!--                    <checkModificationExclude>release-pom.xml</checkModificationExclude>-->

        <!--                    <checkModificationExclude>jdonframework.iml</checkModificationExclude>-->
        <!--                    <checkModificationExclude>JdonAccessory/jdon-hibernate3x/jdon-hibernate3x.iml-->
        <!--                    </checkModificationExclude>-->
        <!--                    <checkModificationExclude>JdonAccessory/jdon-jdbc/jdon-jdbc.iml</checkModificationExclude>-->
        <!--                    <checkModificationExclude>JdonAccessory/jdon-remote/jdon-remote.iml-->
        <!--                    </checkModificationExclude>-->
        <!--                    <checkModificationExclude>JdonAccessory/jdon-struts1x/jdon-struts1x.iml-->
        <!--                    </checkModificationExclude>-->
        <!--                </checkModificationExcludes>-->
        <!--            </configuration>-->
        <!--            <dependencies>-->
        <!--                <dependency>-->
        <!--                    <groupId>org.apache.maven.plugins</groupId>-->
        <!--                    <artifactId>maven-scm-plugin</artifactId>-->
        <!--                    <version>1.8.1</version>-->
        <!--                </dependency>-->
        <!--            </dependencies>-->
        <!--        </plugin>-->
        <!--        &lt;!&ndash; GPG-->
        <!--        第3步：进行GPG签名加密，-->
        <!--        这是对生成的jar包，javadoc包等进行签名加密，-->
        <!--        保证你的文件上传到服务器过程中不会被拦截和破解安全，服务器那边使用你提供的密钥对进行解密。-->
        <!--        在pom.xml的build一级目录下的plugins里面加入下面：-->
        <!--        &ndash;&gt;-->
        <!--        <plugin>-->
        <!--            <groupId>org.apache.maven.plugins</groupId>-->
        <!--            <artifactId>maven-gpg-plugin</artifactId>-->
        <!--            <version>1.6</version>-->
        <!--            <executions>-->
        <!--                <execution>-->
        <!--                    <id>sign-artifacts</id>-->
        <!--                    <phase>install</phase>-->
        <!--                    <goals>-->
        <!--                        <goal>sign</goal>-->
        <!--                    </goals>-->
        <!--                </execution>-->
        <!--            </executions>-->
        <!--        </plugin>-->
        <!--    </plugins>-->
        <!--</pluginManagement>-->
    </build>

    <pluginRepositories>
        <pluginRepository>
            <id>jcenter</id>
            <name>JCenter</name>
            <url>https://jcenter.bintray.com/</url>
        </pluginRepository>
    </pluginRepositories>

    <!--<distributionManagement>-->
    <!--    <snapshotRepository>-->
    <!--        <id>snapshots-oss</id>-->
    <!--        <url>https://oss.sonatype.org/content/repositories/snapshots/</url>-->
    <!--    </snapshotRepository>-->
    <!--    <repository>-->
    <!--        <id>oss</id>-->
    <!--        <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
    <!--    </repository>-->
    <!--</distributionManagement>-->

    <!--<profiles>-->
    <!--    <profile>-->
    <!--        <id>release</id>-->
    <!--        <build>-->
    <!--            <plugins>-->
    <!--                <plugin>-->
    <!--                    <groupId>org.sonatype.plugins</groupId>-->
    <!--                    <artifactId>nexus-staging-maven-plugin</artifactId>-->
    <!--                </plugin>-->
    <!--                <plugin>-->
    <!--                    <groupId>org.apache.maven.plugins</groupId>-->
    <!--                    <artifactId>maven-gpg-plugin</artifactId>-->
    <!--                </plugin>-->
    <!--            </plugins>-->
    <!--        </build>-->
    <!--    </profile>-->

    <!--    <profile>-->
    <!--        <id>snapshot</id>-->
    <!--        <activation>-->
    <!--            <activeByDefault>true</activeByDefault>-->
    <!--        </activation>-->
    <!--        <repositories>-->
    <!--            <repository>-->
    <!--                <id>snapshots-repo</id>-->
    <!--                <url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
    <!--                <releases>-->
    <!--                    <enabled>false</enabled>-->
    <!--                </releases>-->
    <!--                <snapshots>-->
    <!--                    <enabled>true</enabled>-->
    <!--                </snapshots>-->
    <!--            </repository>-->
    <!--        </repositories>-->
    <!--        <build>-->
    <!--            <plugins>-->
    <!--                <plugin>-->
    <!--                    <groupId>org.sonatype.plugins</groupId>-->
    <!--                    <artifactId>nexus-staging-maven-plugin</artifactId>-->
    <!--                </plugin>-->
    <!--                <plugin>-->
    <!--                    <groupId>org.apache.maven.plugins</groupId>-->
    <!--                    <artifactId>maven-gpg-plugin</artifactId>-->
    <!--                </plugin>-->
    <!--            </plugins>-->
    <!--        </build>-->
    <!--    </profile>-->
    <!--</profiles>-->


</project>