Skip to content

fix: change netty-nio-client Maven scope from runtime to compile#12

Merged
lukeocodes merged 1 commit into
mainfrom
fix/maven-netty-nio-client-scope
Apr 13, 2026
Merged

fix: change netty-nio-client Maven scope from runtime to compile#12
lukeocodes merged 1 commit into
mainfrom
fix/maven-netty-nio-client-scope

Conversation

@lukeocodes

Copy link
Copy Markdown
Member

Summary

  • netty-nio-client was declared <scope>runtime</scope> in pom.xml, which excludes it from the compile classpath
  • SageMakerTransportFactory imports NettyNioAsyncHttpClient and Http2Configuration from software.amazon.awssdk.http.nio.netty, causing mvn deploy to fail at compile time with package does not exist — never reaching the publish step
  • Removes the <scope>runtime</scope> tag, defaulting to compile scope, matching the Gradle implementation declaration in sagemaker-transport/build.gradle

Related

Fixes the failing Maven Central publish in https://github.com/deepgram/deepgram-java-sdk-transport-sagemaker/actions/runs/24363491272/job/71149256941

The pom.xml declared netty-nio-client with <scope>runtime</scope>, which
excludes it from the compile classpath. SageMakerTransportFactory imports
NettyNioAsyncHttpClient and Http2Configuration from
software.amazon.awssdk.http.nio.netty, causing the Maven build to fail
with 'package does not exist' during the publish step.

The Gradle build correctly uses implementation scope (compile-visible).
Removing the runtime scope restores parity and allows mvn deploy to compile.
@lukeocodes lukeocodes requested a review from VWang1111 April 13, 2026 20:22
@lukeocodes lukeocodes merged commit df86a2d into main Apr 13, 2026
7 checks passed
lukeocodes added a commit that referenced this pull request Apr 13, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.1.2](v0.1.1...v0.1.2)
(2026-04-13)


### Bug Fixes

* change netty-nio-client Maven scope from runtime to compile
([3faa74b](3faa74b))
* change netty-nio-client Maven scope from runtime to compile
([#12](#12))
([df86a2d](df86a2d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants