Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for PluginContainerException (0.1 sec)

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

     * look up the plugin; and the Plexus exception that caused this error.
     *
     *
     */
    public class PluginContainerException extends PluginManagerException {
    
        private ClassRealm pluginRealm;
    
        public PluginContainerException(
                MojoDescriptor mojoDescriptor, ClassRealm pluginRealm, String message, Throwable e) {
            super(mojoDescriptor, message, e);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

    import java.util.concurrent.atomic.AtomicReference;
    
    import org.apache.maven.model.Plugin;
    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.plugin.MojoExecutionException;
    import org.apache.maven.plugin.PluginContainerException;
    import org.apache.maven.plugin.PluginExecutionException;
    import org.apache.maven.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    import org.junit.jupiter.api.Test;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

                    throw pluginResolutionException;
                }
                if (e.getCause() instanceof PluginContainerException pluginContainerException) {
                    throw pluginContainerException;
                }
                throw e;
            }
        }
    
        @Override
        public CacheRecord put(Key key, ClassRealm pluginRealm, List<Artifact> pluginArtifacts) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java

         */
        interface Key {
            // marker interface for cache keys
        }
    
        @FunctionalInterface
        interface PluginRealmSupplier {
            CacheRecord load() throws PluginResolutionException, PluginContainerException;
        }
    
        Key createKey(
                Plugin plugin,
                ClassLoader parentRealm,
                Map<String, ClassLoader> foreignImports,
                DependencyFilter dependencyFilter,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                            + e.getClass().getName() + ": " + cause.getMessage());
                    pluginRealm.display(ps);
    
                    throw new PluginContainerException(mojoDescriptor, pluginRealm, os.toString(), cause);
                }
    
                throw new PluginContainerException(
                        mojoDescriptor,
                        pluginRealm,
                        "Unable to load the mojo '" + mojoDescriptor.getGoal()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

                MavenSession session,
                ClassLoader parent,
                List<String> imports,
                DependencyFilter filter)
                throws PluginResolutionException, PluginContainerException;
    
        /**
         * Sets up class realm for the specified build extensions plugin.
         *
         * @since 3.3.0
         */
        ExtensionRealmCache.CacheRecord setupExtensionsRealm(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                } catch (RuntimeException e) {
                    throw new PluginExecutionException(mojoExecution, project, e);
                }
            } catch (MavenException e) {
                throw e;
            } catch (PluginContainerException e) {
                mojoExecutionListener.afterExecutionFailure(
                        new MojoExecutionEvent(session, project, mojoExecution, mojo, 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)
  8. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    import org.apache.maven.model.building.ModelProblemUtils;
    import org.apache.maven.plugin.AbstractMojoExecutionException;
    import org.apache.maven.plugin.MojoExecutionException;
    import org.apache.maven.plugin.PluginContainerException;
    import org.apache.maven.plugin.PluginExecutionException;
    import org.apache.maven.project.ProjectBuildingException;
    import org.apache.maven.project.ProjectBuildingResult;
    
    /*
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top