[maven] Avoid "Schema unaliasing" INFO-spam on the Maven console (#6687)

This commit is contained in:
Falko Modler
2020-06-21 13:19:35 +02:00
committed by GitHub
parent 195b376f48
commit 313d205f56

View File

@@ -1026,7 +1026,7 @@ public class ModelUtils {
if (schema != null && StringUtils.isNotEmpty(schema.get$ref())) {
String simpleRef = ModelUtils.getSimpleRef(schema.get$ref());
if (importMappings.containsKey(simpleRef)) {
LOGGER.info("Schema unaliasing of {} omitted because aliased class is to be mapped to {}", simpleRef, importMappings.get(simpleRef));
LOGGER.debug("Schema unaliasing of {} omitted because aliased class is to be mapped to {}", simpleRef, importMappings.get(simpleRef));
return schema;
}
Schema ref = allSchemas.get(simpleRef);