Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for getPlugin (0.16 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

        public org.apache.maven.plugin.MojoExecution getDelegate() {
            return delegate;
        }
    
        @Override
        public Plugin getPlugin() {
            return new Plugin() {
                @Override
                public org.apache.maven.api.model.Plugin getModel() {
                    return delegate.getPlugin().getDelegate();
                }
    
                @Override
                public PluginDescriptor getDescriptor() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java

     * expressions.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface MojoExecution {
    
        @Nonnull
        Plugin getPlugin();
    
        @Nonnull
        PluginExecution getModel();
    
        @Nonnull
        MojoDescriptor getDescriptor();
    
        @Nonnull
        String getExecutionId();
    
        @Nonnull
        String getGoal();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. cni/pkg/util/pluginutil.go

    func GetPlugins(cniConfigMap map[string]any) (plugins []any, err error) {
    	plugins, ok := cniConfigMap["plugins"].([]any)
    	if !ok {
    		err = fmt.Errorf("error reading plugin list from CNI config")
    		return
    	}
    	return
    }
    
    // Given the raw plugin interface, return the plugin asserted as a map[string]interface{}
    func GetPlugin(rawPlugin any) (plugin map[string]any, err error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. cni/pkg/install/install.go

    			}
    			// Find Istio CNI and remove from plugin list
    			plugins, err := util.GetPlugins(cniConfigMap)
    			if err != nil {
    				return fmt.Errorf("%s: %w", in.cniConfigFilepath, err)
    			}
    			for i, rawPlugin := range plugins {
    				plugin, err := util.GetPlugin(rawPlugin)
    				if err != nil {
    					return fmt.Errorf("%s: %w", in.cniConfigFilepath, err)
    				}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. cni/pkg/install/cniconfig.go

    			"plugins":    plugins,
    		}
    	} else {
    		// Assume it is a network list file
    		newMap = existingMap
    		plugins, err := util.GetPlugins(newMap)
    		if err != nil {
    			return nil, fmt.Errorf("existing CNI config: %v", err)
    		}
    
    		for i, rawPlugin := range plugins {
    			plugin, err := util.GetPlugin(rawPlugin)
    			if err != nil {
    				return nil, fmt.Errorf("existing CNI plugin: %v", err)
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        }
    
        public String getRequiredJavaVersion() {
            return requiredJavaVersion;
        }
    
        public void setPlugin(Plugin plugin) {
            this.plugin = plugin;
        }
    
        public Plugin getPlugin() {
            return plugin;
        }
    
        public Artifact getPluginArtifact() {
            return pluginArtifact;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. cni/test/install_cni.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Find Istio CNI and remove from plugin list
    	plugins, err := util.GetPlugins(cniConfigMap)
    	if err != nil {
    		t.Fatal(err)
    	}
    	for i, rawPlugin := range plugins {
    		plugin, err := util.GetPlugin(rawPlugin)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if plugin["type"] == "istio-cni" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

            Model.Builder builder = Model.newBuilder(model);
    
            Build build = model.getBuild();
            if (build != null) {
                List<Plugin> plugins = build.getPlugins();
                Map<Object, Plugin> normalized = new LinkedHashMap<>(plugins.size() * 2);
    
                for (Plugin plugin : plugins) {
                    Object key = plugin.getKey();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultPluginConfigurationExpander.java

            Build build = model.getBuild();
    
            if (build != null) {
                expand(build.getPlugins());
    
                PluginManagement pluginManagement = build.getPluginManagement();
    
                if (pluginManagement != null) {
                    expand(pluginManagement.getPlugins());
                }
            }
        }
    
        private void expand(List<Plugin> plugins) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

            plugin.setArtifactId(pluginInfo.artifactId);
            plugin.setName(pluginInfo.name);
            result.getPlugins().add(plugin);
            return result;
        }
    
        @Override
        protected void merge(Metadata recessive) {
            List<Plugin> recessivePlugins = recessive.getPlugins();
            List<Plugin> plugins = metadata.getPlugins();
            if (!recessivePlugins.isEmpty() || !plugins.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top