Skip to content

gitter-badger/mapstruct-examples

 
 

Repository files navigation

MapStruct Examples

This repository contains examples showing how to use MapStruct, a Java annotation processor for the generation of type-safe bean mapping classes.

Currently, the following examples exist:

  • mapstruct-on-gradle: Shows how to use MapStruct in Gradle based projects; To build the example project, run ./gradlew clean build on the command line
  • mapstruct-lombok: Shows how to use MapStruct together with Lombok; To build the example project, run mvn clean install on the command line
  • _mapstruct-iterable-non-iterable: Shows how by means of a mapper util class conversions can be made from an iterable- to its non-iterable element

License

The examples in this project are licensed under the Apache License, Version 2.0.

About

Examples for using MapStruct

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%