Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getCollectionErrors (0.09 sec)

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

        /**
         * Gets the errors that occurred while building the dependency graph.
         *
         * @return The errors that occurred while building the dependency graph, never {@code null}.
         */
        List<Exception> getCollectionErrors();
    
        /**
         * Gets the errors that occurred while resolving the specified dependency.
         *
         * @param dependency The dependency for which to retrieve the errors, must not be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java

                for (Exception e : exceptions) {
                    msg.append("\t").append(e.getMessage()).append(System.lineSeparator());
                }
            }
    
            for (Exception exception : result.getCollectionErrors()) {
                msg.append(exception.getMessage()).append(System.lineSeparator());
                if (exception.getCause() != null) {
                    msg.append("\tCaused by: ")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/DefaultDependencyResolutionResult.java

        }
    
        @Override
        public List<Dependency> getUnresolvedDependencies() {
            return unresolvedDependencies;
        }
    
        @Override
        public List<Exception> getCollectionErrors() {
            return collectionErrors;
        }
    
        public void setCollectionErrors(List<Exception> exceptions) {
            if (exceptions != null) {
                this.collectionErrors = exceptions;
            } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                        return Optional.ofNullable(res.getDependencyResolutionResult())
                                .map(r -> new DefaultDependencyResolverResult(
                                        null, r.getCollectionErrors(), session.getNode(r.getDependencyGraph()), 0));
                    }
                };
            } catch (ProjectBuildingException e) {
                throw new ProjectBuilderException("Unable to build project", e);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Sep 13 09:44:11 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top