Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for ProjectBuildingException (0.43 sec)

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

     */
    package org.apache.maven.project;
    
    import java.io.File;
    import java.util.List;
    
    /**
     */
    public class ProjectBuildingException extends Exception {
        private final String projectId;
    
        private File pomFile;
    
        private List<ProjectBuildingResult> results;
    
        public ProjectBuildingException(String projectId, String message, Throwable cause) {
            super(createMessage(message, projectId, null), cause);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                if (normalized) {
                    return repos;
                }
            }
    
            return (List<ArtifactRepository>) repositories;
        }
    
        private ProjectBuildingException transformError(ProjectBuildingException e) {
            if (e.getCause() instanceof ModelBuildingException) {
                return new InvalidProjectModelException(e.getProjectId(), e.getMessage(), e.getPomFile());
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/project/MavenProjectBuilder.java

        MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository) throws ProjectBuildingException;
    
        MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager)
                throws ProjectBuildingException;
    
        MavenProject buildWithDependencies(
                File pom,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                    "src/test/resources/projects/parent-version-range-local-child-without-version/child/pom.xml");
    
            ProjectBuildingException e = assertThrows(
                    ProjectBuildingException.class,
                    () -> getProject(f1),
                    "Expected 'ProjectBuildingException' not thrown.");
            assertThat(e.getResults(), contains(projectBuildingResultWithProblemMessage("Version must be a constant")));
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 15:04:04 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/collector/ProjectsSelector.java

         * @return A list of projects that have been found in the specified POM files.
         * @throws ProjectBuildingException In case the POMs are not used.
         */
        List<MavenProject> selectProjects(List<File> files, MavenExecutionRequest request) throws ProjectBuildingException;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/collector/ProjectCollectionStrategy.java

    import org.apache.maven.project.ProjectBuildingException;
    
    /**
     * Describes strategies for finding projects that Maven could build.
     */
    public interface ProjectCollectionStrategy {
        /**
         *
         * @param request
         * @return
         * @throws ProjectBuildingException
         */
        List<MavenProject> collectProjects(MavenExecutionRequest request) throws ProjectBuildingException;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java

         *         {@code null}.
         * @throws ProjectBuildingException If an error was encountered during building of any project.
         *             {@link ProjectBuildingException#getResults()} provides access to the details of the problems.
         */
        List<ProjectBuildingResult> build(List<File> pomFiles, boolean recursive, ProjectBuildingRequest request)
                throws ProjectBuildingException;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.java

    import org.apache.maven.model.building.ModelProblemUtils;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectBuilder;
    import org.apache.maven.project.ProjectBuildingException;
    import org.apache.maven.project.ProjectBuildingRequest;
    import org.apache.maven.project.ProjectBuildingResult;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                throws ProjectBuildingException {
            try (BuildSession bs = new BuildSession(request, false)) {
                return bs.build(null, modelSource);
            }
        }
    
        @Override
        public ProjectBuildingResult build(Artifact artifact, ProjectBuildingRequest request)
                throws ProjectBuildingException {
            return build(artifact, false, request);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/collector/RequestPomCollectionStrategy.java

    import java.io.File;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectBuildingException;
    
    /**
     * Strategy to collect projects based on the <code>-f</code> CLI parameter or the pom.xml in the working directory.
     */
    @Named("RequestPomCollectionStrategy")
    @Singleton
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.9K bytes
    - Viewed (0)
Back to top