MavenModel (MavenModel model, MavenModel parentModel) { // mergeModel_Properties if (null != parentModel) { Properties parentProperties = parentModel.getProperties(); Properties properties = model.getProperties(); for (Object keyObject : parentProperties.keySet()) { String key = keyObject.toString(); if (!properties.containsKey(key)) { properties.setProperty(key, parentProperties.getProperty(key)); } } } Model result = Maven40ModelConverter.toNativeModel(model).getDelegate(); Model parent = Maven40ModelConverter.toNativeModel(parentModel).getDelegate(); DefaultModelBuildingRequest request = new DefaultModelBuildingRequest(); new DefaultInheritanceAssembler().assembleModelInheritance(result, parent, request, new ModelProblemCollector() { @Override public void add(ModelProblemCollectorRequest request) { } }); return Maven40ApiModelConverter.convertModel(result); }