<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty.version}</version>
<configuration>
<scanIntervalSeconds>2</scanIntervalSeconds>
<webAppConfig>
<contextPath>/</contextPath>
</webAppConfig>
<httpConnector>
<port>80</port>
</httpConnector>
</configuration>
</plugin>
设置以后2秒钟可以扫描 class的修改,然后自动部署,但是有一个问题 依赖的parent 项目的jar 修改以后不会自动部署
<dependency>
<groupId>com.xxxx</groupId>
<artifactId>xxxx</artifactId>
<version>2.0.0</version>
</dependency>
求助 如何实现jar中的class修改以后也自动部署