|
@@ -6,19 +6,18 @@
|
|
|
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
<artifactId>ruoyi-vue-plus</artifactId>
|
|
|
- <version>4.5.0</version>
|
|
|
+ <version>${revision}</version>
|
|
|
|
|
|
<name>RuoYi-Vue-Plus</name>
|
|
|
<url>https://gitee.com/JavaLionLi/RuoYi-Vue-Plus</url>
|
|
|
<description>RuoYi-Vue-Plus后台管理系统</description>
|
|
|
|
|
|
<properties>
|
|
|
- <ruoyi-vue-plus.version>4.5.0</ruoyi-vue-plus.version>
|
|
|
+ <revision>4.5.0</revision>
|
|
|
<spring-boot.version>2.7.7</spring-boot.version>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
<java.version>1.8</java.version>
|
|
|
- <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
|
|
|
<spring-boot.mybatis>2.2.2</spring-boot.mybatis>
|
|
|
<springdoc.version>1.6.14</springdoc.version>
|
|
|
<poi.version>5.2.3</poi.version>
|
|
@@ -45,6 +44,13 @@
|
|
|
<!-- SMS 配置 -->
|
|
|
<aliyun.sms.version>2.0.23</aliyun.sms.version>
|
|
|
<tencent.sms.version>3.1.660</tencent.sms.version>
|
|
|
+
|
|
|
+ <!-- 插件版本 -->
|
|
|
+ <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
|
|
|
+ <maven-war-plugin.version>3.2.2</maven-war-plugin.version>
|
|
|
+ <maven-compiler-plugin.verison>3.10.1</maven-compiler-plugin.verison>
|
|
|
+ <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
|
|
|
+ <flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
|
|
|
</properties>
|
|
|
|
|
|
<profiles>
|
|
@@ -268,56 +274,56 @@
|
|
|
<dependency>
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
<artifactId>ruoyi-job</artifactId>
|
|
|
- <version>${ruoyi-vue-plus.version}</version>
|
|
|
+ <version>${revision}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 代码生成-->
|
|
|
<dependency>
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
<artifactId>ruoyi-generator</artifactId>
|
|
|
- <version>${ruoyi-vue-plus.version}</version>
|
|
|
+ <version>${revision}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 核心模块-->
|
|
|
<dependency>
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
<artifactId>ruoyi-framework</artifactId>
|
|
|
- <version>${ruoyi-vue-plus.version}</version>
|
|
|
+ <version>${revision}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 系统模块-->
|
|
|
<dependency>
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
<artifactId>ruoyi-system</artifactId>
|
|
|
- <version>${ruoyi-vue-plus.version}</version>
|
|
|
+ <version>${revision}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 通用工具-->
|
|
|
<dependency>
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
<artifactId>ruoyi-common</artifactId>
|
|
|
- <version>${ruoyi-vue-plus.version}</version>
|
|
|
+ <version>${revision}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- OSS对象存储模块 -->
|
|
|
<dependency>
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
<artifactId>ruoyi-oss</artifactId>
|
|
|
- <version>${ruoyi-vue-plus.version}</version>
|
|
|
+ <version>${revision}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- SMS短信模块 -->
|
|
|
<dependency>
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
<artifactId>ruoyi-sms</artifactId>
|
|
|
- <version>${ruoyi-vue-plus.version}</version>
|
|
|
+ <version>${revision}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- demo模块 -->
|
|
|
<dependency>
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
<artifactId>ruoyi-demo</artifactId>
|
|
|
- <version>${ruoyi-vue-plus.version}</version>
|
|
|
+ <version>${revision}</version>
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
@@ -342,7 +348,7 @@
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>3.9.0</version>
|
|
|
+ <version>${maven-compiler-plugin.verison}</version>
|
|
|
<configuration>
|
|
|
<source>${java.version}</source>
|
|
|
<target>${java.version}</target>
|
|
@@ -370,7 +376,7 @@
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
- <version>2.22.2</version>
|
|
|
+ <version>${maven-surefire-plugin.version}</version>
|
|
|
<configuration>
|
|
|
<argLine>-Dfile.encoding=UTF-8</argLine>
|
|
|
<!-- 根据打包环境执行对应的@Tag测试方法 -->
|
|
@@ -379,6 +385,32 @@
|
|
|
<excludedGroups>exclude</excludedGroups>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
+ <!-- 统一版本号管理 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
+ <artifactId>flatten-maven-plugin</artifactId>
|
|
|
+ <version>${flatten-maven-plugin.version}</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>
|
|
|
<resources>
|
|
|
<resource>
|