Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 276 for setMessage (0.1 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                        .setMessage("Non-parseable POM " + modelSource.getLocation() + ": " + e.getMessage())
                        .setException(e));
                throw problems.newModelBuildingException();
            } catch (IOException e) {
                String msg = e.getMessage();
                if (msg == null || msg.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

                        problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                                .setMessage("Failed to determine activation for profile " + profile.getId() + ": "
                                        + e.getMessage())
                                .setLocation(profile.getLocation(""))
                                .setException(e));
                        return false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

                name = name.substring(1);
            }
    
            if (name == null || name.isEmpty()) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("The property name is required to activate the profile " + profile.getId())
                        .setLocation(property.getLocation("")));
                return false;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                        } catch (InterpolationException e) {
                            problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                                    .setMessage(e.getMessage())
                                    .setException(e));
                        }
                        cache.put(value, c);
                    }
                    return c;
                }
                return value;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

            if (version == null || version.isEmpty()) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("Failed to determine Java version for profile " + profile.getId())
                        .setLocation(activation.getLocation("jdk")));
                return false;
            }
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java

        }
    
        public ModelProblemCollectorRequest setException(Exception exception) {
            this.exception = exception;
            return this;
        }
    
        public String getMessage() {
            return message;
        }
    
        public ModelProblemCollectorRequest setMessage(String message) {
            this.message = message;
            return this;
        }
    
        public InputLocation getLocation() {
            return location;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java

                    msg += " Please use ${" + newPrefix + expression.substring(bannedPrefix.length()) + "} instead.";
                }
                problems.add(new ModelProblemCollectorRequest(Severity.WARNING, Version.V20).setMessage(msg));
            }
    
            return value;
        }
    
        @Override
        public List getFeedback() {
            return valueSource.getFeedback();
        }
    
        @Override
        public void clearFeedback() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

            } catch (InterpolationException e) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("Failed to interpolate file location " + path + " for profile " + profile.getId() + ": "
                                + e.getMessage())
                        .setLocation(file.getLocation(missing ? "missing" : "exists"))
                        .setException(e));
                return false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

                            problems.add(new ModelProblemCollectorRequest(
                                            ModelProblem.Severity.WARNING, ModelProblem.Version.V40)
                                    .setMessage("Ignored POM import for: " + toString(dependency) + " as already imported "
                                            + toString(present) + ". Add the conflicting managed dependency directly "
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                buffer.append(" for ").append(sourceHint);
            }
    
            buffer.append(' ').append(message);
    
            problems.add(new ModelProblemCollectorRequest(severity, version)
                    .setMessage(buffer.toString())
                    .setLocation(getLocation(fieldName, tracker)));
        }
    
        private static org.apache.maven.model.InputLocation getLocation(String fieldName, InputLocationTracker tracker) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
Back to top