public static MavenArchetype convertArchetype(Archetype archetype) {
    return new MavenArchetype(archetype.getGroupId(),
                              archetype.getArtifactId(),
                              archetype.getVersion(),
                              archetype.getRepository(),
                              archetype.getDescription());
  }
public static MavenArchetype convertArchetype(Archetype archetype)