diff -urEbwB polyglot-maven-polyglot-0.2.1/polyglot-yaml/src/main/java/org/sonatype/maven/polyglot/yaml/ModelRepresenter.java polyglot-maven-polyglot-0.2.1.new/polyglot-yaml/src/main/java/org/sonatype/maven/polyglot/yaml/ModelRepresenter.java --- polyglot-maven-polyglot-0.2.1/polyglot-yaml/src/main/java/org/sonatype/maven/polyglot/yaml/ModelRepresenter.java 2017-09-06 19:21:53.000000000 +0200 +++ polyglot-maven-polyglot-0.2.1.new/polyglot-yaml/src/main/java/org/sonatype/maven/polyglot/yaml/ModelRepresenter.java 2019-11-10 20:22:59.071312361 +0100 @@ -205,8 +205,7 @@ * Change the default order. Important data goes first. */ @Override - protected Set getProperties(Class type) - throws IntrospectionException { + protected Set getProperties(Class type) { if (type.isAssignableFrom(Model.class)) { return sortTypeWithOrder(type, ORDER_MODEL); } else if (type.isAssignableFrom(Developer.class)) { @@ -222,8 +221,7 @@ } } - private Set sortTypeWithOrder(Class type, List order) - throws IntrospectionException { + private Set sortTypeWithOrder(Class type, List order) { Set standard = super.getProperties(type); Set sorted = new TreeSet(new ModelPropertyComparator(order)); sorted.addAll(standard);