Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for beforeMojoExecution (1.56 sec)

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

        private final List<MojoExecutionListener> listeners = new CopyOnWriteArrayList<>();
    
        @Override
        public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
            for (MojoExecutionListener listener : listeners) {
                listener.beforeMojoExecution(event);
            }
        }
    
        @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)
  2. impl/maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

            final AtomicInteger afterExecutionFailure = new AtomicInteger();
            final WeakMojoExecutionListener instance = new WeakMojoExecutionListener() {
                @Override
                public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
                    beforeExecution.incrementAndGet();
                }
    
                @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

                    "beforeMojoExecution project-basic:default-resources", //
                    "afterMojoExecutionSuccess project-basic:default-resources", //
                    "beforeMojoExecution project-basic:default-compile", //
                    "afterMojoExecutionSuccess project-basic:default-compile", //
                    "beforeMojoExecution project-basic:default-testResources", //
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/CompoundMojoExecutionListener.java

            this.listeners = listeners; // NB this is live injected collection
        }
    
        @Override
        public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
            for (MojoExecutionListener listener : listeners) {
                listener.beforeMojoExecution(event);
            }
        }
    
        @Override
    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/execution/scope/internal/MojoExecutionScope.java

            return MojoExecutionScope.<T>seededKeySupplier(clazz)::get;
        }
    
        @Override
        public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
            for (WeakMojoExecutionListener provided : getProvidedListeners()) {
                provided.beforeMojoExecution(event);
            }
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java

     *
     * @see org.apache.maven.execution.MojoExecutionListener
     * @since 3.1.2
     */
    public interface WeakMojoExecutionListener {
        void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterExecutionFailure(MojoExecutionEvent event);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. 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;
    
        void afterExecutionFailure(MojoExecutionEvent event);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                try {
                    MojoExecutionEvent mojoExecutionEvent = new MojoExecutionEvent(session, project, mojoExecution, mojo);
                    mojoExecutionListener.beforeMojoExecution(mojoExecutionEvent);
                    mojo.execute();
                    mojoExecutionListener.afterMojoExecutionSuccess(mojoExecutionEvent);
                } catch (ClassCastException | MavenException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 16:01:38 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top