Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 290 for severity (0.08 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/ProblemCollector.java

            return hasProblemsFor(BuilderProblem.Severity.FATAL);
        }
    
        /**
         * Returns {@code true} if there is at least one problem collected with severity equal or more severe than
         * passed in severity.
         */
        default boolean hasProblemsFor(BuilderProblem.Severity severity) {
            requireNonNull(severity, "severity");
            for (BuilderProblem.Severity s : BuilderProblem.Severity.values()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 18 17:30:19 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

                return true;
            }
    
            addViolation(problems, Severity.ERROR, fieldName, sourceHint, "is missing");
    
            return false;
        }
    
        private static boolean validateBannedCharacters(
                SettingsProblemCollector problems,
                String fieldName,
                Severity severity,
                String string,
                String sourceHint,
                String banned) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

    import org.apache.maven.model.InputLocation;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblem.Severity;
    import org.apache.maven.model.building.ModelProblem.Version;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. CONTRIBUTING.md

    ### Security vulnerabilities
    
    Do not report security vulnerabilities to the public issue tracker. Follow our [Security Vulnerability Disclosure Policy](https://github.com/gradle/gradle/security/policy).
    
    ### Follow the Code of Conduct
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 25 06:57:22 GMT 2025
    - 19K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            options.failOnSeverity().ifPresent(severity -> {
                String c = severity.toLowerCase(Locale.ENGLISH);
                if (!Arrays.asList("warn", "warning", "error").contains(c)) {
                    context.parsingFailed = true;
                    context.parserRequest
                            .logger()
                            .error("Invalid fail on severity threshold '" + c
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .hasArg()
                    .build());
            options.addOption(Option.builder(FAIL_ON_SEVERITY)
                    .longOpt("fail-on-severity")
                    .desc("Configure which severity of logging should cause the build to fail")
                    .hasArg()
                    .build());
            options.addOption(Option.builder(FAIL_FAST)
                    .longOpt("fail-fast")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 04:56:48 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                            .getResult()
                            .addException(
                                    new Exception("Build failed due to log statements with a higher severity than allowed. "
                                            + "Fix the logged issues or remove flag --fail-on-severity (-fos)."));
                }
    
                logResult(event.getSession());
    
                logStats(event.getSession());
    
                infoLine('-');
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                        .hasArg()
                        .get());
                options.addOption(Option.builder(FAIL_ON_SEVERITY)
                        .longOpt("fail-on-severity")
                        .desc("Configure which severity of logging should cause the build to fail")
                        .hasArg()
                        .get());
                options.addOption(Option.builder(LOG_FILE)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            return new ExceptionSummary(null, message, null, children);
        }
    
        private ExceptionSummary handle(ModelProblem problem, String projectId) {
            if (ModelProblem.Severity.ERROR.compareTo(problem.getSeverity()) >= 0) {
                String message = problem.getMessage();
    
                String location = ModelProblemUtils.formatLocation(problem, projectId);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

                    result.getProject().getModel().getPomFile().getAbsoluteFile());
            int errors = 0;
            for (ModelProblem p : result.getProblems()) {
                if (p.getSeverity() == ModelProblem.Severity.ERROR) {
                    errors++;
                }
            }
            assertEquals(0, errors);
        }
    
        @Test
        void testLocationTrackingResolution() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top