Skip to content

Commit 82eb4fa

Browse files
dlvenablechenqi0805
authored andcommitted
Fixes a few dependency versions. Several new projects have redeclared their dependencies which may lead to inconsistent dependencies in testing than runtime. This updates these to use the dependencies as used by the project-at-large. (opensearch-project#5518)
Signed-off-by: David Venable <[email protected]>
1 parent 3c696b1 commit 82eb4fa

File tree

4 files changed

+5
-15
lines changed

4 files changed

+5
-15
lines changed

Diff for: data-prepper-pipeline-parser/build.gradle

+1-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies {
1313
implementation project(':data-prepper-api')
1414
implementation project(':data-prepper-plugins:blocking-buffer')
1515
implementation project(':data-prepper-plugins:rds-source')
16-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.3'
16+
implementation 'com.fasterxml.jackson.core:jackson-databind'
1717
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml'
1818
implementation 'org.apache.commons:commons-collections4:4.4'
1919
implementation 'org.apache.commons:commons-text:1.13.0'
@@ -29,9 +29,6 @@ dependencies {
2929
}
3030
implementation 'software.amazon.cloudwatchlogs:aws-embedded-metrics:2.0.0-beta-1'
3131
implementation 'software.amazon.awssdk:arns'
32-
testImplementation testLibs.bundles.junit
33-
testImplementation testLibs.bundles.mockito
34-
testImplementation testLibs.hamcrest
3532
testImplementation 'org.assertj:assertj-core:3.20.2'
3633
compileOnly 'org.projectlombok:lombok:1.18.20'
3734
annotationProcessor 'org.projectlombok:lombok:1.18.20'

Diff for: data-prepper-plugin-schema-cli/build.gradle

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies {
1313
implementation project(':data-prepper-plugin-schema')
1414
implementation 'com.fasterxml.jackson.core:jackson-databind'
1515
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml'
16-
implementation 'org.reflections:reflections:0.10.2'
16+
implementation libs.reflections.core
1717
implementation 'com.github.victools:jsonschema-maven-plugin:4.35.0'
1818
implementation 'com.github.victools:jsonschema-generator:4.35.0'
1919
implementation 'com.github.victools:jsonschema-module-jackson:4.35.0'
@@ -26,8 +26,6 @@ dependencies {
2626
implementation(libs.spring.context) {
2727
exclude group: 'commons-logging', module: 'commons-logging'
2828
}
29-
testImplementation(platform("org.junit:junit-bom:5.9.1"))
30-
testImplementation("org.junit.jupiter:junit-jupiter")
3129
}
3230

3331
jacocoTestCoverageVerification {

Diff for: data-prepper-plugin-schema/build.gradle

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies {
66
implementation project(':data-prepper-api')
77
implementation project(':data-prepper-plugin-framework')
88
implementation 'com.fasterxml.jackson.core:jackson-databind'
9-
implementation 'org.reflections:reflections:0.10.2'
9+
implementation libs.reflections.core
1010
implementation 'com.github.victools:jsonschema-maven-plugin:4.35.0'
1111
implementation 'com.github.victools:jsonschema-generator:4.35.0'
1212
implementation 'com.github.victools:jsonschema-module-jackson:4.35.0'
@@ -18,8 +18,6 @@ dependencies {
1818
implementation(libs.spring.context) {
1919
exclude group: 'commons-logging', module: 'commons-logging'
2020
}
21-
testImplementation(platform("org.junit:junit-bom:5.9.1"))
22-
testImplementation("org.junit.jupiter:junit-jupiter")
2321
testImplementation project(':data-prepper-plugins')
2422
}
2523

Diff for: data-prepper-plugins/aws-lambda/build.gradle

+2-5
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ dependencies {
1212
implementation 'io.micrometer:micrometer-core'
1313
implementation 'com.fasterxml.jackson.core:jackson-core'
1414
implementation 'com.fasterxml.jackson.core:jackson-databind'
15-
implementation 'software.amazon.awssdk:lambda:2.17.99'
16-
implementation 'software.amazon.awssdk:sdk-core:2.x.x'
15+
implementation 'software.amazon.awssdk:lambda'
16+
implementation 'software.amazon.awssdk:sdk-core'
1717
implementation 'software.amazon.awssdk:netty-nio-client'
1818
implementation 'software.amazon.awssdk:sts'
1919
implementation 'org.hibernate.validator:hibernate-validator:8.0.1.Final'
@@ -29,9 +29,6 @@ dependencies {
2929
testImplementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
3030
testImplementation project(':data-prepper-test-common')
3131
testImplementation testLibs.slf4j.simple
32-
testImplementation 'org.mockito:mockito-core:4.6.1'
33-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
34-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
3532
}
3633

3734
test {

0 commit comments

Comments
 (0)