Package org.sonatype.nexus.proxy.maven.metadata.operations

Examples of org.sonatype.nexus.proxy.maven.metadata.operations.PluginOperand


        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);
View Full Code Here


      Metadata md = new Metadata();

      List<MetadataOperation> ops = new ArrayList<MetadataOperation>();

      for (Plugin plugin : metadataHelper.gData.get(path)) {
        ops.add(new AddPluginOperation(new PluginOperand(ModelVersionUtility.LATEST_MODEL_VERSION, plugin)));
      }

      MetadataBuilder.changeMetadata(md, ops);

      return md;
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.proxy.maven.metadata.operations.PluginOperand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.