Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isExecutionRoot (0.12 sec)

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

        private void enrichRequestFromResumptionData(List<MavenProject> projects, MavenExecutionRequest request) {
            if (request.isResume()) {
                projects.stream()
                        .filter(MavenProject::isExecutionRoot)
                        .findFirst()
                        .ifPresent(rootProject -> buildResumptionDataRepository.applyResumptionData(request, rootProject));
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    persistResumptionData(result, session);
                    return result;
                } else {
                    session.getAllProjects().stream()
                            .filter(MavenProject::isExecutionRoot)
                            .findFirst()
                            .ifPresent(buildResumptionDataRepository::removeResumptionData);
                }
            } finally {
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                MavenProject first = projects.get(0);
                this.currentProject = ThreadLocal.withInitial(() -> first);
                this.topLevelProject = projects.stream()
                        .filter(project -> project.isExecutionRoot())
                        .findFirst()
                        .orElse(first);
            } else {
                this.currentProject = new ThreadLocal<>();
                this.topLevelProject = null;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top