forked from plusone/plusone-commons
chore: 更新版本号并完善项目元数据配置
- 将版本从 1.1.0-SNAPSHOT 更新为 1.1.0-RC1 - 为 plusone-commons、plusone-dependencies 和父 pom 添加项目名称 - 配置项目 URL、许可证、开发者和 SCM 信息 - 在父 pom 中添加 release profile 支持 GPG 签名和中央仓库发布
This commit is contained in:
@@ -7,15 +7,40 @@
|
||||
<parent>
|
||||
<groupId>xyz.zhouxy.plusone</groupId>
|
||||
<artifactId>plusone-parent</artifactId>
|
||||
<version>1.1.0-SNAPSHOT</version>
|
||||
<version>1.1.0-RC1</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>plusone-commons</artifactId>
|
||||
|
||||
<name>Plusone Commons</name>
|
||||
|
||||
<url>https://gitea.zhouxy.xyz/plusone/plusone-commons</url>
|
||||
|
||||
<description>
|
||||
Plusone Commons 是一个 Java 工具类库,提供了一系列实用的类和方法,用于简化开发。结合 guava 使用。
|
||||
</description>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Apache License, Version 2.0</name>
|
||||
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Zhou Xingyi (周兴毅)</name>
|
||||
<url>https://gitea.zhouxy.xyz/plusone</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:https://gitea.zhouxy.xyz/plusone/plusone-commons.git</connection>
|
||||
<developerConnection>scm:git:ssh://gitea.zhouxy.xyz/plusone/plusone-commons.git</developerConnection>
|
||||
<url>https://gitea.zhouxy.xyz/plusone/plusone-commons</url>
|
||||
</scm>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
||||
@@ -7,16 +7,42 @@
|
||||
<parent>
|
||||
<groupId>xyz.zhouxy.plusone</groupId>
|
||||
<artifactId>plusone-parent</artifactId>
|
||||
<version>1.1.0-SNAPSHOT</version>
|
||||
<version>1.1.0-RC1</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>plusone-dependencies</artifactId>
|
||||
<name>plusone-dependencies</name>
|
||||
|
||||
<url>https://gitea.zhouxy.xyz/plusone/plusone-commons</url>
|
||||
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<description>
|
||||
plusone 相关项目依赖管理
|
||||
</description>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Apache License, Version 2.0</name>
|
||||
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Zhou Xingyi (周兴毅)</name>
|
||||
<url>https://gitea.zhouxy.xyz/plusone</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:https://gitea.zhouxy.xyz/plusone/plusone-commons.git</connection>
|
||||
<developerConnection>scm:git:ssh://gitea.zhouxy.xyz/plusone/plusone-commons.git</developerConnection>
|
||||
<url>https://gitea.zhouxy.xyz/plusone/plusone-commons</url>
|
||||
</scm>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
||||
76
pom.xml
76
pom.xml
@@ -1,14 +1,42 @@
|
||||
<?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">
|
||||
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>
|
||||
|
||||
<name>plusone-parent</name>
|
||||
|
||||
<groupId>xyz.zhouxy.plusone</groupId>
|
||||
<artifactId>plusone-parent</artifactId>
|
||||
<version>1.1.0-SNAPSHOT</version>
|
||||
<version>1.1.0-RC1</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<description>
|
||||
一个常用的工具集,结合 guava 使用。
|
||||
</description>
|
||||
|
||||
<url>https://gitea.zhouxy.xyz/plusone/plusone-commons</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Apache License, Version 2.0</name>
|
||||
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Zhou Xingyi (周兴毅)</name>
|
||||
<url>https://gitea.zhouxy.xyz/plusone</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:https://gitea.zhouxy.xyz/plusone/plusone-commons.git</connection>
|
||||
<developerConnection>scm:git:ssh://gitea.zhouxy.xyz/plusone/plusone-commons.git</developerConnection>
|
||||
<url>https://gitea.zhouxy.xyz/plusone/plusone-commons</url>
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<java.version>1.8</java.version>
|
||||
@@ -131,4 +159,46 @@
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- GPG -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>3.2.5</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</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>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<failOnError>false</failOnError>
|
||||
<additionalparam>-Xdoclint:none</additionalparam>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user