|
22 | 22 | </executions>
|
23 | 23 | </plugin>
|
24 | 24 | <plugin>
|
25 |
| - <groupId>org.mortbay.jetty</groupId> |
| 25 | + <groupId>org.eclipse.jetty</groupId> |
26 | 26 | <artifactId>jetty-maven-plugin</artifactId>
|
27 | 27 | <version>${jetty-version}</version>
|
28 | 28 | <configuration>
|
29 |
| - <useTestScope>true</useTestScope> |
30 |
| - <stopWait>15</stopWait> |
31 | 29 | <war>${project.build.directory}/swagger-java-jersey-sample-app-${webapp-version}.war</war>
|
32 |
| - <webAppConfig> |
33 |
| - <contextPath>/</contextPath> |
34 |
| - </webAppConfig> |
35 |
| - <stopPort>8079</stopPort> |
36 |
| - <stopKey>stopit</stopKey> |
37 |
| - <connectors> |
38 |
| - <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> |
39 |
| - <port>8002</port> |
40 |
| - <maxIdleTime>60000</maxIdleTime> |
41 |
| - <confidentialPort>8443</confidentialPort> |
42 |
| - </connector> |
43 |
| - </connectors> |
| 30 | + <stopKey>alpha</stopKey> |
| 31 | + <stopPort>9099</stopPort> |
| 32 | + <httpConnector> |
| 33 | + <port>8002</port> |
| 34 | + </httpConnector> |
44 | 35 | </configuration>
|
45 | 36 | <executions>
|
46 | 37 | <execution>
|
47 | 38 | <id>start-jetty</id>
|
48 | 39 | <phase>pre-integration-test</phase>
|
49 | 40 | <goals>
|
50 |
| - <goal>run-war</goal> |
51 |
| - </goals> |
52 |
| - <configuration> |
53 |
| - <scanIntervalSeconds>0</scanIntervalSeconds> |
54 |
| - <daemon>true</daemon> |
55 |
| - </configuration> |
56 |
| - </execution> |
57 |
| - <execution> |
58 |
| - <id>stop-jetty</id> |
59 |
| - <phase>post-integration-test</phase> |
60 |
| - <goals> |
61 |
| - <goal>stop</goal> |
| 41 | + <goal>deploy-war</goal> |
62 | 42 | </goals>
|
63 | 43 | </execution>
|
64 |
| - </executions> |
65 |
| - </plugin> |
| 44 | + </executions> |
| 45 | + </plugin> |
66 | 46 | <plugin>
|
67 | 47 | <groupId>org.codehaus.mojo</groupId>
|
68 | 48 | <artifactId>exec-maven-plugin</artifactId>
|
|
110 | 90 | <artifactId>swagger-java-jersey-sample-app</artifactId>
|
111 | 91 | <version>${webapp-version}</version>
|
112 | 92 | <type>war</type>
|
113 |
| - <scope>test</scope> |
114 | 93 | </dependency>
|
| 94 | + </dependencies> |
115 | 95 | <repositories>
|
116 | 96 | <repository>
|
117 | 97 | <id>sonatype-snapshots</id>
|
|
123 | 103 | </repositories>
|
124 | 104 | <properties>
|
125 | 105 | <webapp-version>1.5.4-M1-SNAPSHOT</webapp-version>
|
126 |
| - <jetty-version>8.1.11.v20130520</jetty-version> |
| 106 | + <jetty-version>9.2.9.v20150224</jetty-version> |
127 | 107 | </properties>
|
128 | 108 | </project>
|
0 commit comments