|
37 | 37 | </execution>
|
38 | 38 | </executions>
|
39 | 39 | </plugin>
|
| 40 | + |
| 41 | + <plugin> |
| 42 | + <groupId>org.codehaus.mojo</groupId> |
| 43 | + <artifactId>properties-maven-plugin</artifactId> |
| 44 | + <version>1.0.0</version> |
| 45 | + <executions> |
| 46 | + <execution> |
| 47 | + <phase>pre-integration-test</phase> |
| 48 | + <goals> |
| 49 | + <goal>set-system-properties</goal> |
| 50 | + </goals> |
| 51 | + <configuration> |
| 52 | + <properties> |
| 53 | + <property> |
| 54 | + <name>org.eclipse.jetty.util.log.class</name> |
| 55 | + <value>org.eclipse.jetty.util.log.StdErrLog</value> |
| 56 | + </property> |
| 57 | + <property> |
| 58 | + <name>org.eclipse.jetty.annotations.AnnotationParser.LEVEL</name> |
| 59 | + <value>OFF</value> |
| 60 | + </property> |
| 61 | + </properties> |
| 62 | + </configuration> |
| 63 | + </execution> |
| 64 | + </executions> |
| 65 | + </plugin> |
| 66 | + |
40 | 67 | <plugin>
|
41 | 68 | <groupId>org.apache.maven.plugins</groupId>
|
42 | 69 | <artifactId>maven-war-plugin</artifactId>
|
|
74 | 101 | <artifactId>jetty-maven-plugin</artifactId>
|
75 | 102 | <version>${jetty-version}</version>
|
76 | 103 | <configuration>
|
| 104 | + <classesDirectory>target/${project.artifactId}-${project.version}/WEB-INF/classes</classesDirectory> |
77 | 105 | <webApp>
|
78 | 106 | <contextPath>/</contextPath>
|
79 | 107 | </webApp>
|
|
143 | 171 | <groupId>io.swagger</groupId>
|
144 | 172 | <artifactId>swagger-codegen</artifactId>
|
145 | 173 | <version>${project.parent.version}</version>
|
| 174 | + <exclusions> |
| 175 | + <exclusion> |
| 176 | + <groupId>org.slf4j</groupId> |
| 177 | + <artifactId>slf4j-simple</artifactId> |
| 178 | + </exclusion> |
| 179 | + </exclusions> |
146 | 180 | </dependency>
|
147 | 181 | <dependency>
|
148 | 182 | <groupId>io.swagger</groupId>
|
149 | 183 | <artifactId>swagger-codegen</artifactId>
|
150 | 184 | <version>${project.parent.version}</version>
|
151 | 185 | <type>test-jar</type>
|
152 | 186 | <scope>test</scope>
|
| 187 | + <exclusions> |
| 188 | + <exclusion> |
| 189 | + <groupId>org.slf4j</groupId> |
| 190 | + <artifactId>slf4j-simple</artifactId> |
| 191 | + </exclusion> |
| 192 | + </exclusions> |
153 | 193 | </dependency>
|
154 | 194 | <dependency>
|
155 | 195 | <groupId>ch.qos.logback</groupId>
|
|
166 | 206 | <groupId>javax.servlet</groupId>
|
167 | 207 | <artifactId>servlet-api</artifactId>
|
168 | 208 | <version>${servlet-api-version}</version>
|
| 209 | + <scope>provided</scope> |
169 | 210 | </dependency>
|
170 | 211 | <dependency>
|
171 | 212 | <groupId>org.glassfish.jersey.inject</groupId>
|
|
0 commit comments