Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for BuildFailure (0.14 sec)

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

    package org.apache.maven.execution;
    
    import java.time.Duration;
    
    import org.apache.maven.project.MavenProject;
    
    /**
     * Summarizes the result of a failed project build in the reactor.
     *
     */
    public class BuildFailure extends BuildSummary {
    
        /**
         * The cause of the build failure.
         */
        private final Throwable cause;
    
        /**
         * Creates a new build summary for the specified project.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

            buildFailuresByProject.put(getProjectKey(project), new BuildFailure(project, time, error));
        }
    
        public void registerBuildFailure(MavenProject project, Exception error, String task, Duration time) {
            buildFailuresByProject.put(getProjectKey(project), new BuildFailure(project, time, error));
        }
    
        public boolean hasBuildFailures() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java

            }
    
            List<String> remainingProjects = sortedProjects.stream()
                    .filter(project -> result.getBuildSummary(project) == null
                            || result.getBuildSummary(project) instanceof BuildFailure)
                    .map(project -> project.getGroupId() + ":" + project.getArtifactId())
                    .collect(Collectors.toList());
    
            if (remainingProjects.isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzerTest.java

            return project;
        }
    
        private MavenProject createFailedMavenProject(String artifactId) {
            MavenProject project = createMavenProject(artifactId);
            executionResult.addBuildSummary(new BuildFailure(project, 0, new Exception()));
            executionResult.addException(new LifecycleExecutionException("", project));
            return project;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top