From 877d8c855993462bd6ee10844fe758c4510083a2 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Wed, 18 Mar 2015 00:44:00 +0800 Subject: [PATCH] Update 13.1.4. Using the Spring Boot Maven plugin.md --- .../13.1.4. Using the Spring Boot Maven plugin.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/III. Using Spring Boot/13.1.4. Using the Spring Boot Maven plugin.md b/III. Using Spring Boot/13.1.4. Using the Spring Boot Maven plugin.md index e69de29..522044e 100644 --- a/III. Using Spring Boot/13.1.4. Using the Spring Boot Maven plugin.md +++ b/III. Using Spring Boot/13.1.4. Using the Spring Boot Maven plugin.md @@ -0,0 +1,14 @@ +### 13.1.4. 使用Spring Boot Maven插件 + +Spring Boot包含一个[Maven插件](http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#build-tool-plugins-maven-plugin),它可以将项目打包成一个可执行jar。如果想使用它,你可以将该插件添加到``节点处: +```xml + + + + org.springframework.boot + spring-boot-maven-plugin + + + +``` +**注**:如果使用Spring Boot starter parent pom,你只需要添加该插件而无需配置它,除非你想改变定义在partent中的设置。