Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getMojos (0.06 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        }
    
        public MojoDescriptor getMojo(String goal) {
            if (getMojos() == null) {
                return null; // no mojo in this POM
            }
    
            // TODO could we use a map? Maybe if the parent did that for components too, as this is too vulnerable to
            // changes above not being propagated to the map
            for (MojoDescriptor desc : getMojos()) {
                if (goal.equals(desc.getGoal())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                }
    
                pluginDescriptor.setClassRealm(pluginRealm);
                pluginDescriptor.setArtifacts(pluginArtifacts);
            } else {
                boolean v4api = pluginDescriptor.getMojos().stream().anyMatch(MojoDescriptor::isV4Api);
                Map<String, ClassLoader> foreignImports = calcImports(project, parent, imports, v4api);
    
                PluginRealmCache.Key cacheKey = pluginRealmCache.createKey(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                            MojoDescriptor forkedMojoDescriptor;
    
                            if (goal.indexOf(':') < 0) {
                                forkedMojoDescriptor = pluginDescriptor.getMojo(goal);
                                if (forkedMojoDescriptor == null) {
                                    throw new MojoNotFoundException(goal, pluginDescriptor);
                                }
                            } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top