Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for MojoExecutionListener (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionListener.java

     *
     * @see org.apache.maven.execution.scope.WeakMojoExecutionListener
     * @since 3.1.2
     */
    public interface MojoExecutionListener {
        void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/DelegatingMojoExecutionListener.java

    import org.apache.maven.execution.MojoExecutionEvent;
    import org.apache.maven.execution.MojoExecutionListener;
    import org.apache.maven.plugin.MojoExecutionException;
    
    @Named
    @Singleton
    public class DelegatingMojoExecutionListener implements MojoExecutionListener {
        private final List<MojoExecutionListener> listeners = new CopyOnWriteArrayList<>();
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java

     * <p>
     * Unlike {@link org.apache.maven.execution.MojoExecutionListener}, this extension point does not
     * trigger instantiation of the component, hence "weak" class name prefix. Only applies to mojo execution
     * scoped components.
     * </p>
     * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice.
     *
     * @see org.apache.maven.execution.MojoExecutionListener
     * @since 3.1.2
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/CompoundMojoExecutionListener.java

    import java.util.Collection;
    
    import org.apache.maven.execution.MojoExecutionEvent;
    import org.apache.maven.execution.MojoExecutionListener;
    
    class CompoundMojoExecutionListener implements MojoExecutionListener {
    
        private final Collection<MojoExecutionListener> listeners;
    
        CompoundMojoExecutionListener(Collection<MojoExecutionListener> listeners) {
            this.listeners = listeners; // NB this is live injected collection
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

        private final MojoExecutionScope scope;
        private final MojoExecutionListener mojoExecutionListener;
    
        @Inject
        public DefaultBuildPluginManager(
                MavenPluginManager mavenPluginManager,
                LegacySupport legacySupport,
                MojoExecutionScope scope,
                List<MojoExecutionListener> mojoExecutionListeners) {
            this.mavenPluginManager = mavenPluginManager;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 16:01:38 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeCoreModule.java

     * under the License.
     */
    package org.apache.maven.execution.scope.internal;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    
    import org.apache.maven.execution.MojoExecutionListener;
    
    /**
     * MojoExecutionScopeCoreModule
     */
    @Named
    public class MojoExecutionScopeCoreModule extends MojoExecutionScopeModule {
    
        @Inject
        public MojoExecutionScopeCoreModule() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionListener.java

     * </p>
     * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice.
     *
     * @see ExecutionListener
     * @see MojoExecutionListener
     * @since 3.1.2
     */
    public interface ProjectExecutionListener {
        void beforeProjectExecution(ProjectExecutionEvent event) throws LifecycleExecutionException;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

    /**
     * <p>
     * Encapsulates parameters of MojoExecutionListener callback methods and is meant to provide API evolution path should
     * it become necessary to introduce new parameters in the existing callbacks in the future.
     * </p>
     * <strong>Note:</strong> This class is part of work in progress and can be changed or removed without notice.
     *
     * @see MojoExecutionListener
     * @see org.apache.maven.execution.scope.WeakMojoExecutionListener
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

    import org.apache.maven.execution.MojoExecutionListener;
    import org.apache.maven.execution.scope.WeakMojoExecutionListener;
    import org.apache.maven.plugin.MojoExecutionException;
    
    /**
     * MojoExecutionScope
     */
    public class MojoExecutionScope extends org.apache.maven.impl.di.MojoExecutionScope
            implements Scope, MojoExecutionListener {
    
        public <T> void seed(Class<T> clazz, Provider<T> value) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

                    return Collections.emptyList();
                }
            });
    
            final List<String> log = new ArrayList<>();
    
            MojoExecutionListener mojoListener = new MojoExecutionListener() {
                @Override
                public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
                    assertNotNull(event.getSession());
    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