We need to add Jackson for Kotlin dependencies for Maven projects. In fact, we need a Kotlin standard library on our pom.xml. Also, we need to put jackson-module-kotlin, it allows us to work with JSON on Kotlin, there are some differences from Java in these parts.
This part is pretty simple, and we will add these following dependencies in the dependencies sections in pom.xml. The dependencies are as follows:
<dependency> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>jackson-module-kotlin</artifactId> <version>${jackson.version}</version></dependency>
Now, we have the dependencies configured, and we can set the plugins to compile the Kotlin source code. In the next section, we will do that.