Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for MavenExecutionException (0.07 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/cache/MavenExecutionException.java

     *
     * @since 4.0.0
     */
    @Experimental
    public class MavenExecutionException extends MavenException {
    
        /**
         * Constructs a new MavenExecutionException with the specified cause.
         *
         * @param cause The underlying exception that caused the execution failure
         */
        public MavenExecutionException(Throwable cause) {
            super(cause);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Optional;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    import org.apache.maven.MavenExecutionException;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.ProjectActivation;
    import org.apache.maven.project.MavenProject;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                    throw new MavenExecutionException(message, request.getPom());
                }
            }
    
            return result;
        }
    
        private List<MavenProject> includeAlsoMakeTransitively(
                List<MavenProject> projects, MavenExecutionRequest request, ProjectDependencyGraph graph)
                throws MavenExecutionException {
            List<MavenProject> result = projects;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

            final MavenProject mavenProject = createMavenProject("maven-core");
            final List<MavenProject> listOfProjects = Collections.singletonList(mavenProject);
    
            final MavenExecutionException exception = assertThrows(
                    MavenExecutionException.class,
                    () -> sut.getRequiredProjectsBySelectors(mavenExecutionRequest, listOfProjects, selectors));
            assertTrue(exception.getMessage().contains("Could not find"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            callListeners(session, AbstractMavenLifecycleParticipant::afterSessionEnd);
        }
    
        @FunctionalInterface
        interface ListenerMethod {
            void run(AbstractMavenLifecycleParticipant listener, MavenSession session) throws MavenExecutionException;
        }
    
        private void callListeners(MavenSession session, ListenerMethod method) throws MavenExecutionException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon May 05 16:58:52 UTC 2025
    - 28.7K bytes
    - Viewed (1)
  6. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                            .expectResult(MavenExecutionException.class, "empty reactor"),
                    scenario("Excluded aggregator, but selected child")
                            .activeRequiredProjects(MODULE_C_1)
                            .inactiveRequiredProjects(MODULE_C)
                            .expectResult(MavenExecutionException.class, "empty reactor"),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 20:39:03 UTC 2025
    - 28K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

            private final AtomicReference<Class<?>> wsrClassRef = new AtomicReference<>(null);
    
            @Override
            public void afterProjectsRead(MavenSession session) throws MavenExecutionException {
                wsrClassRef.set(session.getRepositorySession().getWorkspaceReader().getClass());
            }
        }
    
        @Inject
        private Maven maven;
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top