
- 将 Git 连接方式从 ssh 改为 https - 更新 maven-source-plugin 到 3.2.1 版本 - 更新 maven-javadoc-plugin 到 3.2.0 版本- 更新 maven-gpg-plugin到 1.6 版本 - 添加 central-publishing-maven-plugin 0.5.0版本 - 添加 maven-release-plugin 2.5.3版本 - 调整插件配置以适应新版本和项目需求
152 lines
5.9 KiB
XML
152 lines
5.9 KiB
XML
<?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>
|
||
|
||
<groupId>cn.isliu</groupId>
|
||
<artifactId>feishu-table-helper</artifactId>
|
||
<version>0.0.1</version>
|
||
|
||
<name>${project.groupId}:${project.artifactId}</name>
|
||
<description>
|
||
Feishu Table Assistant makes reading and writing operations on Feishu tables extremely simple.
|
||
</description>
|
||
<url>https://github.com/luckday-cn/feishu-table-helper</url>
|
||
|
||
<licenses>
|
||
<license>
|
||
<name>The Apache License, Version 2.0</name>
|
||
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||
</license>
|
||
</licenses>
|
||
|
||
<developers>
|
||
<developer>
|
||
<name>liu</name>
|
||
<email>luckday@isliu.cn</email>
|
||
<url>https://github.com/luckday-cn/feishu-table-helper</url>
|
||
</developer>
|
||
</developers>
|
||
|
||
<scm>
|
||
<connection>scm:git:https://github.com/luckday-cn/feishu-table-helper.git</connection>
|
||
<developerConnection>scm:git:https://github.com/luckday-cn/feishu-table-helper.git</developerConnection>
|
||
<url>http://github.com/luckday-cn/feishu-table-helper/tree/master</url>
|
||
</scm>
|
||
|
||
<issueManagement>
|
||
<system>GitHub</system>
|
||
<url>https://github.com/luckday-cn/feishu-table-helper/issues</url>
|
||
</issueManagement>
|
||
|
||
<properties>
|
||
<maven.compiler.source>8</maven.compiler.source>
|
||
<maven.compiler.target>8</maven.compiler.target>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>com.larksuite.oapi</groupId>
|
||
<artifactId>oapi-sdk</artifactId>
|
||
<version>2.4.21</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp</artifactId>
|
||
<version>4.12.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.google.code.gson</groupId>
|
||
<artifactId>gson</artifactId>
|
||
<version>2.8.9</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>3.2.1</version>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-source</id>
|
||
<phase>verify</phase>
|
||
<goals>
|
||
<!--生成源代码的jar -->
|
||
<goal>jar</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-javadoc-plugin</artifactId>
|
||
<version>3.2.0</version>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-javadoc</id>
|
||
<phase>verify</phase>
|
||
<goals>
|
||
<!--生成javadoc的jar -->
|
||
<goal>jar</goal>
|
||
<!--生成javadoc的html -->
|
||
<goal>javadoc</goal>
|
||
</goals>
|
||
<configuration>
|
||
<!--不显示javadoc警告-->
|
||
<additionalOptions>-Xdoclint:none</additionalOptions>
|
||
<additionalJOption>-Xdoclint:none</additionalJOption>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
<!-- gpg plugin,用于签名认证 -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-gpg-plugin</artifactId>
|
||
<version>1.6</version>
|
||
<executions>
|
||
<execution>
|
||
<id>sign-artifacts</id>
|
||
<phase>verify</phase>
|
||
<goals>
|
||
<goal>sign</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
<!-- 发布到私服时需要注释掉下面两个插件 -->
|
||
<!--staging puglin,用于自动执行发布阶段(免手动)-->
|
||
<plugin>
|
||
<groupId>org.sonatype.central</groupId>
|
||
<artifactId>central-publishing-maven-plugin</artifactId>
|
||
<version>0.5.0</version>
|
||
<extensions>true</extensions>
|
||
<configuration>
|
||
<!-- 这里的publishingServerId是在settings.xml中配置的server认证信息 -->
|
||
<publishingServerId>central</publishingServerId>
|
||
<!-- 这里的autoPublish是自动发布,而不是手动发布 -->
|
||
<autoPublish>true</autoPublish>
|
||
<!-- 这里的waitUntil配置为published是等待发布完成,因为发布完成的时间比较长,所以可以不加这个参数 -->
|
||
<waitUntil>published</waitUntil>
|
||
<!-- 这里的deploymentName是发布到中央仓库的名称 -->
|
||
<deploymentName>${project.groupId}:${project.artifactId}:${project.version}</deploymentName>
|
||
</configuration>
|
||
</plugin>
|
||
<!-- release plugin,用于发布到release仓库部署插件 -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-release-plugin</artifactId>
|
||
<version>2.5.3</version>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
|
||
</project> |