Skip to content

Commit

Permalink
Bump com.fasterxml.jackson.core:jackson-databind from 2.15.3 to 2.16.0 (
Browse files Browse the repository at this point in the history
#129)

* Bump com.fasterxml.jackson.core:jackson-databind from 2.15.3 to 2.16.0

Bumps [com.fasterxml.jackson.core:jackson-databind](https://github.com/FasterXML/jackson) from 2.15.3 to 2.16.0.
- [Commits](https://github.com/FasterXML/jackson/commits)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Checking if setting include_source_... to true fixes the builds

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rishi Baldawa <baldawar@amazon.com>
  • Loading branch information
dependabot[bot] and baldawar authored Nov 23, 2023
1 parent 18306a5 commit f8b8f94
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<properties>
<jdk.version>1.8</jdk.version>
<jackson.version>2.15.3</jackson.version>
<jackson.version>2.16.0</jackson.version>
<jsr.version>3.0.2</jsr.version>
<junit.version>4.13.2</junit.version>
<compiler.plugin.version>3.11.0</compiler.plugin.version>
Expand Down
9 changes: 4 additions & 5 deletions src/main/software/amazon/event/ruler/JsonRuleCompiler.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package software.amazon.event.ruler;

import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.jackson.core.*;
import software.amazon.event.ruler.input.ParseException;

import java.io.IOException;
Expand Down Expand Up @@ -50,7 +47,9 @@
*/
public class JsonRuleCompiler {

private static final JsonFactory JSON_FACTORY = new JsonFactory();
private static final JsonFactory JSON_FACTORY = JsonFactory.builder()
.configure(StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION, true)
.build();

private JsonRuleCompiler() { }

Expand Down
9 changes: 4 additions & 5 deletions src/main/software/amazon/event/ruler/RuleCompiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
import java.util.Map;
import java.util.Set;

import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.jackson.core.*;
import software.amazon.event.ruler.input.ParseException;

import static software.amazon.event.ruler.input.DefaultParser.getParser;
Expand All @@ -33,7 +30,9 @@
*/
public final class RuleCompiler {

private static final JsonFactory JSON_FACTORY = new JsonFactory();
private static final JsonFactory JSON_FACTORY = JsonFactory.builder()
.configure(StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION, true)
.build();

private RuleCompiler() {
throw new UnsupportedOperationException("You can't create instance of utility class.");
Expand Down

0 comments on commit f8b8f94

Please sign in to comment.