refactor: 在pom文件中使用revision属性替换agileboot.version属性, 避免Properties in parent definition are prohibited IDEA错误提示

This commit is contained in:
valarchie 2023-04-24 22:19:38 +08:00
parent caa8b392fa
commit e9151d0e44
9 changed files with 16 additions and 16 deletions

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>agileboot</artifactId>
<groupId>com.agileboot</groupId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</parent>
<packaging>jar</packaging>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>agileboot</artifactId>
<groupId>com.agileboot</groupId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</parent>
<packaging>jar</packaging>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>agileboot</artifactId>
<groupId>com.agileboot</groupId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>agileboot</artifactId>
<groupId>com.agileboot</groupId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>agileboot</artifactId>
<groupId>com.agileboot</groupId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</parent>
<packaging>jar</packaging>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,4 +1,4 @@
Application Version: ${agileboot.version}
Application Version: ${revision}
Spring Boot Version: ${spring-boot.version}
_ _ _ ____ _
/ \ __ _ (_)| | ___ | __ ) ___ ___ | |_

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>agileboot</artifactId>
<groupId>com.agileboot</groupId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>agileboot</artifactId>
<groupId>com.agileboot</groupId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

16
pom.xml
View File

@ -6,14 +6,14 @@
<groupId>com.agileboot</groupId>
<artifactId>agileboot</artifactId>
<version>${agileboot.version}</version>
<version>${revision}</version>
<name>agileboot</name>
<url>http://www.agileboot.vip</url>
<description>基于 springboot的快速开发系统</description>
<properties>
<agileboot.version>1.0.0</agileboot.version>
<revision>1.0.0</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
@ -171,42 +171,42 @@
<dependency>
<groupId>com.agileboot</groupId>
<artifactId>agileboot-admin</artifactId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</dependency>
<!-- 定时任务-->
<dependency>
<groupId>com.agileboot</groupId>
<artifactId>agileboot-api</artifactId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</dependency>
<!-- 代码生成-->
<dependency>
<groupId>com.agileboot</groupId>
<artifactId>agileboot-domain</artifactId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</dependency>
<!-- 核心模块-->
<dependency>
<groupId>com.agileboot</groupId>
<artifactId>agileboot-infrastructure</artifactId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</dependency>
<!-- 系统模块-->
<dependency>
<groupId>com.agileboot</groupId>
<artifactId>agileboot-orm</artifactId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</dependency>
<!-- 通用工具-->
<dependency>
<groupId>com.agileboot</groupId>
<artifactId>agileboot-common</artifactId>
<version>${agileboot.version}</version>
<version>${revision}</version>
</dependency>
<!-- hutool common tools-->