Examples of uninstallPlugin()


Examples of com.gitblit.manager.IGitblit.uninstallPlugin()

      PluginWrapper pluginWrapper = getPlugin(id);
      if (pluginWrapper == null) {
        throw new UnloggedFailure(String.format("Plugin %s is not installed!", id));
      }

      if (gitblit.uninstallPlugin(pluginWrapper.getPluginId())) {
        stdout.println(String.format("Uninstalled %s", pluginWrapper.getPluginId()));
      } else {
        throw new UnloggedFailure(1, String.format("Failed to uninstall %s", pluginWrapper.getPluginId()));
      }
    }
View Full Code Here

Examples of org.apache.maven.plugin.PluginManager.uninstallPlugin()

        checkAttribute( artifactId, "artifactId" );

        PluginManager manager = getMavenContext().getMavenSession().getPluginManager();
        try
        {
            manager.uninstallPlugin( artifactId );
        }
        catch ( IOException e )
        {
            throw new JellyTagException( "error uninstalling plugin", e );
        }
View Full Code Here

Examples of org.apache.maven.plugin.PluginManager.uninstallPlugin()

        checkAttribute( artifactId, "artifactId" );

        PluginManager manager = getMavenContext().getMavenSession().getPluginManager();
        try
        {
            manager.uninstallPlugin( artifactId );
        }
        catch ( IOException e )
        {
            throw new JellyTagException( "error uninstalling plugin", e );
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.