Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 436 for Problem (0.07 sec)

  1. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuildingResult.java

        private List<Problem> problems;
    
        /**
         * Default constructor
         *
         * @param effectiveToolchains the merged toolchains, may not be {@code null}
         * @param problems the problems while building the effectiveToolchains, if any.
         */
        public DefaultToolchainsBuildingResult(PersistedToolchains effectiveToolchains, List<Problem> problems) {
            this.effectiveToolchains = effectiveToolchains;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

     */
    package org.apache.maven.model.building;
    
    import org.apache.maven.model.Model;
    
    /**
     * 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.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                    }
    
                    private BuilderProblem toProblem(ModelProblem problem) {
                        return new BuilderProblem() {
                            @Override
                            public String getSource() {
                                return problem.getSource();
                            }
    
                            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingResult.java

         *
         * @return The assembled toolchains, never {@code null}.
         */
        PersistedToolchains getEffectiveToolchains();
    
        /**
         * Return a list of problems, if any.
         *
         * @return a list of problems, never {@code null}.
         */
        List<Problem> getProblems();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

                writer.print(modelId);
            }
    
            for (ModelProblem problem : problems) {
                writer.println();
                writer.print("    - [");
                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                String location = ModelProblemUtils.formatLocation(problem, modelId);
                if (!location.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    if (!modelResult.getProblems().isEmpty()) {
                        List<ModelProblem> problems = modelResult.getProblems();
                        if (logger.isDebugEnabled()) {
                            String problem = (problems.size() == 1) ? "problem" : "problems";
                            String problemPredicate = problem + ((problems.size() == 1) ? " was" : " were");
                            String message = String.format(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. docs/en/docs/help-fastapi.md

    ### Suggest solutions
    
    * After being able to understand the question, you can give them a possible **answer**.
    
    * In many cases, it's better to understand their **underlying problem or use case**, because there might be a better way to solve it than what they are trying to do.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                };
            } else {
                return null;
            }
        }
    
        private List<Problem> convert(List<BuilderProblem> problems) {
            ProblemCollector collector = ProblemCollectorFactory.newInstance(null);
            problems.forEach(p -> collector.add(
                    Problem.Severity.valueOf(p.getSeverity().name()),
                    p.getMessage(),
                    p.getLineNumber(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

            writer.print(problems.size());
            writer.print((problems.size() == 1) ? " problem was " : " problems were ");
            writer.print("encountered while building the effective settings");
            writer.println();
    
            for (SettingsProblem problem : problems) {
                writer.print("[");
                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. 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 {@link 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
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top