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中的设置。