Skip to content

Commit 21191c7

Browse files
authored
force commons-beanutils to 1.11.0 (#4000)
Signed-off-by: Jing Zhang <jngz@amazon.com>
1 parent 74a13e8 commit 21191c7

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

ml-algorithms/build.gradle

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ dependencies {
5757
}
5858
// Multi-tenant SDK Client
5959
implementation "org.opensearch:opensearch-remote-metadata-sdk:${opensearch_build}"
60+
implementation 'commons-beanutils:commons-beanutils:1.11.0'
6061

6162
def os = DefaultNativePlatform.currentOperatingSystem
6263
//arm/macos doesn't support GPU
@@ -147,12 +148,3 @@ spotless {
147148
eclipse().withP2Mirrors(Map.of("https://download.eclipse.org/", "https://mirror.umd.edu/eclipse/")).configFile rootProject.file('.eclipseformat.xml')
148149
}
149150
}
150-
151-
configurations {
152-
runtimeClasspath {
153-
resolutionStrategy {
154-
// CVE-48734: tribuo-clustering-kmeans:'4.2.1 causes a transitive dependency on beanutils:1.94
155-
force 'commons-beanutils:commons-beanutils:1.11.0'
156-
}
157-
}
158-
}

plugin/build.gradle

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ configurations.all {
417417
resolutionStrategy.force "org.apache.logging.log4j:log4j-api:2.24.2"
418418
resolutionStrategy.force "org.apache.logging.log4j:log4j-core:2.24.2"
419419
resolutionStrategy.force "jakarta.json:jakarta.json-api:2.1.3"
420+
resolutionStrategy.force 'commons-beanutils:commons-beanutils:1.11.0'
420421
}
421422

422423
apply plugin: 'com.netflix.nebula.ospackage'
@@ -690,12 +691,3 @@ forbiddenPatterns {
690691
exclude '**/*.pdf'
691692
exclude '**/*.jpg'
692693
}
693-
694-
configurations {
695-
runtimeClasspath {
696-
resolutionStrategy {
697-
// CVE-48734: tribuo-clustering-kmeans:'4.2.1 causes a transitive dependency on beanutils:1.94
698-
force 'commons-beanutils:commons-beanutils:1.11.0'
699-
}
700-
}
701-
}

0 commit comments

Comments
 (0)