Skip to content

Commit

Permalink
Merge pull request #43669 from geoand/jackson-2.18
Browse files Browse the repository at this point in the history
Bump to Jackson 2.18
  • Loading branch information
geoand authored Oct 3, 2024
2 parents 9af0f74 + 91282b1 commit 2a9f27d
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<!-- GraalVM sdk 23.1.2 has a minimum JDK requirement of 17+ at runtime -->
<graal-sdk.version>23.1.2</graal-sdk.version>
<gizmo.version>1.8.0</gizmo.version>
<jackson-bom.version>2.17.2</jackson-bom.version>
<jackson-bom.version>2.18.0</jackson-bom.version>
<commons-logging-jboss-logging.version>1.0.0.Final</commons-logging-jboss-logging.version>
<commons-lang3.version>3.17.0</commons-lang3.version>
<commons-codec.version>1.17.1</commons-codec.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public JavaArchive get() {

@Test
public void test() {
RestAssured.with().contentType("application/json").body("{\"name\": \"brie\"}").put("/fromage")
RestAssured.with().contentType("application/json").body("{\"price\": \"ten\"}").put("/fromage")
.then().statusCode(400);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public JavaArchive get() {

@Test
public void test() {
RestAssured.with().contentType("application/json").body("{\"name\": \"brie\"}").put("/fromage")
RestAssured.with().contentType("application/json").body("{\"price\": \"ten\"}").put("/fromage")
.then().statusCode(406);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public JavaArchive get() {

@Test
public void test() {
RestAssured.with().contentType("application/json").body("{\"name\": \"brie\"}").put("/fromage")
RestAssured.with().contentType("application/json").body("{\"price\": \"ten\"}").put("/fromage")
.then().statusCode(999);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
package io.quarkus.resteasy.reactive.jackson.deployment.test;

public class FroMage {
public String name;
public Integer price;

// required for Jackson
// public FroMage() {}
public FroMage(String name) {
this.name = name;
public FroMage(Integer price) {
this.price = price;
}

@Override
public String toString() {
return "FroMage: " + name;
return "FroMage: " + price;
}
}
2 changes: 1 addition & 1 deletion independent-projects/extension-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<maven-core.version>3.9.9</maven-core.version>
<jackson-bom.version>2.17.2</jackson-bom.version>
<jackson-bom.version>2.18.0</jackson-bom.version>
<smallrye-beanbag.version>1.5.2</smallrye-beanbag.version>
<junit.jupiter.version>5.11.0</junit.jupiter.version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion independent-projects/resteasy-reactive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<vertx.version>4.5.9</vertx.version>
<rest-assured.version>5.5.0</rest-assured.version>
<commons-logging-jboss-logging.version>1.0.0.Final</commons-logging-jboss-logging.version>
<jackson-bom.version>2.17.2</jackson-bom.version>
<jackson-bom.version>2.18.0</jackson-bom.version>
<smallrye-stork.version>2.7.0</smallrye-stork.version>
<jakarta.validation-api.version>3.0.2</jakarta.validation-api.version>
<yasson.version>3.0.4</yasson.version>
Expand Down
2 changes: 1 addition & 1 deletion independent-projects/tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

<!-- Versions -->
<assertj.version>3.26.3</assertj.version>
<jackson-bom.version>2.17.2</jackson-bom.version>
<jackson-bom.version>2.18.0</jackson-bom.version>
<jakarta.enterprise.cdi-api.version>4.1.0</jakarta.enterprise.cdi-api.version>
<junit.version>5.11.0</junit.version>
<commons-compress.version>1.27.1</commons-compress.version>
Expand Down

0 comments on commit 2a9f27d

Please sign in to comment.