This mapstruct example shows, how to implement a mapping from a model with a type hierarchy using Mapstruct @InheritConfiguration on MapperConfigs.
Please check the mapstruct documentation.
- compile the application by run
mvn clean install
- starting the application in your IDE using the main class
de.bitgrip.mapstruct.example.Application.java
- starting the application with the builded jar using bash:
java -jar target/complex-example-1.0-SNAPSHOT-jar-with-dependencies.jar
- maven 3
- access to public repositories