maven添加jetty插件,同时运行多个实例

时间:2024-07-14 15:06:38
<plugins>
<!-- jetty插件 -->
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<!--<version>9.0.0.v20130308</version>-->
<version>9.2.7.v20150116</version>
<configuration>
<scanIntervalSeconds>3</scanIntervalSeconds>
<webApp>
<contextPath>/</contextPath>
</webApp>
<httpConnector>
<port>2224</port>
</httpConnector>
<reload>automatic</reload>
</configuration>
</plugin>
</plugins>