Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 397 for Problem (0.2 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Describes a problem that was encountered during model building. A problem can either be an exception that was thrown
     * or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits
     * the problem.
     *
     */
    public interface ModelProblem extends BuilderProblem {
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Aug 07 14:31:13 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

                file.forEachLine(Charsets.UTF_8) {
                    val (version, _, problem, relativePath, lineNumber) = it.split(';')
                    byCategory.getOrPut(toCategory(version, file.nameWithoutExtension)) {
                        mutableMapOf()
                    }.getOrPut(file.nameWithoutExtension) {
                        mutableSetOf()
                    }.add(Problem(name = problem, relativePath = relativePath, lineNumber = lineNumber.toInt()))
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. docs/en/docs/help-fastapi.md

    Here's what to keep in mind and how to review a pull request:
    
    ### Understand the problem { #understand-the-problem }
    
    * First, make sure you **understand the problem** that the pull request is trying to solve. It might have a longer discussion in a GitHub Discussion or issue.
    
    * There's also a good chance that the pull request is not actually needed because the problem can be solved in a **different way**. Then you can suggest or ask about that.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

            }
    
            return toolchains;
        }
    
        private boolean hasErrors(List<Problem> problems) {
            if (problems != null) {
                for (Problem problem : problems) {
                    if (Problem.Severity.ERROR.compareTo(problem.getSeverity()) >= 0) {
                        return true;
                    }
                }
            }
    
            return false;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

         * @param severity The severity level of the problem, may be {@code null} to default to
         *            {@link org.apache.maven.building.Problem.Severity#ERROR}.
         * @param source A hint about the source of the problem like a file path, may be {@code null}.
         * @param lineNumber The one-based index of the line containing the problem or {@code -1} if unknown.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblemCollector.java

         * @param line The one-based index of the line containing the problem or {@code -1} if unknown.
         * @param column The one-based index of the column containing the problem or {@code -1} if unknown.
         * @param cause The cause of the problem, may be {@code null}.
         */
        void add(SettingsProblem.Severity severity, String message, int line, int column, Exception cause);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

    import org.apache.maven.api.model.Model;
    
    /**
     * Collects problems that are encountered during model building. The primary purpose of this component is to account for
     * the fact that the problem reporter has/should not have information about the calling context and hence cannot provide
     * an expressive source hint for the model problem. Instead, the source hint is configured by the model builder before
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 19 14:50:21 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollector.java

     * providing a simple error message, leaving the donkey work of creating a nice model problem to this component.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelProblemCollector {
    
        /**
         * Adds the specified problem.
         *
         * @param req must not be null
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

         * @return The formatted problem location or an empty string if unknown, never {@code null}.
         */
        public static String formatLocation(ModelProblem problem, String projectId) {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!problem.getModelId().equals(projectId)) {
                buffer.append(problem.getModelId());
    
                if (!problem.getSource().isEmpty()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

         * @param problems the collection of problems to include in the message
         * @return a formatted message including details of all problems
         */
        protected static String buildMessage(String message, ProblemCollector<BuilderProblem> problems) {
            StringBuilder msg = new StringBuilder(message);
            problems.problems().forEach(problem -> msg.append("\n * ")
                    .append(problem.getSeverity().name())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top