pennate 发表于 2017-3-1 12:06:13

简易使用Jetty、Tomcat、GlassFish

<plugin>  <groupId>org.eclipse.jetty</groupId>
  <artifactId>jetty-maven-plugin</artifactId>
  <version>9.1.0.RC0</version>
  <executions>
  <execution>
  <id>start-jetty</id>
  <phase>pre-integration-test</phase>
  <goals>
  <goal>start</goal>
  </goals>
  </execution>
  <execution>
  <id>stop-jetty</id>
  <phase>post-integration-test</phase>
  <goals>
  <goal>stop</goal>
  </goals>
  </execution>
  </executions>                     
  </plugin>
页: [1]
查看完整版本: 简易使用Jetty、Tomcat、GlassFish