|
39 | 39 | <defaultGoal>install</defaultGoal> |
40 | 40 | <directory>target</directory> |
41 | 41 | <finalName>${project.artifactId}-sut</finalName> |
| 42 | +<!-- MODIFIED--> |
| 43 | + <resources> |
| 44 | + <resource> |
| 45 | + <directory>src/main/webapp</directory> |
| 46 | + <targetPath>webapp</targetPath> |
| 47 | + <includes> |
| 48 | + <include>**/*</include> |
| 49 | + </includes> |
| 50 | + </resource> |
| 51 | + <resource> |
| 52 | + <directory>${project.basedir}</directory> |
| 53 | + <includes> |
| 54 | + <include>webapp/openapi.yaml</include> |
| 55 | + <include>inflector.yaml</include> |
| 56 | + </includes> |
| 57 | + </resource> |
| 58 | + </resources> |
| 59 | +<!-- MODIFIED--> |
| 60 | + |
42 | 61 | <plugins> |
43 | 62 | <!-- MODIFIED--> |
44 | 63 | <plugin> |
|
97 | 116 | </execution> |
98 | 117 | </executions> |
99 | 118 | </plugin> |
100 | | - <plugin> |
101 | | - <artifactId>maven-dependency-plugin</artifactId> |
102 | | - <executions> |
103 | | - <execution> |
104 | | - <phase>package</phase> |
105 | | - <goals> |
106 | | - <goal>copy-dependencies</goal> |
107 | | - <goal>copy</goal> |
108 | | - </goals> |
109 | | - <configuration> |
110 | | - <outputDirectory>${project.build.directory}/lib</outputDirectory> |
111 | | - <artifactItems> |
112 | | - <artifactItem> |
113 | | - <groupId>org.eclipse.jetty</groupId> |
114 | | - <artifactId>jetty-runner</artifactId> |
115 | | - <version>${jetty-version}</version> |
116 | | - <destFileName>jetty-runner.jar</destFileName> |
117 | | - </artifactItem> |
118 | | - </artifactItems> |
119 | | - </configuration> |
120 | | - </execution> |
121 | | - </executions> |
122 | | - </plugin> |
| 119 | +<!-- <plugin>--> |
| 120 | +<!-- <artifactId>maven-dependency-plugin</artifactId>--> |
| 121 | +<!-- <executions>--> |
| 122 | +<!-- <execution>--> |
| 123 | +<!-- <phase>package</phase>--> |
| 124 | +<!-- <goals>--> |
| 125 | +<!-- <goal>copy-dependencies</goal>--> |
| 126 | +<!-- <goal>copy</goal>--> |
| 127 | +<!-- </goals>--> |
| 128 | +<!-- <configuration>--> |
| 129 | +<!-- <outputDirectory>${project.build.directory}/lib</outputDirectory>--> |
| 130 | +<!-- <artifactItems>--> |
| 131 | +<!-- <artifactItem>--> |
| 132 | +<!-- <groupId>org.eclipse.jetty</groupId>--> |
| 133 | +<!-- <artifactId>jetty-runner</artifactId>--> |
| 134 | +<!-- <version>${jetty-version}</version>--> |
| 135 | +<!-- <destFileName>jetty-runner.jar</destFileName>--> |
| 136 | +<!-- </artifactItem>--> |
| 137 | +<!-- </artifactItems>--> |
| 138 | +<!-- </configuration>--> |
| 139 | +<!-- </execution>--> |
| 140 | +<!-- </executions>--> |
| 141 | +<!-- </plugin>--> |
123 | 142 | <plugin> |
124 | 143 | <groupId>org.apache.maven.plugins</groupId> |
125 | 144 | <artifactId>maven-jar-plugin</artifactId> |
|
138 | 157 | </archive> |
139 | 158 | </configuration> |
140 | 159 | </plugin> |
141 | | - <plugin> |
142 | | - <groupId>org.eclipse.jetty</groupId> |
143 | | - <artifactId>jetty-maven-plugin</artifactId> |
144 | | - <version>${jetty-version}</version> |
145 | | - <configuration> |
146 | | - <monitoredDirName>.</monitoredDirName> |
147 | | - <scanTargets> |
148 | | - <scanTarget>inflector.yaml</scanTarget> |
149 | | - </scanTargets> |
150 | | - <scanIntervalSeconds>1</scanIntervalSeconds> |
151 | | - <webApp> |
152 | | - <contextPath>/</contextPath> |
153 | | - </webApp> |
154 | | - <webAppSourceDirectory>target/${project.artifactId}-${project.version}</webAppSourceDirectory> |
155 | | - <httpConnector> |
156 | | - <port>8080</port> |
157 | | - <idleTimeout>60000</idleTimeout> |
158 | | - </httpConnector> |
159 | | - </configuration> |
160 | | - </plugin> |
| 160 | +<!-- MODIFIED--> |
| 161 | +<!-- <plugin>--> |
| 162 | +<!-- <groupId>org.eclipse.jetty</groupId>--> |
| 163 | +<!-- <artifactId>jetty-maven-plugin</artifactId>--> |
| 164 | +<!-- <version>${jetty-version}</version>--> |
| 165 | +<!-- <configuration>--> |
| 166 | +<!-- <monitoredDirName>.</monitoredDirName>--> |
| 167 | +<!-- <scanTargets>--> |
| 168 | +<!-- <scanTarget>inflector.yaml</scanTarget>--> |
| 169 | +<!-- </scanTargets>--> |
| 170 | +<!-- <scanIntervalSeconds>1</scanIntervalSeconds>--> |
| 171 | +<!-- <webApp>--> |
| 172 | +<!-- <contextPath>/</contextPath>--> |
| 173 | +<!-- </webApp>--> |
| 174 | +<!-- <webAppSourceDirectory>target/${project.artifactId}-${project.version}</webAppSourceDirectory>--> |
| 175 | +<!-- <httpConnector>--> |
| 176 | +<!-- <port>8080</port>--> |
| 177 | +<!-- <idleTimeout>60000</idleTimeout>--> |
| 178 | +<!-- </httpConnector>--> |
| 179 | +<!-- </configuration>--> |
| 180 | +<!-- </plugin>--> |
161 | 181 | <plugin> |
162 | 182 | <groupId>com.googlecode.maven-download-plugin</groupId> |
163 | 183 | <artifactId>download-maven-plugin</artifactId> |
|
266 | 286 | <artifactId>swagger-parser</artifactId> |
267 | 287 | <version>${swagger-parser-version}</version> |
268 | 288 | </dependency> |
| 289 | + <!--MODIFIED--> |
269 | 290 |
|
270 | | - <dependency> |
271 | | - <groupId>javax.xml.bind</groupId> |
272 | | - <artifactId>jaxb-api</artifactId> |
273 | | - <version>2.3.1</version> |
274 | | - </dependency> |
275 | | - <dependency> |
276 | | - <groupId>com.sun.xml.bind</groupId> |
277 | | - <artifactId>jaxb-core</artifactId> |
278 | | - <version>2.3.0.1</version> |
279 | | - </dependency> |
280 | | - <dependency> |
281 | | - <groupId>com.sun.xml.bind</groupId> |
282 | | - <artifactId>jaxb-impl</artifactId> |
283 | | - <version>2.3.1</version> |
284 | | - </dependency> |
| 291 | +<!-- <dependency>--> |
| 292 | +<!-- <groupId>javax.xml.bind</groupId>--> |
| 293 | +<!-- <artifactId>jaxb-api</artifactId>--> |
| 294 | +<!-- <version>2.3.1</version>--> |
| 295 | +<!-- </dependency>--> |
| 296 | +<!-- <dependency>--> |
| 297 | +<!-- <groupId>com.sun.xml.bind</groupId>--> |
| 298 | +<!-- <artifactId>jaxb-core</artifactId>--> |
| 299 | +<!-- <version>2.3.0.1</version>--> |
| 300 | +<!-- </dependency>--> |
| 301 | +<!-- <dependency>--> |
| 302 | +<!-- <groupId>com.sun.xml.bind</groupId>--> |
| 303 | +<!-- <artifactId>jaxb-impl</artifactId>--> |
| 304 | +<!-- <version>2.3.1</version>--> |
| 305 | +<!-- </dependency>--> |
285 | 306 | <dependency> |
286 | 307 | <groupId>com.bugsnag</groupId> |
287 | 308 | <version>[3.0,4.0)</version> |
|
0 commit comments