-
Notifications
You must be signed in to change notification settings - Fork 966
Add used but undeclared dependencies to pom.xmls #4539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add used but undeclared dependencies to pom.xmls #4539
Conversation
From SigV4DataFramePublisher which is SdkInternalApi.
From multiple classes in software.amazon.awssdk.http.auth.aws.crt.internal.
For derived attributes feature of signer ExecutionAttributes.
From AwsSignerExecutionAttributeTest
Just for NoAuthAuthScheme.SCHEME_ID in AwsExecutionContextBuilder.
| <artifactId>aws-json-protocol</artifactId> | ||
| <version>${awsjavasdk.version}</version> | ||
| </dependency> | ||
| <dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will new services get this dependency from this point on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, added to the feature branch in #4309
As it was causing CrtBasedChecksumTest in sdk-core to fail as it expects to not find crt in the classpath.
|
SonarCloud Quality Gate failed.
|
| <dependency> | ||
| <groupId>software.amazon.eventstream</groupId> | ||
| <artifactId>eventstream</artifactId> | ||
| <version>${eventstream.version}</version> | ||
| </dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have been an optional dependency like http-auth-aws-eventstream above, so all customers of http-auth-aws don't bring in eventstream unless they are using event streaming features. Fixing in #4574.
…f4d0246e4 Pull request: release <- staging/0d504f75-1cd6-41e9-9b22-2e3f4d0246e4












Motivation and Context
Searched for "Used undeclared dependencies found:" in the build logs. Fixed 4/6.
One was in old-client-version-compatibility-test which is a test module, so didn't bother.
Another one was for aws-crt dependency from http-auth-aws, but adding it was causing some tests to fail, so reverted that.
Modifications
Added missing dependencies. In one case changed a test to avoid a test dependency.
Testing
Screenshots (if appropriate)
Types of changes
Checklist
mvn installsucceedsscripts/new-changescript and following the instructions. Commit the new file created by the script in.changes/next-releasewith your changes.License