Moved MappingAdapter to its own class, it should solve Maven compilation
issues