Commit e8cfa59
fix(build): configure GMavenPlus 4.3.0 to detect Groovy in test scope (liquibase#7539)
* fix(build): configure GMavenPlus 4.3.0 to detect Groovy in test scope
GMavenPlus 4.3.0 introduced stricter Groovy version detection that fails
when Groovy is only available in test scope. This adds Groovy as a plugin
dependency and sets includeClasspath to PROJECT_AND_PLUGIN so the plugin
can detect Groovy while keeping it in test scope for the project.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix(build): scope GMavenPlus compile goal to module with main Groovy sources
GMavenPlus 4.3.0 fails when the compile goal runs on modules where Groovy
is only in test scope. Instead of using workarounds, this properly scopes
the goals:
- Parent POM: only test-related goals (compileTests, removeTestStubs)
- liquibase-extension-testing: adds compile and removeStubs goals since
this is the only module with main Groovy sources
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 529b15b commit e8cfa59
2 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
115 | 129 | | |
116 | 130 | | |
117 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
385 | 384 | | |
386 | | - | |
387 | 385 | | |
388 | 386 | | |
389 | 387 | | |
| |||
0 commit comments