1. 程式人生 > >maven配置jetty9外掛

maven配置jetty9外掛

<!-- jetty外掛 -->
<plugin>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-maven-plugin</artifactId>
    <version>9.4.5.v20170502</version>
    <configuration>
        <httpConnector>
            <port>8000</port>
        </httpConnector>
<webApp> <contextPath>/bbs</contextPath> </webApp> <!--熱部署--> <scanIntervalSeconds>10</scanIntervalSeconds> </configuration> </plugin>