Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for GetPlugin (0.21 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

        }
    
        @Override
        public void configure(MavenProject project, MojoExecution mojoExecution, boolean allowPluginLevelConfig) {
            String g = mojoExecution.getPlugin().getGroupId();
    
            String a = mojoExecution.getPlugin().getArtifactId();
    
            Plugin plugin = findPlugin(g, a, project.getBuildPlugins());
    
            if (plugin == null && project.getPluginManagement() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. 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() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/PluginNotFoundException.java

                    plugin.getVersion(),
                    "maven-plugin",
                    null,
                    remoteRepositories,
                    null);
            this.plugin = plugin;
        }
    
        public Plugin getPlugin() {
            return plugin;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionPlanItem.java

        }
    
        public String getLifecyclePhase() {
            return mojoExecution.getLifecyclePhase();
        }
    
        public Plugin getPlugin() {
            final MojoDescriptor mojoDescriptor = getMojoExecution().getMojoDescriptor();
            return mojoDescriptor.getPluginDescriptor().getPlugin();
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  5. 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();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

                    new PluginParameterExpressionEvaluatorV4(session, null, exec).evaluate("${mojo.plugin.descriptor}");
    
            System.out.println("Result: " + result);
    
            assertSame(
                    exec.getPlugin().getDescriptor(),
                    result,
                    "${mojo.plugin.descriptor} expression does not return plugin descriptor.");
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/CycleDetectedInPluginGraphException.java

            super("A cycle was detected in the component graph of the plugin: " + plugin.getArtifactId());
    
            this.plugin = plugin;
        }
    
        public Plugin getPlugin() {
            return plugin;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  8. cni/pkg/util/pluginutil.go

    	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) {
    	plugin, ok := rawPlugin.(map[string]any)
    	if !ok {
    		err = fmt.Errorf("error reading plugin from CNI config plugin list")
    		return
    	}
    	return
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            MojoDescriptor mojoDescriptor = execution.getMojoDescriptor();
    
            if (mojoDescriptor == null) {
                mojoDescriptor = pluginManager.getMojoDescriptor(
                        execution.getPlugin(),
                        execution.getGoal(),
                        project.getRemotePluginRepositories(),
                        session.getRepositorySession());
    
                execution.setMojoDescriptor(mojoDescriptor);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/PluginResolutionException.java

            super(
                    "Plugin " + plugin.getId() + " or one of its dependencies could not be resolved: " + cause.getMessage(),
                    cause);
            this.plugin = plugin;
        }
    
        public Plugin getPlugin() {
            return plugin;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top