use correct scopes and versions in generated POMs