Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 67 for mojoExecution (0.08 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

        public Map<String, Object> getPluginContext(Project project) {
            requireNonNull(project, "project" + " cannot be null");
            try {
                MojoExecution mojoExecution = lookup.lookup(MojoExecution.class);
                MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
                PluginDescriptor pluginDescriptor = mojoDescriptor.getPluginDescriptor();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MojoExecutionConfigurator.java

        /**
         * Create the MojoExecution configuration based on configuration for a Mojo in the MavenProject and the
         * default configuration for the Mojo from the containing plugin's plugin.xml descriptor.
         *
         * @param project
         * @param mojoExecution
         * @param allowPluginLevelConfig
         */
        void configure(MavenProject project, MojoExecution mojoExecution, boolean allowPluginLevelConfig);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseRecorder.java

        private final MavenProject project;
    
        public PhaseRecorder(MavenProject project) {
            this.project = project;
        }
    
        public void observeExecution(MojoExecution mojoExecution) {
            String lifecyclePhase = mojoExecution.getLifecyclePhase();
    
            if (lifecyclePhase != null) {
                PhaseId phaseId = PhaseId.of(lifecyclePhase);
                if (lastLifecyclePhase == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java

        private final MavenProject project;
    
        private final List<MojoExecution> executionPlan;
    
        private final Throwable cause;
    
        public ProjectExecutionEvent(MavenSession session, MavenProject project) {
            this(session, project, null, null);
        }
    
        public ProjectExecutionEvent(MavenSession session, MavenProject project, List<MojoExecution> executionPlan) {
            this(session, project, executionPlan, null);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

                List<MojoExecution> mojoExecutions = executionPlan.getMojoExecutions();
    
                projectExecutionListener.beforeProjectLifecycleExecution(
                        new ProjectExecutionEvent(session, currentProject, mojoExecutions));
                mojoExecutor.execute(session, mojoExecutions);
    
                Instant buildEndTime = MonotonicClock.now();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultMojosExecutionStrategy.java

    @Singleton
    public class DefaultMojosExecutionStrategy implements MojosExecutionStrategy {
        @Override
        public void execute(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoRunner)
                throws LifecycleExecutionException {
            for (MojoExecution mojoExecution : mojos) {
                mojoRunner.run(mojoExecution);
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            }
        }
    
        @Override
        public void releaseMojo(Object mojo, MojoExecution mojoExecution) {
            if (mojo != null) {
                try {
                    container.release(mojo);
                } catch (ComponentLifecycleException e) {
                    String goalExecId = mojoExecution.getGoal();
    
                    if (mojoExecution.getExecutionId() != null) {
                        logger.debug(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            MojoDescriptor mojo = new MojoDescriptor();
            mojo.setPluginDescriptor(pluginDescriptor);
            mojo.setGoal("goal");
    
            MojoExecution mojoExecution = new MojoExecution(mojo);
    
            return new PluginParameterExpressionEvaluator(session, mojoExecution);
        }
    
        protected Artifact createArtifact(String groupId, String artifactId, String version) throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilderTest.java

            MojoExecutorStub mojoExecutor = new MojoExecutorStub() {
                @Override
                public void execute(MavenSession session, List<MojoExecution> mojoExecutions)
                        throws LifecycleExecutionException {
                    super.execute(session, mojoExecutions);
                    currentProjects.add(session.getCurrentProject());
                }
            };
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

    public class DefaultMojoExecution implements MojoExecution {
        private final InternalMavenSession session;
        private final org.apache.maven.plugin.MojoExecution delegate;
    
        public DefaultMojoExecution(InternalMavenSession session, org.apache.maven.plugin.MojoExecution delegate) {
            this.session = session;
            this.delegate = delegate;
        }
    
        public org.apache.maven.plugin.MojoExecution getDelegate() {
            return delegate;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top