Better properties handling for replacements in POM, changed group definitions for new style