Spring Boot 文档的第一个示例程序
This commit is contained in:
parent
06b90cae01
commit
b10b771ed1
9
spring-boot-modules/spring-boot-1st/README.md
Normal file
9
spring-boot-modules/spring-boot-1st/README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
## Spring Boot 文档示例程序
|
||||||
|
|
||||||
|
这个文档为按照官方的 Spring Boot 文档创建的第一个示例程序
|
||||||
|
|
||||||
|
### 相关文档:
|
||||||
|
|
||||||
|
- [Spring Boot 2.4 示例创建 POM 文件](https://www.ossez.com/t/spring-boot-2-4-pom/1089)
|
||||||
|
- [Spring Boot 2.4 第一个示例程序添加 Classpath 依赖](https://www.ossez.com/t/spring-boot-2-4-classpath/1098)
|
||||||
|
|
61
spring-boot-modules/spring-boot-1st/pom.xml
Normal file
61
spring-boot-modules/spring-boot-1st/pom.xml
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>com.example</groupId>
|
||||||
|
<artifactId>myproject</artifactId>
|
||||||
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
|
<version>2.5.0-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<description/>
|
||||||
|
<developers>
|
||||||
|
<developer/>
|
||||||
|
</developers>
|
||||||
|
<licenses>
|
||||||
|
<license/>
|
||||||
|
</licenses>
|
||||||
|
<scm>
|
||||||
|
<url/>
|
||||||
|
</scm>
|
||||||
|
<url/>
|
||||||
|
|
||||||
|
<!-- Additional lines to be added here... -->
|
||||||
|
|
||||||
|
<!-- (you don't need this if you are using a .RELEASE version) -->
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>spring-snapshots</id>
|
||||||
|
<url>https://repo.spring.io/snapshot</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>spring-milestones</id>
|
||||||
|
<url>https://repo.spring.io/milestone</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
<pluginRepositories>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>spring-snapshots</id>
|
||||||
|
<url>https://repo.spring.io/snapshot</url>
|
||||||
|
</pluginRepository>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>spring-milestones</id>
|
||||||
|
<url>https://repo.spring.io/milestone</url>
|
||||||
|
</pluginRepository>
|
||||||
|
</pluginRepositories>
|
||||||
|
</project>
|
Loading…
x
Reference in New Issue
Block a user