Commit 95c92ef
committed
Fix CI-aware options to respect --force-interactive flag
- Modified MavenInvoker to skip CI optimizations when --force-interactive is specified
- Updated CIOptimizationsIntegrationTest to reflect correct behavior where --force-interactive completely disables CI optimizations
- This ensures users can override CI detection and get normal interactive behavior even in CI environments1 parent f6e0c1e commit 95c92ef
File tree
2 files changed
+21
-8
lines changed- impl/maven-cli/src
- main/java/org/apache/maven/cling/invoker/mvn
- test/java/org/apache/maven/cling/invoker/mvn
2 files changed
+21
-8
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
Lines changed: 17 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
206 | 216 | | |
207 | 217 | | |
0 commit comments