fix scala plugin configuration