失效链接处理 |
Spring Boot参考指南(最新版) PDF 下载
本站整理下载:
相关截图:
![]()
主要内容:
<?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 http://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>
<! - 从Spring Boot继承默认值 - >
<parent>
<groupId> org.springframework.boot </ groupId>
<artifactId> spring-boot-starter-parent </ artifactId>
<version> 2.0.1.BUILD- SNAPSHOT </ version>
</ parent>
<! - 为Web应用程序添加典型的依赖关系 - >
<dependencies>
<dependency>
<groupId> org.springframework.boot </ groupId>
<artifactId> spring-boot-starter-web </ artifactId>
</ dependency>
</依赖>
<! - Package as a executable jar - >
<build>
<plugins>
<plugin>
<groupId> org.springframework.boot </ groupId>
<artifactId> spring-boot-maven-plugin </ artifactId>
</ plugin >
</ plugins>
</ build>
<! - 添加Spring存储库 - >
<! - (如果您使用的是.RELEASE版本,则不需要此操作) - >
<存储库>
<存储库>
<id> spring-snapshots </ id>
< URL> https://repo.spring.io/snapshot </ URL>
<快照> <启用>真</启用> </快照>
</存储库>
<库>
<ID>弹簧里程碑</ 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>
这 spring-boot-starter-
|