IDEA开发工具: maven 项目使用Jrebel插件实现热部署。

注意,在maven 项目中,需要新增如下插件

<plugins>
     <plugin>
         <groupId>org.zeroturnaround</groupId>
         <artifactId>jrebel-maven-plugin</artifactId>
         <version>1.1.8</version>
         <executions>
             <execution>
                 <id>generate-rebel-xml</id>
                 <phase>process-resources</phase>
                 <goals>
                     <goal>generate</goal>
                 </goals>
             </execution>
         </executions>
     </plugin>
 </plugins>

完了之后, 在点击Reimport All Maven Project
请参考
http://manuals.zeroturnaround.com/jrebel/standalone/maven.html#maven-rebel-xml

猜你喜欢

转载自blog.csdn.net/blueboz/article/details/81173074
今日推荐