Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 83 for Severity (0.15 sec)

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

            super(buildMessage(message, problems), null);
            this.problems = problems;
        }
    
        /**
         * Formats message out of problems: problems are sorted (in natural order of {@link BuilderProblem.Severity})
         * and then a list is built. These exceptions are usually thrown in "fatal" cases (and usually prevent Maven
         * from starting), and these exceptions may end up very early on output.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. 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('-');
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 15:40:45 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. 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")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 04:56:48 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/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('-');
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            final List<ProfileActivationException> errors = new ArrayList<>();
    
            List<Profile> profiles = profileSelector.getActiveProfiles(profilesById.values(), context, req -> {
                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    errors.add(new ProfileActivationException(req.getMessage(), req.getException()));
                }
            });
    
            if (!errors.isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

                .replaceAll('/', '[.]')
                .replaceAll('###', '.*?')
        }
    }
    
    static String writeFilterPreset(Project project) {
        def preset = project.providers.gradleProperty('bin.cmp.report.severity.filter').getOrElse('All levels')
        return """<input id="filter-preset" type="hidden" value="$preset" />"""
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. 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)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 08 07:36:42 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

                        it.associateWith { CheckSeverity.OFF }
                    }
    
                    nullaway {
                        checkContracts = true
                        isJSpecifyMode = true
                        severity = errorproneExtension.nullawayEnabled.map { if (it) CheckSeverity.ERROR else CheckSeverity.OFF }
                    }
                }
            }
        }
    }
    
    tasks.withType<JavaCompile>().configureEach {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Oct 01 11:57:43 UTC 2025
    - 9.3K bytes
    - Viewed (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);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (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 {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top