avoid returning empty data
add a modernizer maven plugin build profile
start fixing issues reported by modernizer maven plugin