Spring Boot Integration

We provide the dozer-spring-boot-starter for integrating spring boot application since 6.2.0. If you are using Apache Maven, simply copy-paste this dependency to your project.

Note

For details for Spring Framewrok Integration, please see here.

pom.xml
<dependency>
    <groupId>com.github.dozermapper</groupId>
    <artifactId>dozer-spring-boot-starter</artifactId>
    <version>{dozer-version}</version>
</dependency>

You can specify any custom dozer mapping files in your application properties or yml.

application.properties
dozer.mapping-files=classpath*:/*mapping.xml
application.yml
dozer:
  mapping-files: classpath*:/*mapping.xml

results matching ""

    No results matching ""