|
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 | + |
| 259 | + <dependency> |
| 260 | + <groupId>org.jspecify</groupId> |
| 261 | + <artifactId>jspecify</artifactId> |
| 262 | + <scope>test</scope> |
| 263 | + </dependency> |
228 | 264 | <dependency> |
229 | 265 | <groupId>com.sun.mail</groupId> |
230 | 266 | <artifactId>javax.mail</artifactId> |
231 | 267 | <scope>test</scope> |
232 | 268 | </dependency> |
| 269 | + |
233 | 270 | <dependency> |
234 | 271 | <groupId>javax.mail</groupId> |
235 | 272 | <artifactId>javax.mail-api</artifactId> |
236 | 273 | <scope>test</scope> |
237 | 274 | </dependency> |
| 275 | + |
238 | 276 | <!-- Alternative implementation of BlockingQueue using JCTools for AsyncAppender --> |
239 | 277 | <dependency> |
240 | 278 | <groupId>org.jctools</groupId> |
241 | 279 | <artifactId>jctools-core</artifactId> |
242 | 280 | <scope>test</scope> |
243 | 281 | </dependency> |
| 282 | + |
244 | 283 | <!-- Used for ZeroMQ JeroMQ appender --> |
245 | 284 | <dependency> |
246 | 285 | <groupId>org.zeromq</groupId> |
247 | 286 | <artifactId>jeromq</artifactId> |
248 | 287 | <scope>test</scope> |
249 | 288 | </dependency> |
| 289 | + |
250 | 290 | <!-- Zeroconf advertiser tests --> |
251 | 291 | <dependency> |
252 | 292 | <groupId>org.jmdns</groupId> |
253 | 293 | <artifactId>jmdns</artifactId> |
254 | 294 | <scope>test</scope> |
255 | 295 | </dependency> |
256 | | - <!-- 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 | + |
257 | 305 | <dependency> |
258 | 306 | <groupId>net.javacrumbs.json-unit</groupId> |
259 | 307 | <artifactId>json-unit</artifactId> |
| 308 | + <version>${json-unit.version}</version> |
260 | 309 | <scope>test</scope> |
261 | 310 | </dependency> |
| 311 | + |
262 | 312 | <dependency> |
263 | 313 | <groupId>org.junit.jupiter</groupId> |
264 | 314 | <artifactId>junit-jupiter-engine</artifactId> |
265 | 315 | <scope>test</scope> |
266 | 316 | </dependency> |
| 317 | + |
267 | 318 | <dependency> |
268 | 319 | <groupId>org.junit.jupiter</groupId> |
269 | 320 | <artifactId>junit-jupiter-params</artifactId> |
270 | 321 | <scope>test</scope> |
271 | 322 | </dependency> |
| 323 | + |
272 | 324 | <dependency> |
273 | 325 | <groupId>org.junit-pioneer</groupId> |
274 | 326 | <artifactId>junit-pioneer</artifactId> |
275 | 327 | <scope>test</scope> |
276 | 328 | </dependency> |
| 329 | + |
277 | 330 | <!-- JUnit, naturally --> |
278 | 331 | <dependency> |
279 | 332 | <groupId>org.junit.vintage</groupId> |
280 | 333 | <artifactId>junit-vintage-engine</artifactId> |
281 | 334 | <scope>test</scope> |
282 | 335 | </dependency> |
| 336 | + |
283 | 337 | <!-- Used for Kafka appender --> |
284 | 338 | <dependency> |
285 | 339 | <groupId>org.apache.kafka</groupId> |
286 | 340 | <artifactId>kafka-clients</artifactId> |
287 | 341 | <scope>test</scope> |
288 | 342 | </dependency> |
| 343 | + |
289 | 344 | <dependency> |
290 | 345 | <groupId>org.apache.maven</groupId> |
291 | 346 | <artifactId>maven-core</artifactId> |
292 | 347 | <scope>test</scope> |
293 | 348 | </dependency> |
| 349 | + |
294 | 350 | <!-- Mocking framework for use with JUnit --> |
295 | 351 | <dependency> |
296 | 352 | <groupId>org.mockito</groupId> |
297 | 353 | <artifactId>mockito-core</artifactId> |
298 | 354 | <scope>test</scope> |
299 | 355 | </dependency> |
| 356 | + |
300 | 357 | <dependency> |
301 | 358 | <groupId>org.mockito</groupId> |
302 | 359 | <artifactId>mockito-junit-jupiter</artifactId> |
303 | 360 | <scope>test</scope> |
304 | 361 | </dependency> |
| 362 | + |
305 | 363 | <dependency> |
306 | 364 | <groupId>org.codehaus.plexus</groupId> |
307 | 365 | <artifactId>plexus-utils</artifactId> |
308 | 366 | <scope>test</scope> |
309 | 367 | </dependency> |
| 368 | + |
310 | 369 | <!-- Used for testing HttpAppender --> |
311 | 370 | <dependency> |
312 | 371 | <groupId>com.github.tomakehurst</groupId> |
313 | 372 | <artifactId>wiremock-jre8</artifactId> |
314 | 373 | <scope>test</scope> |
315 | 374 | </dependency> |
| 375 | + |
316 | 376 | <dependency> |
317 | 377 | <groupId>org.xmlunit</groupId> |
318 | 378 | <artifactId>xmlunit-core</artifactId> |
319 | 379 | <scope>test</scope> |
320 | 380 | </dependency> |
| 381 | + |
321 | 382 | <dependency> |
322 | 383 | <groupId>org.xmlunit</groupId> |
323 | 384 | <artifactId>xmlunit-matchers</artifactId> |
324 | 385 | <scope>test</scope> |
325 | 386 | </dependency> |
| 387 | + |
326 | 388 | <!-- Apache Commons Compress --> |
327 | 389 | <dependency> |
328 | 390 | <groupId>org.tukaani</groupId> |
329 | 391 | <artifactId>xz</artifactId> |
330 | 392 | <scope>test</scope> |
331 | 393 | </dependency> |
| 394 | + |
332 | 395 | <dependency> |
333 | 396 | <groupId>com.github.luben</groupId> |
334 | 397 | <artifactId>zstd-jni</artifactId> |
335 | 398 | <scope>test</scope> |
336 | 399 | </dependency> |
| 400 | + |
337 | 401 | </dependencies> |
338 | 402 |
|
339 | 403 | <build> |
|
0 commit comments