From 1f5852d988e215a97dff0de613771f765258f4d2 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Fri, 15 May 2015 10:10:43 +0800 Subject: [PATCH] Update 10.1.1. Maven installation.md --- II. Getting started/10.1.1. Maven installation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/II. Getting started/10.1.1. Maven installation.md b/II. Getting started/10.1.1. Maven installation.md index ccc7dae..2923c4d 100644 --- a/II. Getting started/10.1.1. Maven installation.md +++ b/II. Getting started/10.1.1. Maven installation.md @@ -4,9 +4,9 @@ Spring Boot兼容Apache Maven 3.2或更高版本。如果没有安装Maven,你 **注**:在很多操作系统上,你可以通过一个包管理器安装Maven。如果你是一个OSX Homebrew用户,可以尝试`brew install maven`。Ubuntu用户可以运行`sudo apt-get install maven`。 -Spring Boot依赖的`groupId`为`org.springframework.boot`。通常你的Maven POM文件需要继承`spring-boot-starter-parent`,然后声明一个或多个[“Starter POMs”](../III. Using Spring Boot/13.4. Starter POMs.md)依赖。Spring Boot也提供了一个用于创建可执行jars的[Maven插件](../VIII. Build tool plugins/58. Spring Boot Maven plugin.md)。 +Spring Boot依赖的groupId为`org.springframework.boot`。通常你的Maven POM文件需要继承`spring-boot-starter-parent`,然后声明一个或多个[“Starter POMs”](../III. Using Spring Boot/13.4. Starter POMs.md)依赖。Spring Boot也提供了一个用于创建可执行jars的[Maven插件](../VIII. Build tool plugins/58. Spring Boot Maven plugin.md)。 -下面是一个典型的`pom.xml`文件: +下面是一个典型的pom.xml文件: ```xml ``` -**注**:`spring-boot-starter-parent`是使用Spring Boot的一个不错的方式,但它不总是合适的。有时你需要继承一个不同的parent POM,或者你可能只是不喜欢我们的默认配置。查看[Section 13.1.2, “Using Spring Boot without the parent POM”](../III. Using Spring Boot/13.1.2. Using Spring Boot without the parent POM.md)获取使用`import`的替代解决方案。 +**注**:`spring-boot-starter-parent`是使用Spring Boot的一个不错的方式,但它不总是合适的。有时你需要继承一个不同的parent POM,或者你可能只是不喜欢我们的默认配置。查看[Section 13.1.2, “Using Spring Boot without the parent POM”](../III. Using Spring Boot/13.1.2. Using Spring Boot without the parent POM.md)获取使用import的替代解决方案。