Hey Axel,
We are really glad that you like the project.
Thanks for the example project. Currently MapStruct is not able to create immutable types through a constructor. We have issue
#73 for such support.
Calling Mappers.getMapper is only meant if you are using the default component model. In case of Spring you would have to use injections to get a hold of your mappers.
You have multiple choices going forward:
* Use an abstract class as your mapper. In this class you can inject your other mapper through a setter and then use it from there
* Use a builder
In case you use a builder in 1.2.0.Final you would have to map against the builder. However, starting from the next 1.3.0.Beta1 release (that should come out soon) there will be out of the box support for builders.
The only thing that you would need to do is to make sure that there is a single public static parameterless method on your type.
I hope this helps you. In case you have any other questions feel free to ask them here or in our
gitter chat.
Cheers,
Filip