Skip to content

Commit 8e1155e

Browse files
committed
upgrade various libraries to more recent versions
1 parent d8c18bf commit 8e1155e

File tree

4 files changed

+19
-18
lines changed

4 files changed

+19
-18
lines changed

build.gradle

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -228,17 +228,17 @@ ext.lib = [
228228
spring_test: "org.springframework:spring-test:5.3.39",
229229

230230
// Maven
231-
maven_model: "org.apache.maven:maven-model:3.8.1",
232-
maven_invoker: "org.apache.maven.shared:maven-invoker:3.1.0",
231+
maven_model: "org.apache.maven:maven-model:3.9.10",
232+
maven_invoker: "org.apache.maven.shared:maven-invoker:3.3.0",
233233

234234
// Parsers
235-
gson: "com.google.code.gson:gson:2.10.1",
236-
woodstox_core: "com.fasterxml.woodstox:woodstox-core:6.2.6",
237-
xmlunit: "xmlunit:xmlunit:1.5",
238-
yamlbeans: "com.esotericsoftware.yamlbeans:yamlbeans:1.15",
239-
javaparser_core: "com.github.javaparser:javaparser-core:3.25.6",
240-
jackson: "com.fasterxml.jackson.core:jackson-annotations:2.13.5",
241-
jackson_databind: "com.fasterxml.jackson.core:jackson-databind:2.13.5",
235+
gson: "com.google.code.gson:gson:2.13.1",
236+
woodstox_core: "com.fasterxml.woodstox:woodstox-core:6.7.0",
237+
xmlunit: "xmlunit:xmlunit:1.6",
238+
yamlbeans: "com.esotericsoftware.yamlbeans:yamlbeans:1.17",
239+
javaparser_core: "com.github.javaparser:javaparser-core:3.26.4",
240+
jackson: "com.fasterxml.jackson.core:jackson-annotations:2.19.0",
241+
jackson_databind: "com.fasterxml.jackson.core:jackson-databind:2.19.0",
242242

243243
// Drivers
244244
lightcouch: "org.lightcouch:lightcouch:0.1.8",
@@ -247,9 +247,9 @@ ext.lib = [
247247
annotations: "com.google.code.findbugs:annotations:3.0.0",
248248
classgraph: "io.github.classgraph:classgraph:4.8.107",
249249
commons_io: "commons-io:commons-io:2.9.0",
250-
commons_lang3: "org.apache.commons:commons-lang3:3.12.0",
251-
commons_collections4: "org.apache.commons:commons-collections4:4.4",
252-
guava: "com.google.guava:guava:32.1.3-jre",
250+
commons_lang3: "org.apache.commons:commons-lang3:3.17.0",
251+
commons_collections4: "org.apache.commons:commons-collections4:4.5.0",
252+
guava: "com.google.guava:guava:33.4.8-jre",
253253
jopt_simple: "net.sf.jopt-simple:jopt-simple:5.0.4",
254254
plexus_utils: "org.codehaus.plexus:plexus-utils:3.2.1",
255255
reflections: "org.reflections:reflections:0.10.2",
@@ -260,6 +260,7 @@ ext.lib = [
260260
//for async log4j2 logging
261261
disruptor: "com.lmax:disruptor:3.4.4",
262262
logback_classic: "ch.qos.logback:logback-classic:1.3.15",
263+
263264
zip4j: "net.lingala.zip4j:zip4j:2.11.5",
264265
version_compare :"io.github.g00fy2:versioncompare:1.4.1",
265266

@@ -268,8 +269,8 @@ ext.lib = [
268269

269270
// Tests
270271
hamcrest: "org.hamcrest:hamcrest-core:1.3",
271-
javassist: "org.javassist:javassist:3.28.0-GA",
272-
objenesis: "org.objenesis:objenesis:2.2",
272+
javassist: "org.javassist:javassist:3.30.2-GA",
273+
objenesis: "org.objenesis:objenesis:3.4",
273274
testng: "org.testng:testng:6.14.2",
274275
mockito_all: "org.mockito:mockito-all:1.10.19",
275276
powermock_module_testng: "org.powermock:powermock-module-testng:1.6.5",

butterfly-utilities/src/test/java/com/paypal/butterfly/utilities/conditions/pom/PomDependencyExistsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void invalidXmlFileTest() {
7575
Assert.assertEquals(executionResult.getException().getMessage(), "Exception happened when checking if POM dependency xmlunit:xmlunit exists in /src/main/resources/dogs.yaml");
7676
Assert.assertNotNull(executionResult.getException().getCause());
7777
Assert.assertEquals(executionResult.getException().getCause().getClass(), XmlPullParserException.class);
78-
Assert.assertEquals(executionResult.getException().getCause().getMessage(), "only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T... @1:1) ");
78+
Assert.assertEquals(executionResult.getException().getCause().getMessage(), "only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T... @1:2) ");
7979
}
8080

8181
}

butterfly-utilities/src/test/java/com/paypal/butterfly/utilities/conditions/pom/PomHasParentTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void testPomHasParentInvalidXmlFile() {
5353
Assert.assertEquals(executionResult.getException().getMessage(), "Exception occurred while checking if parent POM exists in /src/main/resources/dogs.yaml");
5454
Assert.assertNotNull(executionResult.getException().getCause());
5555
Assert.assertEquals(executionResult.getException().getCause().getClass(), XmlPullParserException.class);
56-
Assert.assertEquals(executionResult.getException().getCause().getMessage(), "only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T... @1:1) ");
56+
Assert.assertEquals(executionResult.getException().getCause().getMessage(), "only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T... @1:2) ");
5757
}
5858

5959
@Test
@@ -72,7 +72,7 @@ public void testPomHasParentIoException() {
7272
Assert.assertEquals(executionResult.getException().getMessage(), "Exception occurred while checking if parent POM exists in /src/main/resources/dogs.yaml");
7373
Assert.assertNotNull(executionResult.getException().getCause());
7474
Assert.assertEquals(executionResult.getException().getCause().getClass(), XmlPullParserException.class);
75-
Assert.assertEquals(executionResult.getException().getCause().getMessage(), "only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T... @1:1) ");
75+
Assert.assertEquals(executionResult.getException().getCause().getMessage(), "only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T... @1:2) ");
7676
}
7777

7878
}

butterfly-utilities/src/test/java/com/paypal/butterfly/utilities/conditions/pom/PomParentMatchTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void testPomParentMatchInvalidXmlFile() {
7575
Assert.assertEquals(executionResult.getException().getMessage(), "Exception occurred while checking if Maven POM file /src/main/resources/dogs.yaml has a parent artifact 'com.test:foo-parent'");
7676
Assert.assertNotNull(executionResult.getException().getCause());
7777
Assert.assertEquals(executionResult.getException().getCause().getClass(), XmlPullParserException.class);
78-
Assert.assertEquals(executionResult.getException().getCause().getMessage(), "only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T... @1:1) ");
78+
Assert.assertEquals(executionResult.getException().getCause().getMessage(), "only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T... @1:2) ");
7979
}
8080

8181
}

0 commit comments

Comments
 (0)