Skip to content

Commit 36a6c75

Browse files
committed
修改pom配置
1 parent 234cfe3 commit 36a6c75

File tree

6 files changed

+87
-68
lines changed

6 files changed

+87
-68
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
# Leafage Basic
22

33
<p align="center">
4-
<img src="https://img.shields.io/badge/Spring%20Cloud-2023.0.0-green.svg" alt="Coverage Status">
5-
<img src="https://img.shields.io/badge/Spring%20Boot-3.2.0-green.svg" alt="Downloads">
4+
<img src="https://img.shields.io/badge/Spring%20Cloud-2023.0.3-green.svg" alt="Coverage Status">
5+
<img src="https://img.shields.io/badge/Spring%20Boot-3.2.7-green.svg" alt="Downloads">
6+
<img src="https://img.shields.io/badge/Spring%20Oauth2%20Authorization%20Server-1.3.2-green.svg" alt="Downloads">
67
<img src="https://sonarcloud.io/api/project_badges/measure?project=little3201_leafage-basic&metric=alert_status" alt="Quality Gate Status">
78
<img src="https://sonarcloud.io/api/project_badges/measure?project=little3201_leafage-basic&metric=coverage"/>
89
</p>
910

1011
### 依赖
1112

12-
> 现在leafage-starter-parent 和 leafage-common 已经可以在maven repository 中存在了(groupId 替换成了top.leafage),可以直接通过maven repository使用
13+
> 现在leafage-starter-parent 和 leafage-common 已经可以在maven repository 中下载了(groupId 替换成了top.leafage),可以直接通过maven
14+
> repository使用
1315
1416
#### [leafage-starter-parent](https://github.com/little3201/) —— 不包含任何代码,仅仅作为所有模块依赖的版本控制;
1517

1618
#### [leafage-common](https://github.com/little3201/leafage-common) —— 包含非业务代码,提供通用工具类;
1719

1820
### 介绍:
1921

20-
<a target="_blank" href="https://console.abeille.top"> 在线体验</a>, 未登录状态仅可访问部分接口
22+
<a target="_blank" href="https://console.leafage.top"> 在线体验</a>, 未登录状态仅可访问部分接口
2123

22-
- 本模块分为webmvc和webflux两个版本,分别关联响应的分支,具体请查看对应分支代码;
24+
#### 概况:
2325

24-
- leafage-basic下分两个模块「assets」和 「hypervisor」,具体每个模块的功能详细信息请查看对应子模块的介绍;
26+
- 本模块分为webmvc(develop分支)和webflux(webflux分支)两个版本,具体请查看对应分支代码;
27+
28+
- leafage-basic下分:「assets」、[generator] 和 「hypervisor」,具体每个模块的功能详细信息请查看对应子模块的介绍;

assets/README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
# assets
22

3-
<p align="center">
4-
<img src="https://img.shields.io/badge/Spring%20Cloud-2023.0.0-green.svg" alt="Coverage Status">
5-
<img src="https://img.shields.io/badge/Spring%20Boot-3.2.0-green.svg" alt="Downloads">
6-
</p>
3+
### 1. 资源管理:
74

8-
<a href="#" target="_blank">部署文档</a> | <a target="_blank" href="https://console.leafage.top"> 在线体验</a>
5+
对通用数据资源提供管理功能,包括行政区划、站点帖子(以及评论等);
6+
7+
### 2. 接口安全:
8+
9+
支持oauth2安全认证,接口细粒度的安全保护;
910

1011
#### 核心依赖
1112

12-
| 依赖 | 说明 |
13-
|:-------------------:|:-----:|
14-
| Spring Boot WebFlux | web框架 |
15-
| Spring Data R2DBC | 数据访问层 |
16-
| postgres | 数据存储 |
13+
| 依赖 | 说明 |
14+
|:------------------------------------------:|:-----:|
15+
| Spring Boot WebFlux | web框架 |
16+
| spring-cloud-starter-consul-discovery | 服务注册 |
17+
| spring-boot-starter-oauth2-resource-server | 接口安全 |
18+
| spring-boot-starter-actuator | 健康监控 |
19+
| micrometer-registry-prometheus | 监控接口 |
20+
| Spring Data R2DBC | 数据访问层 |
21+
| postgres | 数据存储 |
22+
| caffeine | 内存缓存 |

assets/pom.xml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,13 @@
2020
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2121
<modelVersion>4.0.0</modelVersion>
2222
<parent>
23-
<groupId>top.leafage</groupId>
24-
<artifactId>leafage-starter-parent</artifactId>
25-
<version>0.3.1</version>
23+
<groupId>io.leafage.basic</groupId>
24+
<artifactId>leafage-basic</artifactId>
25+
<version>0.1.0</version>
2626
<relativePath/> <!-- lookup parent from repository -->
2727
</parent>
2828

29-
<groupId>io.leafage.basic</groupId>
3029
<artifactId>assets</artifactId>
31-
<version>0.1.0</version>
3230

3331
<name>assets</name>
3432
<description>assets of leafage basic</description>
@@ -93,16 +91,4 @@
9391
</dependency>
9492
</dependencies>
9593

96-
<build>
97-
<plugins>
98-
<plugin>
99-
<groupId>org.springframework.boot</groupId>
100-
<artifactId>spring-boot-maven-plugin</artifactId>
101-
</plugin>
102-
<plugin>
103-
<groupId>org.jacoco</groupId>
104-
<artifactId>jacoco-maven-plugin</artifactId>
105-
</plugin>
106-
</plugins>
107-
</build>
10894
</project>

hypervisor/README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
# hypervisor
22

3-
<p align="center">
4-
<img src="https://img.shields.io/badge/Spring%20Cloud-2023.0.0-green.svg" alt="Coverage Status">
5-
<img src="https://img.shields.io/badge/Spring%20Boot-3.2.0-green.svg" alt="Downloads">
6-
</p>
3+
### 1. 基础管理:
74

8-
<a href="#" target="_blank">部署文档</a> | <a target="_blank" href="https://console.leafage.top"> 在线体验</a>
5+
提供基础的数据管理、包括人员、角色、权限、分组(组织)、字典;
6+
7+
### 2. 接口安全:
8+
9+
支持oauth2安全认证,接口细粒度的安全保护;
910

1011
#### 核心依赖
1112

12-
| 依赖 | 说明 |
13-
|:-------------------:|:-----:|
14-
| Spring Boot WebFlux | web框架 |
15-
| Spring Data R2DBC | 数据访问层 |
16-
| postgres | 数据存储 |
13+
| 依赖 | 说明 |
14+
|:------------------------------------------:|:-----:|
15+
| Spring Boot WebFlux | web框架 |
16+
| spring-cloud-starter-consul-discovery | 服务注册 |
17+
| spring-boot-starter-oauth2-resource-server | 接口安全 |
18+
| spring-boot-starter-actuator | 健康监控 |
19+
| micrometer-registry-prometheus | 监控接口 |
20+
| Spring Data R2DBC | 数据访问层 |
21+
| postgres | 数据存储 |
22+
| caffeine | 内存缓存 |

hypervisor/pom.xml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,14 @@
2020
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2121
<modelVersion>4.0.0</modelVersion>
2222
<parent>
23-
<groupId>top.leafage</groupId>
24-
<artifactId>leafage-starter-parent</artifactId>
25-
<version>0.3.1</version>
23+
<groupId>io.leafage.basic</groupId>
24+
<artifactId>leafage-basic</artifactId>
25+
<version>0.1.0</version>
2626
<relativePath/> <!-- lookup parent from repository -->
2727
</parent>
2828

29-
<groupId>io.leafage.basic</groupId>
3029
<artifactId>hypervisor</artifactId>
31-
<version>0.1.0</version>
30+
<packaging>jar</packaging>
3231

3332
<name>hypervisor</name>
3433
<description>hypervisor of leafage basic</description>
@@ -41,7 +40,6 @@
4140
<dependency>
4241
<groupId>top.leafage</groupId>
4342
<artifactId>leafage-common</artifactId>
44-
<version>0.3.0</version>
4543
</dependency>
4644
<dependency>
4745
<groupId>org.springframework.cloud</groupId>
@@ -93,16 +91,4 @@
9391
</dependency>
9492
</dependencies>
9593

96-
<build>
97-
<plugins>
98-
<plugin>
99-
<groupId>org.springframework.boot</groupId>
100-
<artifactId>spring-boot-maven-plugin</artifactId>
101-
</plugin>
102-
<plugin>
103-
<groupId>org.jacoco</groupId>
104-
<artifactId>jacoco-maven-plugin</artifactId>
105-
</plugin>
106-
</plugins>
107-
</build>
10894
</project>

pom.xml

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
2020
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2121
<modelVersion>4.0.0</modelVersion>
22+
<parent>
23+
<groupId>top.leafage</groupId>
24+
<artifactId>leafage-starter-parent</artifactId>
25+
<version>0.3.2</version>
26+
<relativePath/> <!-- lookup parent from repository -->
27+
</parent>
2228

2329
<groupId>io.leafage.basic</groupId>
2430
<artifactId>leafage-basic</artifactId>
@@ -28,22 +34,47 @@
2834
<name>leafage-basic</name>
2935
<description>basic module of leafage</description>
3036

31-
<developers>
32-
<developer>
33-
<name>li wen qiang</name>
34-
<email>[email protected]</email>
35-
</developer>
36-
</developers>
37-
3837
<properties>
3938
<sonar.projectKey>little3201_leafage-basic</sonar.projectKey>
4039
<sonar.organization>little3201</sonar.organization>
4140
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
41+
42+
<leafage-common.version>0.3.0</leafage-common.version>
4243
</properties>
4344

45+
<developers>
46+
<developer>
47+
<name>wq li</name>
48+
<email>[email protected]</email>
49+
</developer>
50+
</developers>
51+
4452
<modules>
4553
<module>hypervisor</module>
4654
<module>assets</module>
4755
</modules>
4856

57+
<dependencyManagement>
58+
<dependencies>
59+
<dependency>
60+
<groupId>top.leafage</groupId>
61+
<artifactId>leafage-common</artifactId>
62+
<version>${leafage-common.version}</version>
63+
</dependency>
64+
</dependencies>
65+
</dependencyManagement>
66+
67+
<build>
68+
<plugins>
69+
<plugin>
70+
<groupId>org.springframework.boot</groupId>
71+
<artifactId>spring-boot-maven-plugin</artifactId>
72+
</plugin>
73+
<plugin>
74+
<groupId>org.sonarsource.scanner.maven</groupId>
75+
<artifactId>sonar-maven-plugin</artifactId>
76+
</plugin>
77+
</plugins>
78+
</build>
79+
4980
</project>

0 commit comments

Comments
 (0)