Skip to content

Remove the maven-shared-utils dependency - #1483

Merged
slachiewicz merged 1 commit into
masterfrom
agent/drop-shared-utils
Nov 8, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/drop-shared-utils

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Replaces the two IOUtil calls in versions-common (copy and toString) with plain JDK 8 read loops over a ByteArrayOutputStream, and removes maven-shared-utils and its version property from both POMs. The build still targets Java 8, so InputStream.transferTo and readAllBytes are not available, and commons-io is test-scoped only. Behavior is unchanged: same 4096-byte chunking and the same charset decoding.

Verified: mvn -B verify → unit tests pass in all modules; the invoker ITs were not run.

The two IOUtil calls in versions-common are replaced by plain JDK 8 read loops over a ByteArrayOutputStream. The library is no longer needed.
@slachiewicz slachiewicz added the dependencies Pull requests that update a dependency file label Nov 8, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review November 8, 2026 11:43
@slachiewicz
slachiewicz merged commit 7aa9bea into master Nov 8, 2026
16 checks passed
@slachiewicz
slachiewicz deleted the agent/drop-shared-utils branch November 8, 2026 11:44
@github-actions github-actions Bot added this to the 2.24.1 milestone Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant