|
37 | 37 | <version>4.13.1</version> |
38 | 38 | <scope>test</scope> |
39 | 39 | </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>org.junit.jupiter</groupId> |
| 42 | + <artifactId>junit-jupiter-api</artifactId> |
| 43 | + <version>5.7.1</version> |
| 44 | + <scope>test</scope> |
| 45 | + </dependency> |
| 46 | + <dependency> |
| 47 | + <groupId>org.junit.jupiter</groupId> |
| 48 | + <artifactId>junit-jupiter-engine</artifactId> |
| 49 | + <version>5.7.1</version> |
| 50 | + <scope>test</scope> |
| 51 | + </dependency> |
40 | 52 | <dependency> |
41 | 53 | <groupId>org.mockito</groupId> |
42 | 54 | <artifactId>mockito-core</artifactId> |
|
182 | 194 | <groupId>org.javacc.plugin</groupId> |
183 | 195 | <artifactId>javacc-maven-plugin</artifactId> |
184 | 196 | <version>3.0.3</version> |
185 | | - |
| 197 | + |
186 | 198 | <executions> |
187 | 199 | <execution> |
188 | 200 | <id>javacc</id> |
|
191 | 203 | <goal>jjtree-javacc</goal> |
192 | 204 | </goals> |
193 | 205 | </execution> |
194 | | - |
| 206 | + |
195 | 207 | <!-- execute JJTree explicitely in order to generate the *.jj file needed for JJDoc --> |
196 | 208 | <execution> |
197 | 209 | <id>jjtree</id> |
198 | 210 | <phase>generate-sources</phase> |
199 | 211 | <goals> |
200 | 212 | <goal>jjtree</goal> |
201 | 213 | </goals> |
202 | | - </execution> |
| 214 | + </execution> |
203 | 215 | </executions> |
204 | 216 | <dependencies> |
205 | 217 | <dependency> |
|
383 | 395 | <useStandardDocletOptions>true</useStandardDocletOptions> |
384 | 396 | <maxmemory>800m</maxmemory> |
385 | 397 | <doclint>none</doclint> |
386 | | - |
| 398 | + |
387 | 399 | <!-- Doclint does not work on the Test Sources |
388 | 400 | <doclint>all,-missing</doclint> |
389 | 401 | <excludePackageNames>net.sf.jsqlparser.parser</excludePackageNames> |
|
403 | 415 | <artifactId>maven-jxr-plugin</artifactId> |
404 | 416 | <version>3.0.0</version> |
405 | 417 | </plugin> |
406 | | - |
| 418 | + |
407 | 419 | <!-- Cobertura is broken with Java 1.8 and there is not fix |
408 | 420 | please refer to https://github.com/cobertura/cobertura/issues/248 |
409 | | - |
| 421 | +
|
410 | 422 | <plugin> |
411 | 423 | <groupId>org.codehaus.mojo</groupId> |
412 | 424 | <artifactId>cobertura-maven-plugin</artifactId> |
|
417 | 429 | </configuration> |
418 | 430 | </plugin> |
419 | 431 | --> |
420 | | - |
| 432 | + |
421 | 433 | <plugin> |
422 | 434 | <groupId>org.codehaus.mojo</groupId> |
423 | 435 | <artifactId>findbugs-maven-plugin</artifactId> |
424 | 436 | <version>3.0.5</version> |
425 | 437 | </plugin> |
426 | | - |
| 438 | + |
427 | 439 | <!-- Obsolete or Unused |
428 | 440 | <plugin> |
429 | 441 | <groupId>org.apache.maven.plugins</groupId> |
|
433 | 445 | </configuration> |
434 | 446 | </plugin> |
435 | 447 | --> |
436 | | - |
| 448 | + |
437 | 449 | <!-- JJDoc report generating the BNF documentation --> |
438 | 450 | <plugin> |
439 | 451 | <groupId>org.codehaus.mojo</groupId> |
440 | 452 | <artifactId>javacc-maven-plugin</artifactId> |
441 | 453 | <version>2.6</version> |
442 | 454 | <configuration> |
443 | | - <!-- |
| 455 | + <!-- |
444 | 456 | /** |
445 | 457 | * A flag to specify the output format for the generated documentation. If set to <code>true</code>, JJDoc will |
446 | 458 | * generate a plain text description of the BNF. Some formatting is done via tab characters, but the intention is to |
447 | 459 | * leave it as plain as possible. Specifying <code>false</code> causes JJDoc to generate a hyperlinked HTML document |
448 | 460 | * unless the parameter {@link #bnf} has been set to <code>true</code>. Default value is <code>false</code>. |
449 | | - * |
| 461 | + * |
450 | 462 | * @parameter expression="${text}" |
451 | 463 | */ |
452 | 464 | --> |
453 | 465 | <text>false</text> |
454 | | - |
| 466 | + |
455 | 467 | <!-- |
456 | 468 | /** |
457 | 469 | * A flag whether to generate a plain text document with the unformatted BNF. Note that setting this option to |
458 | 470 | * <code>true</code> is only effective if the parameter {@link #text} is <code>false</code>. Default value is |
459 | 471 | * <code>false</code>. |
460 | | - * |
| 472 | + * |
461 | 473 | * @parameter expression="${bnf}" |
462 | 474 | * @since 2.6 |
463 | 475 | */ |
464 | 476 | --> |
465 | 477 | <bnf>false</bnf> |
466 | | - |
| 478 | + |
467 | 479 | <!-- |
468 | 480 | /** |
469 | 481 | * This option controls the structure of the generated HTML output. If set to <code>true</code>, a single HTML |
470 | 482 | * table for the entire BNF is generated. Setting it to <code>false</code> will produce one table for every |
471 | 483 | * production in the grammar. |
472 | | - * |
| 484 | + * |
473 | 485 | * @parameter expression="${oneTable}" default-value=true |
474 | 486 | */ |
475 | 487 | --> |
476 | 488 | <oneTable>false</oneTable> |
477 | | - |
| 489 | + |
478 | 490 | <!-- |
479 | 491 | /** |
480 | 492 | * The hypertext reference to an optional CSS file for the generated HTML documents. If specified, this CSS file |
481 | 493 | * will be included via a <code><link></code> element in the HTML documents. Otherwise, the default style will |
482 | 494 | * be used. |
483 | | - * |
| 495 | + * |
484 | 496 | * @parameter expression="${cssHref}" |
485 | 497 | * @since 2.5 |
486 | | - */ |
| 498 | + */ |
487 | 499 | --> |
488 | 500 | <!-- <cssHref></cssHref> --> |
489 | | - |
| 501 | + |
490 | 502 | <outputDirectory>${project.reporting.outputDirectory}</outputDirectory> |
491 | 503 | </configuration> |
492 | 504 | </plugin> |
|
0 commit comments