File tree 2 files changed +70
-0
lines changed
spring-boot-modules/spring-boot-1st
2 files changed +70
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## Spring Boot 文档示例程序
2
+
3
+ 这个文档为按照官方的 Spring Boot 文档创建的第一个示例程序
4
+
5
+ ### 相关文档:
6
+
7
+ - [ Spring Boot 2.4 示例创建 POM 文件] ( https://www.ossez.com/t/spring-boot-2-4-pom/1089 )
8
+ - [ Spring Boot 2.4 第一个示例程序添加 Classpath 依赖] ( https://www.ossez.com/t/spring-boot-2-4-classpath/1098 )
9
+
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" >
4
+ <modelVersion >4.0.0</modelVersion >
5
+
6
+ <groupId >com.example</groupId >
7
+ <artifactId >myproject</artifactId >
8
+ <version >0.0.1-SNAPSHOT</version >
9
+
10
+ <parent >
11
+ <groupId >org.springframework.boot</groupId >
12
+ <artifactId >spring-boot-starter-parent</artifactId >
13
+ <version >2.5.0-SNAPSHOT</version >
14
+ </parent >
15
+
16
+ <dependencies >
17
+ <dependency >
18
+ <groupId >org.springframework.boot</groupId >
19
+ <artifactId >spring-boot-starter-web</artifactId >
20
+ </dependency >
21
+ </dependencies >
22
+
23
+ <description />
24
+ <developers >
25
+ <developer />
26
+ </developers >
27
+ <licenses >
28
+ <license />
29
+ </licenses >
30
+ <scm >
31
+ <url />
32
+ </scm >
33
+ <url />
34
+
35
+ <!-- Additional lines to be added here... -->
36
+
37
+ <!-- (you don't need this if you are using a .RELEASE version) -->
38
+ <repositories >
39
+ <repository >
40
+ <id >spring-snapshots</id >
41
+ <url >https://repo.spring.io/snapshot</url >
42
+ <snapshots >
43
+ <enabled >true</enabled >
44
+ </snapshots >
45
+ </repository >
46
+ <repository >
47
+ <id >spring-milestones</id >
48
+ <url >https://repo.spring.io/milestone</url >
49
+ </repository >
50
+ </repositories >
51
+ <pluginRepositories >
52
+ <pluginRepository >
53
+ <id >spring-snapshots</id >
54
+ <url >https://repo.spring.io/snapshot</url >
55
+ </pluginRepository >
56
+ <pluginRepository >
57
+ <id >spring-milestones</id >
58
+ <url >https://repo.spring.io/milestone</url >
59
+ </pluginRepository >
60
+ </pluginRepositories >
61
+ </project >
You can’t perform that action at this time.
0 commit comments