Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for releaseMojo (0.16 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

         * look up the mojo from. <strong>Warning:</strong> The returned mojo instance must be released via
         * {@link #releaseMojo(Object, MojoExecution)} when the mojo is no longer needed to free any resources allocated for
         * it.
         *
         * @param mojoInterface The component role of the mojo, must not be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                mojoExecutionListener.afterExecutionFailure(
                        new MojoExecutionEvent(session, project, mojoExecution, mojo, e));
                throw e;
            } finally {
                mavenPluginManager.releaseMojo(mojo, mojoExecution);
                scope.exit();
                Thread.currentThread().setContextClassLoader(oldClassLoader);
                legacySupport.setSession(oldSession);
            }
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 16:01:38 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                }
            }
    
            if (!invalidParameters.isEmpty()) {
                throw new PluginParameterException(mojoDescriptor, invalidParameters);
            }
        }
    
        @Override
        public void releaseMojo(Object mojo, MojoExecution mojoExecution) {
            if (mojo != null) {
                try {
                    container.release(mojo);
                } catch (ComponentLifecycleException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
Back to top