Examples of addPlugin()


Examples of jNab.core.bunny.Bunny.addPlugin()

    continue;
      }

      // Adding plugin
      plugin.setBunny(bunny);
      bunny.addPlugin(plugin);
  }

  return bunny;
    }
View Full Code Here

Examples of kameleon.plugin.PlugInManager.addPlugIn()

            else if (args[i].equals(Argument.PLUGIN.getValue()) && nArgs > i + Argument.PLUGIN.getnParameters()) {
                launchGui = false;
                PlugInManager pm = new PlugInManager(this.debugMode);

                WorkSpaceManager.ensureWorkSpace();
                pm.addPlugIn(args[i + 1]);
                i++ ;
            } else {
                // display usage
                launchGui = false;
                Main.displayUsage();
View Full Code Here

Examples of org.apache.archiva.model.ArchivaRepositoryMetadata.addPlugin()

            {
                Plugin p = new Plugin();
                p.setPrefix( plugin.elementTextTrim( "prefix" ) );
                p.setArtifactId( plugin.elementTextTrim( "artifactId" ) );
                p.setName( plugin.elementTextTrim( "name" ) );
                metadata.addPlugin( p );
            }

            return metadata;
        }
        catch ( XMLException e )
View Full Code Here

Examples of org.apache.geronimo.system.plugin.Farm.addPlugin()

            if (clusterName != null && pluginList != null && plugin != null) {
                results = farm.addPluginToCluster(clusterName, pluginList, plugin);
            } else if (clusterName != null && pluginList != null) {
                results = farm.addPluginList(clusterName, pluginList);
            } else if (pluginList != null && plugin != null) {
                results = farm.addPlugin(pluginList, plugin);
            } else {
                println("add requires -c <cluster> and -l <plugin list name>, -l <plugin list name> and -a <plugin>, or all three");
                return null;
            }
        } else if (action == "remove") {
View Full Code Here

Examples of org.apache.log4j.plugins.PluginRegistry.addPlugin()

      Plugin p1 = new Generator("Generator 1");
      Plugin p2 = new Generator("Generator 2");
      Plugin p3 = new Generator("Generator 3");
     
      PluginRegistry pluginRegistry = LogManager.getLoggerRepository().getPluginRegistry();
      pluginRegistry.addPlugin(p1);
      p1.activateOptions();
      pluginRegistry.addPlugin(p2);
      p2.activateOptions();
      pluginRegistry.addPlugin(p3);
      p3.activateOptions();
View Full Code Here

Examples of org.apache.maven.archiva.model.ArchivaRepositoryMetadata.addPlugin()

            {
                Plugin p = new Plugin();
                p.setPrefix( plugin.elementTextTrim( "prefix" ) );
                p.setArtifactId( plugin.elementTextTrim( "artifactId" ) );
                p.setName( plugin.elementTextTrim( "name" ) );
                metadata.addPlugin( p );
            }

            return metadata;
        }
        catch ( XMLException e )
View Full Code Here

Examples of org.apache.maven.artifact.repository.metadata.Metadata.addPlugin()

    {
      final Plugin plugin = new Plugin();
      plugin.setArtifactId("bar-maven-plugin");
      plugin.setPrefix("bar");
      plugin.setName("Bar plugin");
      md.addPlugin(plugin);
    }

    // new plugin addition
    {
      final Plugin plugin1 = new Plugin();
View Full Code Here

Examples of org.apache.maven.model.Build.addPlugin()

        Dependency dep = createDependency( "group", "artifact", "1.0" );

        plugin.addDependency( dep );

        build.addPlugin( plugin );

        new ProjectSorter( Collections.singletonList( project ) );
    }

    public void testShouldNotFailWhenManagedPluginDepReferencesCurrentProject()
View Full Code Here

Examples of org.apache.maven.model.Build.addPlugin()

        plugin.addDependency( createDependency( pluginLevelDepProject ) );

        Build build = declaringProject.getModel().getBuild();

        build.addPlugin( plugin );

        projects = new ProjectSorter( projects ).getSortedProjects();

        assertEquals( parentProject, projects.get( 0 ) );
View Full Code Here

Examples of org.apache.maven.model.Build.addPlugin()

        plugin.addDependency( createDependency( pluginLevelDepProject ) );

        Build build = parentProject.getModel().getBuild();

        build.addPlugin( plugin );

        projects = new ProjectSorter( projects ).getSortedProjects();

        System.out.println( projects );
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.