We should try to make the dependency to Joda an optional one (so MapStruct can be used also if Joda is not on the classpath). You could check for the presence of Joda and then doing the registration reflectively.