You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We sometimes need to update the AWS SDK to solve reported vulnerabilities.
I am aware of the mn-override.versions.toml mechanism, but for some reason this doesn't seem to work to override the version of the AWS BOM.
For example, using currently the Micronaut Platform version 4.9.3, the default AWS SDK version is 2.31.66.
I am trying to override that by putting:
[versions]
aws-java-sdk-v2 = "2.31.78"
in the gradle/mn-override.versions.toml file.
This is supposed to be a managed version, and I can see that the value of mn.versions.aws.java.sdk.v2 is changing, thanks to a task like:
tasks.register("printAwsSdkVersion") {
val version = mn.versions.aws.java.sdk.v2.get()
doLast {
println(version)
}
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We sometimes need to update the AWS SDK to solve reported vulnerabilities.
I am aware of the
mn-override.versions.toml
mechanism, but for some reason this doesn't seem to work to override the version of the AWS BOM.For example, using currently the Micronaut Platform version 4.9.3, the default AWS SDK version is 2.31.66.
I am trying to override that by putting:
in the
gradle/mn-override.versions.toml
file.This is supposed to be a managed version, and I can see that the value of
mn.versions.aws.java.sdk.v2
is changing, thanks to a task like:But it seems to have no effect on the library versions pulled by the AWS BOM.
I am aware that this is likely not an issue specific to micronaut-aws, but I can't tell if this is a platform, catalog, or gradle plugin issue.
repro.zip
Beta Was this translation helpful? Give feedback.
All reactions