Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public MojoExecution getExecution() {
            return mojoExecution;
        }
    
        public Mojo getMojo() {
            return mojo;
        }
    
        public Throwable getCause() {
            return cause;
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  3. 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 {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  4. 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
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/mapping/LifecyclePhaseTest.java

        @Test
        void testSet() {
            LifecyclePhase phase = new LifecyclePhase();
            assertNull(phase.getMojos());
    
            phase.set("");
            assertNotNull(phase.getMojos());
            assertEquals(0, phase.getMojos().size());
    
            phase.set("jar:jar, war:war");
    
            List<LifecycleMojo> mojos = phase.getMojos();
            assertNotNull(mojos);
            assertEquals(2, mojos.size());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java

    public class LifecyclePhase {
    
        private List<LifecycleMojo> mojos;
    
        public LifecyclePhase() {}
    
        public LifecyclePhase(String goals) {
            set(goals);
        }
    
        public List<LifecycleMojo> getMojos() {
            return mojos;
        }
    
        public void setMojos(List<LifecycleMojo> mojos) {
            this.mojos = mojos;
        }
    
        public void set(String goals) {
            mojos = new ArrayList<>();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    new InputSource(DefaultLifecyclePluginAnalyzer.DEFAULTLIFECYCLEBINDINGS_MODELID, null);
            InputLocation location = new InputLocation(-1, -1, inputSource, 0);
    
            List<LifecycleMojo> mojos = goals.getMojos();
            if (mojos != null) {
                for (int i = 0; i < mojos.size(); i++) {
                    LifecycleMojo mojo = mojos.get(i);
    
                    // Compute goal coordinates
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. 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());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

            inputSource.setModelId(DEFAULTLIFECYCLEBINDINGS_MODELID);
            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());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top