Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getMojo (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                String phase = mojoDescriptor.getExecutePhase();
                // We have a fork goal
                if (forkedGoal != null && !forkedGoal.isEmpty()) {
                    MojoDescriptor forkedMojoDescriptor = pluginDescriptor.getMojo(forkedGoal);
                    if (forkedMojoDescriptor == null) {
                        throw new MavenException(new MojoNotFoundException(forkedGoal, pluginDescriptor));
                    }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                        InvalidPluginDescriptorException {
            PluginDescriptor pluginDescriptor = getPluginDescriptor(plugin, repositories, session);
    
            MojoDescriptor mojoDescriptor = pluginDescriptor.getMojo(goal);
    
            if (mojoDescriptor == null) {
                throw new MojoNotFoundException(goal, pluginDescriptor);
            }
    
            return mojoDescriptor;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertTrue(pd.isInheritedByDefault(), "Expected " + pd + ".isInheritedByDefault() to return true");
            assertEquals(2, pd.getMojos().size());
            assertEquals(1, pd.getDependencies().size());
    
            MojoDescriptor md = pd.getMojos().get(0);
    
            assertEquals("jar", md.getGoal());
            assertEquals("mojo-description", md.getDescription());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

            InputLocation location = DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_INPUT_LOCATION;
    
            List<LifecycleMojo> mojos = goals.getMojos();
            if (mojos != null) {
                for (int i = 0; i < mojos.size(); i++) {
                    LifecycleMojo mojo = mojos.get(i);
    
                    // Compute goal coordinates
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

            InputLocation location = new InputLocation(-1, -1, inputSource);
            location.setLocation(0, location);
    
            List<LifecycleMojo> mojos = goals.getMojos();
            if (mojos != null) {
    
                for (int i = 0; i < mojos.size(); i++) {
                    LifecycleMojo mojo = mojos.get(i);
    
                    GoalSpec gs = parseGoalSpec(mojo.getGoal());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

            if (unknownParameters.isEmpty()) {
                return;
            }
    
            // second step get parameter names of all plugin goals
            Set<String> parametersNamesAll = mojoDescriptor.getPluginDescriptor().getMojos().stream()
                    .flatMap(m -> m.getParameters().stream())
                    .flatMap(this::getParameterNames)
                    .collect(Collectors.toSet());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top