Commit 442a6c3
ci: scope exec:java to leaf modules and switch verify → install
Running 'mvn -pl <module> -am exec:java' invokes exec:java on every
reactor module that -am pulls in (parent pom + transitive deps), which
fails because no mainClass is defined there. Use '-f <module>/pom.xml'
so exec runs only in the leaf module, and 'install' (not 'verify') so
that loop can resolve our SNAPSHOTs from the local repository.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent de11456 commit 442a6c3
1 file changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | | - | |
| 64 | + | |
63 | 65 | | |
64 | | - | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| |||
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
98 | | - | |
99 | | - | |
100 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
101 | 107 | | |
102 | 108 | | |
103 | 109 | | |
| |||
0 commit comments