Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for beforeMojoExecution (0.11 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/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)
  4. 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)
  5. 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)
  6. 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)
Back to top