cms-web add maven-jetty-plugin

This commit is contained in:
shuzheng 2016-10-13 14:27:08 +08:00
parent 848567edba
commit 8008fa7557
1 changed files with 17 additions and 0 deletions

View File

@ -76,5 +76,22 @@
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<!-- jetty插件 -->
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<contextPath>/cms-web</contextPath>
<scanIntervalSeconds>3</scanIntervalSeconds>
<connectors>
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>8088</port>
</connector>
</connectors>
<reload>automatic</reload>
</configuration>
</plugin>
</plugins>
</build>
</project>