Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  4. 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<>();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

    import org.apache.maven.execution.MojoExecutionEvent;
    import org.apache.maven.execution.MojoExecutionListener;
    import org.apache.maven.execution.scope.WeakMojoExecutionListener;
    import org.apache.maven.plugin.MojoExecutionException;
    
    /**
     * MojoExecutionScope
     */
    public class MojoExecutionScope implements Scope, org.apache.maven.di.Scope, MojoExecutionListener {
        private static final Provider<Object> SEEDED_KEY_PROVIDER = () -> {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

                    return Collections.emptyList();
                }
            });
    
            final List<String> log = new ArrayList<>();
    
            MojoExecutionListener mojoListener = new MojoExecutionListener() {
                public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
                    assertNotNull(event.getSession());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 20:57:17 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top