Metadata gMd = locator.retrieveGMetadata(request);
Plugin pluginElem = locator.extractPluginElementFromPom(request);
if (pluginElem != null) {
operations.add(new AddPluginOperation(new PluginOperand(
ModelVersionUtility.getModelVersion(gMd), pluginElem)));
MetadataBuilder.changeMetadata(gMd, operations);
locator.storeGMetadata(request, gMd);