Skip to content

Commit 3d97e37

Browse files
committed
build(server): 优化项目构建和版本控制
- 在 .gitignore 文件中添加 logs/ 目录,避免日志文件被版本控制 - 注释掉 server/pom.xml 中的 Sentinel 核心依赖,暂时不使用
1 parent 7453aaa commit 3d97e37

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ target/
66
*.MP4
77
*.mp4
88
rebel.xml
9+
logs/
10+
911
### STS ###
1012
.apt_generated
1113
.classpath

server/pom.xml

+4-9
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,11 @@
1010
<modelVersion>4.0.0</modelVersion>
1111
<artifactId>server</artifactId>
1212
<dependencies>
13-
<!-- sentinel整合gateway依赖 -->
14-
<dependency>
15-
<groupId>com.alibaba.cloud</groupId>
16-
<artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
17-
</dependency>
1813
<!-- sentinel核心依赖 -->
19-
<dependency>
20-
<groupId>com.alibaba.cloud</groupId>
21-
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
22-
</dependency>
14+
<!-- <dependency>-->
15+
<!-- <groupId>com.alibaba.cloud</groupId>-->
16+
<!-- <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>-->
17+
<!-- </dependency>-->
2318
<!-- nacos服务注册发现 -->
2419
<dependency>
2520
<groupId>com.alibaba.cloud</groupId>

0 commit comments

Comments
 (0)