Adds required properties to Maven plugin settings.

This is likely a problem for Gradle as well but we currently are not using it, so we can not test.