MavenModel (MavenModel model, File basedir, File pomDir, MavenToken token) { MavenServerUtil.checkToken(token); try { return Maven3XProfileUtil.interpolateAndAlignModel(model, basedir, pomDir); } catch (Exception e) { throw wrapToSerializableRuntimeException(e); } }