*/
public static void resolveAliases(List classMappings, Collection grailsDomainClasses, CompassConfiguration compassConfiguration) {
// resolve aliases, faking plugin class mappings for those classes already mapped by annotations/xml
List tempClassMappings = new ArrayList(classMappings);
try {
CompassMapping mapping = (CompassMapping) new FieldInvoker(CompassConfiguration.class, "mapping").prepare().get(compassConfiguration);
AliasMapping[] mappings = mapping.getMappings();
for (int i = 0; i < mappings.length; i++) {
AliasMapping am = mappings[i];
if (am instanceof ClassMapping) {
ClassMapping cm = (ClassMapping) am;
CompassClassMapping dummyMapping = new CompassClassMapping();