maven+jrebel 配置

来源:互联网 发布:数据的本质 电子书 编辑:程序博客网 时间:2024/06/05 00:16

一、安装jrebel插件。设置path to jrebel.jar为本地的。

二、pom.xml中在<build>下添加如下plugin

<plugin><groupId>org.zeroturnaround</groupId><artifactId>jrebel-maven-plugin</artifactId><executions><execution><id>generate-rebel-xml</id><phase>process-resources</phase><goals><goal>generate</goal></goals></execution></executions><configuration><rebelXmlDirectory>${basedir}/src/main/webapp/WEB-INF/classes</rebelXmlDirectory></configuration></plugin>

三、jrebel配置。将Enable JReble agent前的checkBox打钩