Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for MojoExecutionEvent (0.22 sec)

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

     * @since 3.1.2
     */
    public class MojoExecutionEvent {
        private final MavenSession session;
    
        private final MavenProject project;
    
        private final MojoExecution mojoExecution;
    
        private final Mojo mojo;
    
        private final Throwable cause;
    
        public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java

     * @since 3.1.2
     */
    public interface WeakMojoExecutionListener {
        void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterExecutionFailure(MojoExecutionEvent event);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/CompoundMojoExecutionListener.java

        }
    
        public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
            for (MojoExecutionListener listener : listeners) {
                listener.beforeMojoExecution(event);
            }
        }
    
        public void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException {
            for (MojoExecutionListener listener : listeners) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/lifecycle/DelegatingMojoExecutionListener.java

        public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
            for (MojoExecutionListener listener : listeners) {
                listener.beforeMojoExecution(event);
            }
        }
    
        public void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException {
            for (MojoExecutionListener listener : listeners) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  5. 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 e) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

                @Override
                public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
                    beforeExecution.incrementAndGet();
                }
    
                @Override
                public void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException {
                    afterExecutionSuccess.incrementAndGet();
                }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

    import java.util.List;
    
    import org.apache.maven.AbstractCoreMavenComponentTestCase;
    import org.apache.maven.api.xml.XmlNode;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.MojoExecutionEvent;
    import org.apache.maven.execution.MojoExecutionListener;
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.execution.ProjectExecutionEvent;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/MojoExecutionListener.java

     * @since 3.1.2
     */
    public interface MojoExecutionListener {
        void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterExecutionFailure(MojoExecutionEvent event);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

        }
    
        public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
            for (WeakMojoExecutionListener provided : getProvidedListeners()) {
                provided.beforeMojoExecution(event);
            }
        }
    
        public void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.2K bytes
    - Viewed (0)
Back to top