deepdebug-local-agent 1.0.20 → 1.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -148,12 +148,16 @@ export async function commandExists(cmd) {
148
148
  export async function compileAndTest({ language, buildTool, cwd }) {
149
149
  const steps = [];
150
150
 
151
- // Java + Maven
151
+ // Java + Maven — no -q flag so compilation errors are visible to AI
152
152
  if (language === 'java' && buildTool === 'maven') {
153
- const clean = await run('mvn', ['clean', '-q'], cwd);
154
- steps.push({ name: 'clean', ...clean });
153
+ const compile = await run('mvn', ['compile', '-DskipTests', '-e'], cwd);
154
+ steps.push({ name: 'compile', ...compile });
155
+
156
+ if (compile.code !== 0) {
157
+ return { success: false, steps };
158
+ }
155
159
 
156
- const test = await run('mvn', ['test', '-q'], cwd);
160
+ const test = await run('mvn', ['test', '-e'], cwd);
157
161
  steps.push({ name: 'test', ...test });
158
162
 
159
163
  return {