Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ProjectBuildingException (0.66 sec)

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

     * @deprecated use {@code org.apache.maven.api.services.ProjectBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jul 26 19:15:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. compat/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,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. impl/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;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/InvalidPluginException.java

     */
    package org.apache.maven.plugin;
    
    import org.apache.maven.project.ProjectBuildingException;
    import org.apache.maven.project.artifact.InvalidDependencyVersionException;
    
    /**
     * Thrown when a plugin is not internally consistent.
     *
     */
    public class InvalidPluginException extends Exception {
        public InvalidPluginException(String message, ProjectBuildingException e) {
            super(message, e);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingExceptionTest.java

                    new DefaultProjectBuildingResult("com.example:project2:1.0", new File("project2/pom.xml"), problems2);
            results.add(result2);
    
            ProjectBuildingException exception = new ProjectBuildingException(results);
            String message = exception.getMessage();
    
            assertTrue(
                    message.contains("3 problems were encountered while processing the POMs (2 errors)"),
    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/main/java/org/apache/maven/project/collector/PomlessCollectionStrategy.java

    import org.apache.maven.model.building.UrlModelSource;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectBuilder;
    import org.apache.maven.project.ProjectBuildingException;
    import org.apache.maven.project.ProjectBuildingRequest;
    
    /**
     * Strategy to collect projects for building when the Maven invocation is not in a directory that contains a pom.xml.
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. impl/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;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. impl/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;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. impl/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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/MavenExecutionException.java

    import java.io.File;
    
    import org.apache.maven.project.ProjectBuildingException;
    
    /**
     */
    public class MavenExecutionException extends Exception {
        private File pomFile;
    
        public MavenExecutionException(String message, File pomFile) {
            super(message);
            this.pomFile = pomFile;
        }
    
        public MavenExecutionException(String message, File pomFile, ProjectBuildingException cause) {
            super(message, cause);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top