首页 > 代码库 > Tomcat插件与Jetty插件在MyEclipse中的配置

Tomcat插件与Jetty插件在MyEclipse中的配置

-Djetty.port=8101 jetty:run

tomcat6:run

    <plugin>                <groupId>org.apache.tomcat.maven</groupId>                <artifactId>tomcat6-maven-plugin</artifactId>                <version>2.2</version>                <configuration>                    <port>8888</port>                    <path>/</path>                    <uriEncoding>utf-8</uriEncoding>                    <ignorePackaging>true</ignorePackaging>                </configuration>            </plugin>
<plugin>                <groupId>org.mortbay.jetty</groupId>                <artifactId>jetty-maven-plugin</artifactId>                <version>8.1.14.v20131031</version>                <configuration>                    <scanIntervalSeconds>10</scanIntervalSeconds>                    <webAppConfig>                        <contextPath>/mall-ca</contextPath>                    </webAppConfig>                </configuration>            </plugin>