首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

Maven 环境高速搭建二(eclipse+maven2+jetty)

2013-10-23 
Maven 环境快速搭建二(eclipse+maven2+jetty)buildfinalNameStruts2Example/finalNamepluginsplu

Maven 环境快速搭建二(eclipse+maven2+jetty)

<build>        <finalName>Struts2Example</finalName>        <plugins>            <plugin>                <groupId>org.mortbay.jetty</groupId>                <artifactId>maven-jetty-plugin</artifactId>                <version>6.1.10</version>                <configuration>                    <scanIntervalSeconds>10</scanIntervalSeconds>                    <stopKey>foo</stopKey>                    <stopPort>9999</stopPort>                </configuration>                <executions>                    <execution>                        <id>start-jetty</id>                        <phase>pre-integration-test</phase>                        <goals>                            <goal>run</goal>                        </goals>                        <configuration>                            <scanIntervalSeconds>0</scanIntervalSeconds>                            <daemon>true</daemon>                        </configuration>                    </execution>                    <execution>                        <id>stop-jetty</id>                        <phase>post-integration-test</phase>                        <goals>                            <goal>stop</goal>                        </goals>                    </execution>                </executions>            </plugin>        </plugins>    </build>

在慢长的等待插件下载过程中(公司网速不给力),我上了一次厕所、倒了一次水。在群里和朋友乱侃了一通。^

热点排行