Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for MavenExecutionException (0.11 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/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)
  6. 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)
  7. 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)
  8. 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