<?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>
        <artifactId>ipaas-common-scheduleJob</artifactId>
        <groupId>io.gitee.luckyboyguo</groupId>
        <version>1.0.0</version>
    </parent>

    <artifactId>ipaas-common-scheduleJob-api</artifactId>
    <version>1.0.0</version>
    <packaging>jar</packaging>

    <name>ipaas-common-scheduleJob-api</name> <!-- 项目名称 -->
    <description>This is the common file module for iPaaS</description> <!-- 项目描述 -->
    <url>https://gitee.com/luckyboyguo/u5iefwba02</url> <!-- 项目 URL -->
    <licenses>
        <license>
            <name>The Apache License, Version 2.0</name> <!-- 许可证名称 -->
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <!-- 许可证 URL -->
            <distribution>repo</distribution>
        </license>
    </licenses>

    <developers>
        <developer>
            <id>lucky</id> <!-- 开发者 ID -->
            <name>luckyboy</name> <!-- 开发者名称 -->
            <email>luckyboyguo@126.com</email> <!-- 开发者邮箱 -->
            <url>http://www.test.com</url> <!-- 开发者 URL -->
        </developer>
    </developers>
    <scm>
        <connection>scm:git:git://gitee.com/luckyboyguo/u5iefwba02.git</connection>
        <developerConnection>scm:git:ssh://gitee.com/luckyboyguo/u5iefwba02.git</developerConnection>
        <url>https://gitee.com/luckyboyguo/u5iefwba02</url> <!-- SCM URL -->
        <tag>HEAD</tag>
    </scm>
    <properties>
        <maven.compiler.source>17</maven.compiler.source>
        <maven.compiler.target>17</maven.compiler.target>
    </properties>
    <build>
        <plugins>
            <!--编译-->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
                <configuration>
                    <source>17</source>
                    <target>17</target>
                </configuration>
            </plugin>
            <!--生成javadoc-->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>3.3.1</version>
                <configuration>
                    <source>14</source>
                </configuration>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <!--生成源码Jar -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>3.3.1</version>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <!--中央仓库发布-->
            <plugin>
                <groupId>org.sonatype.central</groupId>
                <artifactId>central-publishing-maven-plugin</artifactId>
                <version>0.5.0</version>
                <extensions>true</extensions>
                <configuration>
                    <publishingServerId>central</publishingServerId>
                </configuration>
            </plugin>
            <!-- GPG签名 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>3.2.4</version>
                <executions>
                    <execution>
                        <id>sign-artifacts</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <gpgArguments>
                        <arg>--pinentry-mode</arg>
                        <arg>loopback</arg>
                        <arg>--passphrase</arg>
<!--                        <arg>${env.GPG_PASSPHRASE}</arg>-->
                    </gpgArguments>
                    <gpgExecutable>gpg</gpgExecutable>
                    <useGpgCmd>true</useGpgCmd>
                    <passphraseServerId>gpg.passphrase</passphraseServerId>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
