Skip to content

Commit

Permalink
Merge branch 'release/0.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
jangalinski committed Oct 21, 2022
2 parents 0ae6af3 + 4c95a66 commit 596cdc9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

A jackson-module that allows serializing and deserializing generated avro specific record instances with the jackson ObjectMapper.

[![stable](https://img.shields.io/badge/lifecycle-STABLE-green.svg)](https://github.com/holisticon#open-source-lifecycle)
[![Build Status](https://github.com/toolisticon/jackson-avro-module/workflows/Development%20branches/badge.svg)](https://github.com/toolisticon/jackson-avro-module/actions)
[![sponsored](https://img.shields.io/badge/sponsoredBy-Holisticon-RED.svg)](https://holisticon.de/)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.toolisticon.jackson.module/jackson-avro-module/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.toolisticon.jackson.module/jackson-avro-module)
Expand All @@ -14,7 +15,7 @@ that can not be serialized by the default jackson ObjectMapper.
## Non working workarounds

* avro itself provides a `JacksonUtils` class that can ignore fields based on visibility. Problem: The feature is hidden and modifies the global `ObjectMapper`, so a change only required for `SpecificRecordBase` classes will affect all.
* jackson on the other hand provides the `com.fasterxml.jackson.dataformat.avro.AvroSerializerModifier`, but this one just ignores (current version 2.13.1) just one of the two needed properties.
* jackson on the other hand provides the `com.fasterxml.jackson.dataformat.avro.AvroSerializerModifier`, but this one just ignores (current version 2.13.4) just one of the two needed properties.

## The solution

Expand Down
20 changes: 11 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,38 @@

<groupId>io.toolisticon.jackson.module</groupId>
<artifactId>jackson-avro-module</artifactId>
<version>0.1.2</version>
<version>0.1.3</version>
<name>${project.artifactId}</name>
<description>Serialize/Deserialize generated avro records to/from json using jackson objectMapper</description>
<url>https://github.com/toolisticon/jackson-avro-module/</url>

<properties>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<kotlin.version>1.6.10</kotlin.version>
<kotlin-logging.version>2.1.21</kotlin-logging.version>
<kotlin.version>1.7.20</kotlin.version>
<kotlin-logging.version>3.0.2</kotlin-logging.version>
<java.version>11</java.version>

<avro.version>1.11.0</avro.version>
<jackson.version>2.13.1</jackson.version>
<avro.version>1.11.1</avro.version>
<jackson.version>2.13.4</jackson.version>

<!-- TEST -->
<junit5.version>5.8.2</junit5.version>
<junit5.version>5.9.1</junit5.version>
<mockito.version>4.0.0</mockito.version>
<assertj.version>3.22.0</assertj.version>
<slf4j.version>1.7.36</slf4j.version>
<assertj.version>3.23.1</assertj.version>
<slf4j.version>2.0.3</slf4j.version>
</properties>

<dependencyManagement>
<dependencies>
<!-- KOTLIN -->
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-bom</artifactId>
<version>${kotlin.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<!-- JACKSON -->
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
Expand Down Expand Up @@ -358,7 +360,7 @@
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
<version>1.6.10</version>
<version>1.7.20</version>
<executions>
<execution>
<phase>package</phase>
Expand Down

0 comments on commit 596cdc9

Please sign in to comment.