Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addBuildSummary (0.25 sec)

  1. maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzerTest.java

            MavenProject project = createMavenProject(artifactId);
            executionResult.addBuildSummary(new BuildSuccess(project, 0));
            return project;
        }
    
        private MavenProject createFailedMavenProject(String artifactId) {
            MavenProject project = createMavenProject(artifactId);
            executionResult.addBuildSummary(new BuildFailure(project, 0, new Exception()));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java

        BuildSummary getBuildSummary(MavenProject project);
    
        /**
         * Add the specified build summary.
         *
         * @param summary The build summary to add, must not be {@code null}.
         */
        void addBuildSummary(BuildSummary summary);
    
        /**
         * Indicates whether or not the build could be resumed by a second invocation of Maven.
         * @see BuildResumptionDataRepository
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

            return !getExceptions().isEmpty();
        }
    
        public BuildSummary getBuildSummary(MavenProject project) {
            return buildSummaries.get(project);
        }
    
        public void addBuildSummary(BuildSummary summary) {
            buildSummaries.put(summary.getProject(), summary);
        }
    
        @Override
        public boolean canResume() {
            return canResume;
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

                projectExecutionListener.afterProjectExecutionSuccess(
                        new ProjectExecutionEvent(session, currentProject, mojoExecutions));
    
                reactorContext.getResult().addBuildSummary(new BuildSuccess(currentProject, buildEndTime - buildStartTime));
    
                eventCatapult.fire(ExecutionEvent.Type.ProjectSucceeded, session, null);
            } catch (Throwable t) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            // record the error and mark the project as failed
            long buildEndTime = System.currentTimeMillis();
            buildContext.getResult().addException(t);
            buildContext.getResult().addBuildSummary(new BuildFailure(mavenProject, buildEndTime - buildStartTime, t));
    
            // notify listeners about "soft" project build failures only
            if (t instanceof Exception && !(t instanceof RuntimeException)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
Back to top