版本号统一管理

This commit is contained in:
ruansheng 2022-03-06 17:36:13 +08:00
parent a1e995e800
commit 54dcbe2a88
25 changed files with 104 additions and 52 deletions

32
pom.xml
View File

@ -8,7 +8,7 @@
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-parent</artifactId> <artifactId>sa-token-parent</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>1.29.1.trial</version> <version>${revision}</version>
<!-- 项目介绍 --> <!-- 项目介绍 -->
<name>sa-token</name> <name>sa-token</name>
@ -37,7 +37,7 @@
<!-- 一些属性 --> <!-- 一些属性 -->
<properties> <properties>
<sa-token-version>1.29.1.trial</sa-token-version> <revision>1.29.1.trial</revision>
<jdk.version>1.8</jdk.version> <jdk.version>1.8</jdk.version>
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding> <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding>
@ -86,6 +86,34 @@
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</configuration> </configuration>
</plugin> </plugin>
<!-- 版本号管理 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.2.7</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
<pluginManagement> <pluginManagement>
<plugins> <plugins>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-parent</artifactId> <artifactId>sa-token-parent</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-parent</artifactId> <artifactId>sa-token-parent</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>pom</packaging> <packaging>pom</packaging>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId> <artifactId>sa-token-plugin</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -20,13 +21,13 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-dao-redis</artifactId> <artifactId>sa-token-dao-redis</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-dao-redis-jackson</artifactId> <artifactId>sa-token-dao-redis-jackson</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<!-- redis pool --> <!-- redis pool -->

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId> <artifactId>sa-token-plugin</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -20,7 +21,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- dubbo --> <!-- dubbo -->

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId> <artifactId>sa-token-plugin</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -20,7 +21,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- RedisTemplate 相关操作API --> <!-- RedisTemplate 相关操作API -->
<dependency> <dependency>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId> <artifactId>sa-token-plugin</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -20,7 +21,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- RedisTemplate 相关操作API --> <!-- RedisTemplate 相关操作API -->
<dependency> <dependency>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId> <artifactId>sa-token-plugin</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -20,7 +21,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- thymeleaf --> <!-- thymeleaf -->
<dependency> <dependency>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId> <artifactId>sa-token-plugin</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -20,7 +21,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- hutool (jwt) --> <!-- hutool (jwt) -->
<dependency> <dependency>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId> <artifactId>sa-token-plugin</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -20,7 +21,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId> <artifactId>sa-token-plugin</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -20,7 +21,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-boot-starter</artifactId> <artifactId>sa-token-spring-boot-starter</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- 视图引擎 --> <!-- 视图引擎 -->
<dependency> <dependency>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId> <artifactId>sa-token-plugin</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -20,7 +21,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-boot-starter</artifactId> <artifactId>sa-token-spring-boot-starter</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- spring-boot-starter-aop --> <!-- spring-boot-starter-aop -->
<dependency> <dependency>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId> <artifactId>sa-token-plugin</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -20,7 +21,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- jwt --> <!-- jwt -->
<dependency> <dependency>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-parent</artifactId> <artifactId>sa-token-parent</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>pom</packaging> <packaging>pom</packaging>

View File

@ -5,7 +5,8 @@
<parent> <parent>
<artifactId>sa-token-starter</artifactId> <artifactId>sa-token-starter</artifactId>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -28,12 +29,12 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-servlet</artifactId> <artifactId>sa-token-servlet</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -5,7 +5,8 @@
<parent> <parent>
<artifactId>sa-token-starter</artifactId> <artifactId>sa-token-starter</artifactId>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -37,12 +38,12 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-servlet</artifactId> <artifactId>sa-token-servlet</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-starter</artifactId> <artifactId>sa-token-starter</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -20,7 +21,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- spring-boot-starter --> <!-- spring-boot-starter -->
<dependency> <dependency>
@ -47,7 +48,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-oauth2</artifactId> <artifactId>sa-token-oauth2</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-starter</artifactId> <artifactId>sa-token-starter</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -20,7 +21,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- Servlet API --> <!-- Servlet API -->
<dependency> <dependency>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-starter</artifactId> <artifactId>sa-token-starter</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -25,7 +26,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-starter</artifactId> <artifactId>sa-token-starter</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -19,7 +20,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-servlet</artifactId> <artifactId>sa-token-servlet</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -30,7 +31,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-oauth2</artifactId> <artifactId>sa-token-oauth2</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<!-- config --> <!-- config -->

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-parent</artifactId> <artifactId>sa-token-parent</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>pom</packaging> <packaging>pom</packaging>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-test</artifactId> <artifactId>sa-token-test</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -19,7 +20,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-core</artifactId> <artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-test</artifactId> <artifactId>sa-token-test</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -19,12 +20,12 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-boot-starter</artifactId> <artifactId>sa-token-spring-boot-starter</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-jwt</artifactId> <artifactId>sa-token-jwt</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-test</artifactId> <artifactId>sa-token-test</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -19,7 +20,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-boot-starter</artifactId> <artifactId>sa-token-spring-boot-starter</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -7,7 +7,8 @@
<parent> <parent>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-test</artifactId> <artifactId>sa-token-test</artifactId>
<version>1.29.1.trial</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -19,7 +20,7 @@
<dependency> <dependency>
<groupId>cn.dev33</groupId> <groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-boot-starter</artifactId> <artifactId>sa-token-spring-boot-starter</artifactId>
<version>${sa-token-version}</version> <version>${revision}</version>
</dependency> </dependency>
</dependencies> </dependencies>