Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.orika-mapper:orika:1.5.0-beta0'
}
dependencies {
implementation("com.github.orika-mapper:orika:1.5.0-beta0")
}
<dependency>
<groupId>com.github.orika-mapper</groupId>
<artifactId>orika</artifactId>
<version>1.5.0-beta0</version>
</dependency>
libraryDependencies += "com.github.orika-mapper" % "orika" % "1.5.0-beta0"
:dependencies [[com.github.orika-mapper/orika "1.5.0-beta0"]]
NEW We are pleased to announce the release of Orika 1.5.4 ! This version is available on Maven central repository
Orika is a Java Bean mapping framework that recursively copies (among other capabilities) data from one object to another. It can be very useful when developing multi-layered applications.
Struggling with hand coded and reflection-based mappers? Orika can be used to simplify the process of mapping between one object layer and another.
Our ambition is to build a comprehensive, efficient and robust Java bean mapping solution. Orika focuses on automating as much as possible, while providing customization through configuration and extension where needed.
Orika enables the developer to :
Orika uses byte code generation to create fast mappers with minimal overhead.
Want to give Orika a try? Check out our new User Guide
YourKit supports Orika with its full-featured Java Profiler. Take a look at YourKit's leading software products: <a href="http://www.yourkit.com/java/profiler/index.jsp">YourKit Java Profiler</a>. <img src="https://www.yourkit.com/images/yklogo.png" title="YourKit">
<strong><a href="https://www.jetbrains.com/?from=Orika">JetBrains</a></strong> kindly provides Orika with a free open-source licence for their IntelliJ IDEA Ultimate edition. <img src="https://camo.githubusercontent.com/a93f3a50613d2f7f26ca3cc70505e16921d6001b/687474703a2f2f7777772e6a6574627261696e732e636f6d2f696d672f6c6f676f732f6c6f676f5f696e74656c6c696a5f696465612e706e67">