Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for ProjectBuildingResult (0.12 sec)

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

    /**
     * Collects the output of the project builder.
     *
     * @deprecated use {@code org.apache.maven.api.services.ProjectBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ProjectBuildingResult {
    
        /**
         * Gets the identifier of the project that could not be built. The general format of the identifier is {@code
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

        private MavenProject findChildProject(List<ProjectBuildingResult> results) {
            for (ProjectBuildingResult result : results) {
                if (result.getPomFile().getParentFile().getName().equals("child")) {
                    return result.getProject();
                }
            }
            return null;
        }
    
        private void assertResultShowNoError(List<ProjectBuildingResult> results) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java

        }
    
        private static String createMessage(List<ProjectBuildingResult> results) {
            if (results == null || results.isEmpty()) {
                return "Some problems were encountered while processing the POMs";
            }
    
            long totalProblems = 0;
            long errorProblems = 0;
    
            for (ProjectBuildingResult result : results) {
                List<ModelProblem> problems = result.getProblems();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jul 26 19:15:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageAssert.java

     */
    class ProjectBuildingResultWithProblemMessageAssert {
        private final ProjectBuildingResult actual;
    
        ProjectBuildingResultWithProblemMessageAssert(ProjectBuildingResult actual) {
            this.actual = actual;
        }
    
        public static ProjectBuildingResultWithProblemMessageAssert assertThat(ProjectBuildingResult actual) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingExceptionTest.java

     */
    @SuppressWarnings("deprecation")
    class ProjectBuildingExceptionTest {
    
        @Test
        void testDetailedExceptionMessageWithMultipleProblems() {
            List<ProjectBuildingResult> results = new ArrayList<>();
    
            List<ModelProblem> problems1 = new ArrayList<>();
            Collections.addAll(
                    problems1,
                    new DefaultModelProblem(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jul 26 19:15:57 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithLocationAssert.java

     */
    class ProjectBuildingResultWithLocationAssert {
        private final ProjectBuildingResult actual;
    
        ProjectBuildingResultWithLocationAssert(ProjectBuildingResult actual) {
            this.actual = actual;
        }
    
        public static ProjectBuildingResultWithLocationAssert assertThat(ProjectBuildingResult actual) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java

         * @return The result of the project building, never {@code null}.
         * @throws ProjectBuildingException If the project descriptor could not be successfully built.
         */
        ProjectBuildingResult build(File projectFile, ProjectBuildingRequest request) throws ProjectBuildingException;
    
        /**
         * Builds a project descriptor for the specified artifact.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.java

            boolean isRecursive = hasProjectSelection || request.isRecursive();
            List<ProjectBuildingResult> results = projectBuilder.build(files, isRecursive, projectBuildingRequest);
    
            List<MavenProject> projects = new ArrayList<>(results.size());
    
            long totalProblemsCount = 0;
    
            for (ProjectBuildingResult result : results) {
                projects.add(result.getProject());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Sep 30 08:09:09 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                        return exception.getResults().stream()
                                .filter(projectsOutsideOfRequestScope)
                                .flatMap(projectBuildingResult -> projectBuildingResult.getProblems().stream())
                                .map(ModelProblem::getException)
                                .filter(pluginArtifactNotFoundException)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            }
        }
    
        @Override
        public ProjectBuildingResult build(ModelSource modelSource, ProjectBuildingRequest request)
                throws ProjectBuildingException {
            try (BuildSession bs = new BuildSession(request)) {
                return bs.build(false, null, modelSource);
            }
        }
    
        @Override
        public ProjectBuildingResult build(Artifact artifact, ProjectBuildingRequest request)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
Back to top