Skip to content

Conversation

@sriram-mv
Copy link
Contributor

Maven error messages were being discarded because stderr was not captured. Now stderr is properly captured and displayed when Maven builds fail.

Changes:

  • Modified build() and copy_dependency() to use stderr in error messages
  • Updated tests to verify stderr is captured correctly

Issue #, if available:

#502

Description of changes

Description of how you validated changes

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Maven error messages were being discarded because stderr was not captured.
Now stderr is properly captured and displayed when Maven builds fail.

Changes:
- Modified build() and copy_dependency() to use stderr in error messages
- Updated tests to verify stderr is captured correctly
@sriram-mv sriram-mv requested a review from a team as a code owner January 16, 2026 22:19
@github-actions github-actions bot added pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. area/workflow/java_maven and removed pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Jan 16, 2026
@reedham-aws
Copy link
Contributor

Thank you for the changes!

@reedham-aws reedham-aws added this pull request to the merge queue Jan 20, 2026
Merged via the queue into aws:develop with commit 8ccbae9 Jan 20, 2026
111 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants