|
63 | 63 |
|
64 | 64 | <!-- Additional version of LMAX Disruptor to test -->
|
65 | 65 | <disruptor4.version>4.0.0</disruptor4.version>
|
| 66 | + <json-unit.version>2.40.1</json-unit.version> |
66 | 67 | </properties>
|
67 | 68 |
|
68 | 69 | <dependencies>
|
69 |
| - <!-- Pull in useful test classes from API --> |
| 70 | + |
70 | 71 | <dependency>
|
71 | 72 | <groupId>org.apache.logging.log4j</groupId>
|
72 | 73 | <artifactId>log4j-api-test</artifactId>
|
73 | 74 | </dependency>
|
| 75 | + |
74 | 76 | <dependency>
|
75 | 77 | <groupId>org.apache.logging.log4j</groupId>
|
76 | 78 | <artifactId>log4j-core</artifactId>
|
77 | 79 | </dependency>
|
| 80 | + |
78 | 81 | <dependency>
|
79 | 82 | <groupId>org.assertj</groupId>
|
80 | 83 | <artifactId>assertj-core</artifactId>
|
81 | 84 | </dependency>
|
| 85 | + |
82 | 86 | <dependency>
|
83 | 87 | <groupId>org.awaitility</groupId>
|
84 | 88 | <artifactId>awaitility</artifactId>
|
85 | 89 | </dependency>
|
| 90 | + |
86 | 91 | <dependency>
|
87 | 92 | <groupId>commons-io</groupId>
|
88 | 93 | <artifactId>commons-io</artifactId>
|
89 | 94 | </dependency>
|
| 95 | + |
90 | 96 | <dependency>
|
91 | 97 | <groupId>org.apache.commons</groupId>
|
92 | 98 | <artifactId>commons-lang3</artifactId>
|
93 | 99 | </dependency>
|
| 100 | + |
94 | 101 | <dependency>
|
95 | 102 | <groupId>org.hamcrest</groupId>
|
96 | 103 | <artifactId>hamcrest</artifactId>
|
97 | 104 | </dependency>
|
| 105 | + |
98 | 106 | <!-- GC-free -->
|
99 | 107 | <dependency>
|
100 | 108 | <groupId>com.google.code.java-allocation-instrumenter</groupId>
|
101 | 109 | <artifactId>java-allocation-instrumenter</artifactId>
|
102 | 110 | </dependency>
|
| 111 | + |
103 | 112 | <dependency>
|
104 | 113 | <groupId>junit</groupId>
|
105 | 114 | <artifactId>junit</artifactId>
|
106 | 115 | </dependency>
|
| 116 | + |
107 | 117 | <dependency>
|
108 | 118 | <groupId>org.junit.jupiter</groupId>
|
109 | 119 | <artifactId>junit-jupiter-api</artifactId>
|
110 | 120 | </dependency>
|
| 121 | + |
111 | 122 | <dependency>
|
112 | 123 | <groupId>org.junit.platform</groupId>
|
113 | 124 | <artifactId>junit-platform-commons</artifactId>
|
114 | 125 | </dependency>
|
| 126 | + |
115 | 127 | <!-- Needed for JNDI mocks using `org.springframework.mock.jndi` -->
|
116 | 128 | <dependency>
|
117 | 129 | <groupId>org.springframework</groupId>
|
118 | 130 | <artifactId>spring-test</artifactId>
|
119 | 131 | </dependency>
|
| 132 | + |
120 | 133 | <!-- JNDI and JMS tests -->
|
121 | 134 | <dependency>
|
122 | 135 | <groupId>org.apache.activemq</groupId>
|
|
129 | 142 | </exclusion>
|
130 | 143 | </exclusions>
|
131 | 144 | </dependency>
|
| 145 | + |
132 | 146 | <dependency>
|
133 | 147 | <groupId>org.apache-extras.beanshell</groupId>
|
134 | 148 | <artifactId>bsh</artifactId>
|
135 | 149 | <scope>test</scope>
|
136 | 150 | </dependency>
|
| 151 | + |
137 | 152 | <!-- Other -->
|
138 | 153 | <dependency>
|
139 | 154 | <groupId>commons-codec</groupId>
|
140 | 155 | <artifactId>commons-codec</artifactId>
|
141 | 156 | <scope>test</scope>
|
142 | 157 | </dependency>
|
| 158 | + |
143 | 159 | <!-- Used for compressing to formats other than zip and gz -->
|
144 | 160 | <dependency>
|
145 | 161 | <groupId>org.apache.commons</groupId>
|
146 | 162 | <artifactId>commons-compress</artifactId>
|
147 | 163 | <scope>test</scope>
|
148 | 164 | </dependency>
|
| 165 | + |
149 | 166 | <dependency>
|
150 | 167 | <groupId>org.apache.commons</groupId>
|
151 | 168 | <artifactId>commons-csv</artifactId>
|
152 | 169 | <scope>test</scope>
|
153 | 170 | </dependency>
|
| 171 | + |
154 | 172 | <dependency>
|
155 | 173 | <groupId>commons-logging</groupId>
|
156 | 174 | <artifactId>commons-logging</artifactId>
|
157 | 175 | <scope>test</scope>
|
158 | 176 | </dependency>
|
| 177 | + |
159 | 178 | <!-- Alternative implementation of BlockingQueue using Conversant Disruptor for AsyncAppender -->
|
160 | 179 | <dependency>
|
161 | 180 | <groupId>com.conversantmedia</groupId>
|
162 | 181 | <artifactId>disruptor</artifactId>
|
163 | 182 | <scope>test</scope>
|
164 | 183 | </dependency>
|
| 184 | + |
165 | 185 | <!-- Required for AsyncLoggers -->
|
166 | 186 | <dependency>
|
167 | 187 | <groupId>com.lmax</groupId>
|
168 | 188 | <artifactId>disruptor</artifactId>
|
169 | 189 | <scope>test</scope>
|
170 | 190 | </dependency>
|
| 191 | + |
171 | 192 | <dependency>
|
172 | 193 | <groupId>org.zapodot</groupId>
|
173 | 194 | <artifactId>embedded-ldap-junit</artifactId>
|
174 | 195 | <scope>test</scope>
|
175 | 196 | </dependency>
|
| 197 | + |
176 | 198 | <dependency>
|
177 | 199 | <groupId>org.apache.groovy</groupId>
|
178 | 200 | <artifactId>groovy-dateutil</artifactId>
|
179 | 201 | <scope>test</scope>
|
180 | 202 | </dependency>
|
| 203 | + |
181 | 204 | <dependency>
|
182 | 205 | <groupId>org.apache.groovy</groupId>
|
183 | 206 | <artifactId>groovy-jsr223</artifactId>
|
184 | 207 | <scope>test</scope>
|
185 | 208 | </dependency>
|
| 209 | + |
186 | 210 | <dependency>
|
187 | 211 | <groupId>com.h2database</groupId>
|
188 | 212 | <artifactId>h2</artifactId>
|
189 | 213 | <scope>test</scope>
|
190 | 214 | </dependency>
|
| 215 | + |
191 | 216 | <!-- Embedded JDBC drivers for database appender tests -->
|
192 | 217 | <dependency>
|
193 | 218 | <groupId>org.hsqldb</groupId>
|
194 | 219 | <artifactId>hsqldb</artifactId>
|
195 | 220 | <classifier>jdk8</classifier>
|
196 | 221 | <scope>test</scope>
|
197 | 222 | </dependency>
|
| 223 | + |
198 | 224 | <!-- Required for JSON support -->
|
199 | 225 | <dependency>
|
200 | 226 | <groupId>com.fasterxml.jackson.core</groupId>
|
201 | 227 | <artifactId>jackson-databind</artifactId>
|
202 | 228 | <scope>test</scope>
|
203 | 229 | </dependency>
|
| 230 | + |
204 | 231 | <!-- Required for XML layout and receiver support -->
|
205 | 232 | <dependency>
|
206 | 233 | <groupId>com.fasterxml.jackson.dataformat</groupId>
|
207 | 234 | <artifactId>jackson-dataformat-xml</artifactId>
|
208 | 235 | <scope>test</scope>
|
209 | 236 | </dependency>
|
| 237 | + |
210 | 238 | <!-- Required for YAML support (including JSON requirements) -->
|
211 | 239 | <dependency>
|
212 | 240 | <groupId>com.fasterxml.jackson.dataformat</groupId>
|
213 | 241 | <artifactId>jackson-dataformat-yaml</artifactId>
|
214 | 242 | <scope>test</scope>
|
215 | 243 | </dependency>
|
| 244 | + |
216 | 245 | <!-- Required for console color support in Windows -->
|
217 | 246 | <dependency>
|
218 | 247 | <groupId>org.fusesource.jansi</groupId>
|
219 | 248 | <artifactId>jansi</artifactId>
|
220 | 249 | <scope>test</scope>
|
221 | 250 | </dependency>
|
| 251 | + |
222 | 252 | <!-- Used for JMS appenders (needs an implementation of course) -->
|
223 | 253 | <dependency>
|
224 | 254 | <groupId>javax.jms</groupId>
|
225 | 255 | <artifactId>javax.jms-api</artifactId>
|
226 | 256 | <scope>test</scope>
|
227 | 257 | </dependency>
|
| 258 | + |
228 | 259 | <dependency>
|
229 | 260 | <groupId>org.jspecify</groupId>
|
230 | 261 | <artifactId>jspecify</artifactId>
|
|
235 | 266 | <artifactId>javax.mail</artifactId>
|
236 | 267 | <scope>test</scope>
|
237 | 268 | </dependency>
|
| 269 | + |
238 | 270 | <dependency>
|
239 | 271 | <groupId>javax.mail</groupId>
|
240 | 272 | <artifactId>javax.mail-api</artifactId>
|
241 | 273 | <scope>test</scope>
|
242 | 274 | </dependency>
|
| 275 | + |
243 | 276 | <!-- Alternative implementation of BlockingQueue using JCTools for AsyncAppender -->
|
244 | 277 | <dependency>
|
245 | 278 | <groupId>org.jctools</groupId>
|
246 | 279 | <artifactId>jctools-core</artifactId>
|
247 | 280 | <scope>test</scope>
|
248 | 281 | </dependency>
|
| 282 | + |
249 | 283 | <!-- Used for ZeroMQ JeroMQ appender -->
|
250 | 284 | <dependency>
|
251 | 285 | <groupId>org.zeromq</groupId>
|
252 | 286 | <artifactId>jeromq</artifactId>
|
253 | 287 | <scope>test</scope>
|
254 | 288 | </dependency>
|
| 289 | + |
255 | 290 | <!-- Zeroconf advertiser tests -->
|
256 | 291 | <dependency>
|
257 | 292 | <groupId>org.jmdns</groupId>
|
258 | 293 | <artifactId>jmdns</artifactId>
|
259 | 294 | <scope>test</scope>
|
260 | 295 | </dependency>
|
261 |
| - <!-- GELF --> |
| 296 | + |
| 297 | + <!-- GELF and other tests that use JSON --> |
| 298 | + <dependency> |
| 299 | + <groupId>net.javacrumbs.json-unit</groupId> |
| 300 | + <artifactId>json-unit-assertj</artifactId> |
| 301 | + <version>${json-unit.version}</version> |
| 302 | + <scope>test</scope> |
| 303 | + </dependency> |
| 304 | + |
262 | 305 | <dependency>
|
263 | 306 | <groupId>net.javacrumbs.json-unit</groupId>
|
264 | 307 | <artifactId>json-unit</artifactId>
|
| 308 | + <version>${json-unit.version}</version> |
265 | 309 | <scope>test</scope>
|
266 | 310 | </dependency>
|
| 311 | + |
267 | 312 | <dependency>
|
268 | 313 | <groupId>org.junit.jupiter</groupId>
|
269 | 314 | <artifactId>junit-jupiter-engine</artifactId>
|
270 | 315 | <scope>test</scope>
|
271 | 316 | </dependency>
|
| 317 | + |
272 | 318 | <dependency>
|
273 | 319 | <groupId>org.junit.jupiter</groupId>
|
274 | 320 | <artifactId>junit-jupiter-params</artifactId>
|
275 | 321 | <scope>test</scope>
|
276 | 322 | </dependency>
|
| 323 | + |
277 | 324 | <dependency>
|
278 | 325 | <groupId>org.junit-pioneer</groupId>
|
279 | 326 | <artifactId>junit-pioneer</artifactId>
|
280 | 327 | <scope>test</scope>
|
281 | 328 | </dependency>
|
| 329 | + |
282 | 330 | <!-- JUnit, naturally -->
|
283 | 331 | <dependency>
|
284 | 332 | <groupId>org.junit.vintage</groupId>
|
285 | 333 | <artifactId>junit-vintage-engine</artifactId>
|
286 | 334 | <scope>test</scope>
|
287 | 335 | </dependency>
|
| 336 | + |
288 | 337 | <!-- Used for Kafka appender -->
|
289 | 338 | <dependency>
|
290 | 339 | <groupId>org.apache.kafka</groupId>
|
291 | 340 | <artifactId>kafka-clients</artifactId>
|
292 | 341 | <scope>test</scope>
|
293 | 342 | </dependency>
|
| 343 | + |
294 | 344 | <dependency>
|
295 | 345 | <groupId>org.apache.maven</groupId>
|
296 | 346 | <artifactId>maven-core</artifactId>
|
297 | 347 | <scope>test</scope>
|
298 | 348 | </dependency>
|
| 349 | + |
299 | 350 | <!-- Mocking framework for use with JUnit -->
|
300 | 351 | <dependency>
|
301 | 352 | <groupId>org.mockito</groupId>
|
302 | 353 | <artifactId>mockito-core</artifactId>
|
303 | 354 | <scope>test</scope>
|
304 | 355 | </dependency>
|
| 356 | + |
305 | 357 | <dependency>
|
306 | 358 | <groupId>org.mockito</groupId>
|
307 | 359 | <artifactId>mockito-junit-jupiter</artifactId>
|
308 | 360 | <scope>test</scope>
|
309 | 361 | </dependency>
|
| 362 | + |
310 | 363 | <dependency>
|
311 | 364 | <groupId>org.codehaus.plexus</groupId>
|
312 | 365 | <artifactId>plexus-utils</artifactId>
|
313 | 366 | <scope>test</scope>
|
314 | 367 | </dependency>
|
| 368 | + |
315 | 369 | <!-- Used for testing HttpAppender -->
|
316 | 370 | <dependency>
|
317 | 371 | <groupId>com.github.tomakehurst</groupId>
|
318 | 372 | <artifactId>wiremock-jre8</artifactId>
|
319 | 373 | <scope>test</scope>
|
320 | 374 | </dependency>
|
| 375 | + |
321 | 376 | <dependency>
|
322 | 377 | <groupId>org.xmlunit</groupId>
|
323 | 378 | <artifactId>xmlunit-core</artifactId>
|
324 | 379 | <scope>test</scope>
|
325 | 380 | </dependency>
|
| 381 | + |
326 | 382 | <dependency>
|
327 | 383 | <groupId>org.xmlunit</groupId>
|
328 | 384 | <artifactId>xmlunit-matchers</artifactId>
|
329 | 385 | <scope>test</scope>
|
330 | 386 | </dependency>
|
| 387 | + |
331 | 388 | <!-- Apache Commons Compress -->
|
332 | 389 | <dependency>
|
333 | 390 | <groupId>org.tukaani</groupId>
|
334 | 391 | <artifactId>xz</artifactId>
|
335 | 392 | <scope>test</scope>
|
336 | 393 | </dependency>
|
| 394 | + |
337 | 395 | <dependency>
|
338 | 396 | <groupId>com.github.luben</groupId>
|
339 | 397 | <artifactId>zstd-jni</artifactId>
|
340 | 398 | <scope>test</scope>
|
341 | 399 | </dependency>
|
| 400 | + |
342 | 401 | </dependencies>
|
343 | 402 |
|
344 | 403 | <build>
|
|
0 commit comments