properties);
sortVersionable(model.getReporting().getPlugins().getPlugin());
} catch (NullPointerException e) {
}
Properties p = model.getProperties();
if (p == null) {
p = new Properties();
model.setProperties(p);
}
addProperties(p, properties);
Collections.sort(p.getAny(), new Comparator<Element>() {
@Override
public int compare(Element o1, Element o2) {
return o1.getTagName().compareToIgnoreCase(o2.getTagName());
}
});