|
16 | 16 | <resource>
|
17 | 17 | <directory>src/main/resources</directory>
|
18 | 18 | <filtering>true</filtering>
|
19 |
| - <excludes> |
20 |
| - <exclude>logback.xml</exclude> |
21 |
| - </excludes> |
22 | 19 | <includes>
|
23 | 20 | <include>**/version.prop</include>
|
| 21 | + <include>logback.xml</include> |
24 | 22 | </includes>
|
25 | 23 | </resource>
|
26 | 24 | </resources>
|
|
43 | 41 | <groupId>org.apache.maven.plugins</groupId>
|
44 | 42 | <artifactId>maven-war-plugin</artifactId>
|
45 | 43 | <version>2.1.1</version>
|
| 44 | + <configuration> |
| 45 | + <webResources> |
| 46 | + <resource> |
| 47 | + <!-- this is relative to the pom.xml directory --> |
| 48 | + <directory>${project.build.directory}/swagger-ui-master/dist</directory> |
| 49 | + <excludes> |
| 50 | + <exclude>index.html</exclude> |
| 51 | + </excludes> |
| 52 | + </resource> |
| 53 | + </webResources> |
| 54 | + </configuration> |
46 | 55 | </plugin>
|
47 | 56 | <plugin>
|
48 | 57 | <artifactId>maven-failsafe-plugin</artifactId>
|
|
68 | 77 | <stopPort>8079</stopPort>
|
69 | 78 | <stopKey>stopit</stopKey>
|
70 | 79 | <httpConnector>
|
71 |
| - <port>8001</port> |
| 80 | + <port>8080</port> |
72 | 81 | <idleTimeout>60000</idleTimeout>
|
73 | 82 | </httpConnector>
|
74 | 83 | </configuration>
|
|
111 | 120 | </execution>
|
112 | 121 | </executions>
|
113 | 122 | </plugin>
|
114 |
| - <plugin> |
115 |
| - <artifactId>maven-resources-plugin</artifactId> |
116 |
| - <version>2.6</version> |
117 |
| - <executions> |
118 |
| - <execution> |
119 |
| - <id>copy-resources</id> |
120 |
| - <phase>validate</phase> |
121 |
| - <goals> |
122 |
| - <goal>copy-resources</goal> |
123 |
| - </goals> |
124 |
| - <configuration> |
125 |
| - <outputDirectory>target/${project.artifactId}-${project.version}</outputDirectory> |
126 |
| - <resources> |
127 |
| - <resource> |
128 |
| - <directory>${project.build.directory}/swagger-ui-master/dist</directory> |
129 |
| - <filtering>true</filtering> |
130 |
| - <excludes> |
131 |
| - <exclude>index.html</exclude> |
132 |
| - </excludes> |
133 |
| - </resource> |
134 |
| - </resources> |
135 |
| - </configuration> |
136 |
| - </execution> |
137 |
| - </executions> |
138 |
| - </plugin> |
139 | 123 | </plugins>
|
140 | 124 | </build>
|
141 | 125 | <dependencies>
|
|
212 | 196 | <artifactId>jetty-deploy</artifactId>
|
213 | 197 | <version>${jetty-version}</version>
|
214 | 198 | </dependency>
|
215 |
| - |
| 199 | + <dependency> |
| 200 | + <groupId>org.eclipse.jetty</groupId> |
| 201 | + <artifactId>jetty-runner</artifactId> |
| 202 | + <version>${jetty-version}</version> |
| 203 | + <exclusions> |
| 204 | + <exclusion> |
| 205 | + <groupId>org.glassfish</groupId> |
| 206 | + <artifactId>javax.el</artifactId> |
| 207 | + </exclusion> |
| 208 | + </exclusions> |
| 209 | + </dependency> |
216 | 210 | <dependency>
|
217 | 211 | <groupId>org.testng</groupId>
|
218 | 212 | <artifactId>testng</artifactId>
|
|
0 commit comments