Commit f7288f3
committed
build: move jcstress to opt-in -Pjcstress profile
The jcstress execution was bound to the test phase with
<skip>${skipTests}</skip>. The publish pipeline uses
-Dmaven.test.skip=true (a different Maven property), which correctly
skipped surefire and test compilation but did NOT skip jcstress.
jcstress then crashed with an NPE because the annotation-processor-
generated META-INF/jcstress/TestList resource had never been built.
Move the execution into a <profile id="jcstress"> so it only runs
when explicitly requested via -Pjcstress. The exec-maven-plugin is
kept in the default build for JMH benchmarks.
publish.yml: add -Pjcstress to the Java test job so jcstress still
runs at least once per CI build (in the test phase, not in the
release/package phase that skips tests).
https://claude.ai/code/session_01NHGqtxTLHUXAEzqABvmKnB1 parent a0b1813 commit f7288f3
2 files changed
Lines changed: 31 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
| 406 | + | |
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | 509 | | |
530 | 510 | | |
531 | 511 | | |
| |||
663 | 643 | | |
664 | 644 | | |
665 | 645 | | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
666 | 676 | | |
667 | 677 | | |
0 commit comments