It seems in version MapStruct 1.3.0-Final theres an issue with builders and fields that begin with the word set such as settlement or setup.
Example (with lombok)
Source:
@Builder
public class Foo {
private String setup;
private LocalDate settlement;
}
Target:
@Builder
public class Bar {
private String setup;
private LocalDate settlement;
}
Neither of these fields are mapped. But I did get it to work by adding
@Mapping(source = "settlement", target = "tlement")
@Mapping(source = "setup", target = "up")