fixed generation of archetype XML to use the overidden version