Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for MavenExecutionException (0.07 sec)

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

    import org.apache.maven.project.ProjectBuildingException;
    
    /**
     */
    public class MavenExecutionException extends Exception {
        private File pomFile;
    
        public MavenExecutionException(String message, File pomFile) {
            super(message);
            this.pomFile = pomFile;
        }
    
        public MavenExecutionException(String message, File pomFile, ProjectBuildingException cause) {
            super(message, cause);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. 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)
  3. impl/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

         * before they are sorted and actual build execution starts.
         *
         * @param session the Maven session
         * @throws MavenExecutionException in case of issue
         */
        public void afterProjectsRead(MavenSession session) throws MavenExecutionException {
            // do nothing
        }
    
        /**
         * Invoked after MavenSession instance has been created.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. impl/maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java

    import java.util.List;
    import java.util.Map;
    
    /**
     * Signals a collision of two or more projects with the same g:a:v during a reactor build.
     *
     */
    public class DuplicateProjectException extends MavenExecutionException {
    
        private Map<String, List<File>> collisions;
    
        /**
         * Creates a new exception with specified details.
         *
         * @param message The message text, may be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/InternalErrorException.java

     * under the License.
     */
    package org.apache.maven;
    
    /**
     * Signals an internal error in Maven itself, e.g. a programming bug.
     *
     */
    public class InternalErrorException extends MavenExecutionException {
    
        public InternalErrorException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top