maven 配置jetty插件
<build>
<finalName>shiroweb</finalName>
<plugins>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.10</version>
<configuration>
<encoding>UTF-8</encoding>
<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>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.1.5.v20120716</version>
<configuration>
<stopPort>9966</stopPort>
<stopKey>foo</stopKey>
<scanIntervalSeconds>10</scanIntervalSeconds>
<webApp>
<contextPath>/shiroweb</contextPath>
</webApp>
</configuration>
</plugin>
</plugins>
</build>
最新文章
- Atitit Data Matrix dm码的原理与特点
- EF架构~CodeFirst模型下的数据初始化
- Winform中checklistbox控件的常用方法
- 苹果系统直接读写 ntfs 磁盘
- 去处HTML标签
- 终端I/O之终端窗口的大小
- Elasticsearch 学习~
- oracle 对象上锁,不能插入或删除情况
- bindiff 4.2使用
- ssh远程登录Ubuntu报错:Permission denied, please try again.
- Thread Join()的用法
- layPage异步分页
- 1.1 java学习网站
- “《编程珠玑》(第2版)第2章”:A题(二分搜索)
- springboot~lombok使用总结
- 射线法(1190 - Sleepwalking )
- 【吴恩达课后编程作业】第二周作业 - Logistic回归-识别猫的图片
- NET npoi 保存文件
- PostgreSQL索引页
- ubuntu 发送邮件
热门文章
- 【转】Map/Reduce简介
- Java和C#中神奇的String
- kubeadm安装k8s测试环境
- BZOJ3166 [Heoi2013]Alo 【可持久化trie树 + 二分 + ST表】
- 报错:3 字节的 UTF-8 序列的字节 3 无效。
- 【04】Vue 之 事件处理
- java--Eclipse for mac 代码提示(代码助手,代码联想)快捷键修改
- libc++abi.dylib`__cxa_throw: 使用[AVAudioPlayer play]会产生__cxa_throw异常
- spring一些总结
- 如何得知 GIC 的所有中斷