Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 445 for exception (0.19 sec)

  1. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            Plugin plugin = new Plugin();
            Exception cause = new PluginContainerException(plugin, null, null, cause2);
            PluginDescriptor pluginDescriptor = new PluginDescriptor();
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setPluginDescriptor(pluginDescriptor);
            MojoExecution mojoExecution = new MojoExecution(mojoDescriptor);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        @BeforeEach
        void setUp() throws Exception {
            testDirectory = new File(getBasedir(), BASE_POM_DIR);
            new File(getBasedir(), BASE_MIXIN_DIR);
            EmptyLifecycleBindingsInjector.useEmpty();
        }
    
        /**
         * Will throw exception if url is empty. MNG-4050
         *
         * @throws Exception in case of issue
         */
        @Test
        void testEmptyUrl() throws Exception {
            buildPom("empty-distMng-repo-url");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/PluginContainerException.java

    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    import org.codehaus.plexus.component.repository.exception.ComponentRepositoryException;
    import org.codehaus.plexus.configuration.PlexusConfigurationException;
    
    /**
     * Exception which occurs to indicate that the plugin cannot be initialized due
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

        public void metadataInvalid(RepositoryEvent event) {
            Exception exception = event.getException();
    
            Object metadata;
            if (event.getMetadata().getFile() != null) {
                metadata = event.getMetadata().getFile();
            } else {
                metadata = event.getMetadata();
            }
    
            String errorType = " is invalid";
            if (exception instanceof FileNotFoundException) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

        /**
         * Gets the current mojo execution (if any).
         *
         * @return The current mojo execution or {@code null} if not applicable.
         */
        MojoExecution getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return The exception or {@code null} if none.
         */
        Exception getException();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

         */
        public ProjectModelResolverTest() {
            super();
        }
    
        @Test
        void testResolveParentThrowsUnresolvableModelExceptionWhenNotFound() throws Exception {
            final Parent parent = new Parent();
            parent.setGroupId("org.apache");
            parent.setArtifactId("apache");
            parent.setVersion("0");
    
            UnresolvableModelException e = assertThrows(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java

        private final MojoExecution mojoExecution;
    
        private final Exception exception;
    
        DefaultExecutionEvent(Type type, MavenSession session, MojoExecution mojoExecution, Exception exception) {
            this.type = type;
            this.session = session;
            this.mojoExecution = mojoExecution;
            this.exception = exception;
        }
    
        @Override
        public Type getType() {
            return type;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/LookupException.java

    /**
     * The Exception class throw by the {@link Lookup} service.
     *
     * @since 4.0.0
     */
    @Experimental
    public class LookupException extends MavenException {
    
        public LookupException(String message) {
            super(message);
        }
    
        /**
         * @param message the message to give
         * @param e the {@link Exception}
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

        protected void createLocalArtifact(Artifact artifact) throws Exception {
            createArtifact(artifact, localRepository());
        }
    
        protected void createRemoteArtifact(Artifact artifact) throws Exception {
            createArtifact(artifact, remoteRepository());
        }
    
        protected void createArtifact(Artifact artifact, ArtifactRepository repository) throws Exception {
            String path = repository.pathOf(artifact);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

    import org.apache.maven.configuration.internal.EnhancedComponentConfigurator;
    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    import org.apache.maven.execution.DefaultMavenExecutionResult;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.internal.impl.*;
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
Back to top