Update 72.6.1. Configuring Spring Loaded for use with Maven.md

master
qibaoguang 2015-04-12 13:47:00 +08:00
parent ad9ea8d98e
commit 503ab01b5e
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
### 72.6.1. 使用Maven配置Spring Loaded
为了在Maven命令行下使用Spring Loaded你只需将它作为一个依赖添加到Spring Boot插件声明中即可比如
```xml
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>springloaded</artifactId>
<version>1.2.0.RELEASE</version>
</dependency>
</dependencies>
</plugin>
```
正常情况下这在Eclipse和IntelliJ中工作的相当漂亮只要它们有相应的和Maven默认一致的构建配置Eclipse m2e对此支持的更好开箱即用