maven jetty

<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>7.1.6.v20100715</version>
<configuration>
<webApp>${basedir}/target/backbone-runtime-web2</webApp>
<scanIntervalSeconds>3</scanIntervalSeconds>
<webAppConfig>
<contextPath>/demo</contextPath>
</webAppConfig>
<connectors>
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
<port>9080</port>
</connector>
</connectors>
</configuration>
</plugin>

posted @ 2016-07-10 21:04  邱明成  阅读(184)  评论(0编辑  收藏  举报