mirror of
https://gitee.com/dromara/sa-token.git
synced 2026-05-14 04:42:09 +08:00
release: v1.45.0
This commit is contained in:
@@ -4,13 +4,6 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.sonatype.oss</groupId>
|
||||
<artifactId>oss-parent</artifactId>
|
||||
<version>7</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
|
||||
<groupId>cn.dev33</groupId>
|
||||
<artifactId>sa-token-bom</artifactId>
|
||||
<version>${revision}</version>
|
||||
@@ -20,11 +13,11 @@
|
||||
<url>https://github.com/dromara/sa-token</url>
|
||||
|
||||
<properties>
|
||||
<revision>1.44.0</revision>
|
||||
<!-- Maven GPG Plugin -->
|
||||
<maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version>
|
||||
<!-- Maven Central Portal -->
|
||||
<central.publishing.maven.version>0.7.0</central.publishing.maven.version>
|
||||
<revision>1.45.0</revision>
|
||||
|
||||
<!-- Maven GPG Plugin & Maven Central Portal -->
|
||||
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
|
||||
<central.publishing.maven.version>0.10.0</central.publishing.maven.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
@@ -278,6 +271,8 @@
|
||||
<!-- 项目构建 -->
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
<!-- 源码编译 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
@@ -289,11 +284,11 @@
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- 统一版本号管理 -->
|
||||
<!-- flatten 统一版本号管理 -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>flatten-maven-plugin</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.7.3</version>
|
||||
<configuration>
|
||||
<updatePomFile>true</updatePomFile>
|
||||
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
||||
@@ -316,7 +311,40 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- gpg 签名 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>${maven-gpg-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- 新版 Central Portal 中央仓库上传 -->
|
||||
<plugin>
|
||||
<groupId>org.sonatype.central</groupId>
|
||||
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||
<version>${central.publishing.maven.version}</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<!-- 必须与 settings.xml 中 server 的 id 一致 -->
|
||||
<publishingServerId>central</publishingServerId>
|
||||
<!-- 是否自动发布。设为 true 后,上传完成无需手动点击发布 -->
|
||||
<!-- <autoPublish>true</autoPublish> -->
|
||||
<!-- 等待直到发布完成,让构建过程等待最终结果 -->
|
||||
<!-- <waitUntil>published</waitUntil> -->
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
Reference in New Issue
Block a user