Multiple fixes for maven archetype.