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

<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>
posted @ 2017-11-03 16:32  haiziguo  阅读(510)  评论(0编辑  收藏  举报