Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getMojoExecution (0.08 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                init();
                logger.info("");
    
                MessageBuilder buffer = builder().strong(">>> ");
                append(buffer, event.getMojoExecution());
                buffer.strong(" > ");
                appendForkInfo(buffer, event.getMojoExecution().getMojoDescriptor());
                append(buffer, event.getProject());
                buffer.strong(" >>>");
    
                logger.info(buffer.toString());
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                init();
                logger.info("");
    
                MessageBuilder buffer = builder().strong(">>> ");
                append(buffer, event.getMojoExecution());
                buffer.strong(" > ");
                appendForkInfo(buffer, event.getMojoExecution().getMojoDescriptor());
                append(buffer, event.getProject());
                buffer.strong(" >>>");
    
                logger.info(buffer.toString());
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 15:40:45 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

        public Optional<Project> getProject() {
            return Optional.ofNullable(session.getProject(delegate.getProject()));
        }
    
        @Override
        public Optional<MojoExecution> getMojoExecution() {
            return Optional.ofNullable(delegate.getMojoExecution()).map(me -> new DefaultMojoExecution(session, me));
        }
    
        @Override
        public Optional<Exception> getException() {
            return Optional.ofNullable(delegate.getException());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 29 20:53:26 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionPlanItem.java

            }
            return result;
        }
    
        public MojoExecution getMojoExecution() {
            return mojoExecution;
        }
    
        public String getLifecyclePhase() {
            return mojoExecution.getLifecyclePhase();
        }
    
        public Plugin getPlugin() {
            final MojoDescriptor mojoDescriptor = getMojoExecution().getMojoDescriptor();
            return mojoDescriptor.getPluginDescriptor().getPlugin();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

        public List<MojoExecution> getMojoExecutions() {
            List<MojoExecution> result = new ArrayList<>();
            for (ExecutionPlanItem executionPlanItem : planItem) {
                result.add(executionPlanItem.getMojoExecution());
            }
            return result;
        }
    
        /**
         * Get set of plugins having a goal/mojo used but not marked @threadSafe
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java

            return session;
        }
    
        @Override
        public MavenProject getProject() {
            return session.getCurrentProject();
        }
    
        @Override
        public MojoExecution getMojoExecution() {
            return mojoExecution;
        }
    
        @Override
        public Exception getException() {
            return exception;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginExecutionException.java

            super(mojoExecution.getMojoDescriptor(), project, constructMessage(mojoExecution, cause), cause);
            this.mojoExecution = mojoExecution;
        }
    
        public MojoExecution getMojoExecution() {
            return mojoExecution;
        }
    
        private static String constructMessage(MojoExecution mojoExecution, Throwable cause) {
            String message;
    
            if (mojoExecution != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

         */
        MavenProject getProject();
    
        /**
         * Gets the current mojo execution (if any).
         *
         * @return The current mojo execution or {@code null} if not applicable.
         */
        MojoExecution getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return The exception or {@code null} if none.
         */
        Exception getException();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 29 20:53:26 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java

            logger.debug("Repositories (plugins)     : " + currentProject.getRemotePluginRepositories());
    
            for (ExecutionPlanItem mojoExecution : executionPlan) {
                debugMojoExecution(mojoExecution.getMojoExecution());
            }
    
            logger.debug("=======================================================================");
        }
    
        private void debugMojoExecution(MojoExecution mojoExecution) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

            List<MojoExecution> result = new ArrayList<>();
            for (ExecutionPlanItem executionPlanItem : mavenExecutionPlan) {
                result.add(executionPlanItem.getMojoExecution());
            }
            return result;
        }
    
        // We need to take in multiple lifecycles
        @Test
    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