Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 732 for severity (0.04 seconds)

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

  1. 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)
  2. 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()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  3. 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" />"""
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. 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)
  5. 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 {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 01 11:57:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

    import org.apache.maven.model.Resource;
    import org.apache.maven.model.Scm;
    import org.apache.maven.model.Site;
    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: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                                    throw new IllegalArgumentException(
                                            logLevelThreshold
                                                    + " is not a valid log severity threshold. Valid severities are WARN/WARNING and ERROR.");
                            };
                    recorder.setMaxLevelAllowed(level);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            Result<? extends ProjectDependencyGraph> graphResult = graphBuilder.build(session);
            for (ModelProblem problem : graphResult.getProblems()) {
                if (problem.getSeverity() == ModelProblem.Severity.WARNING) {
                    logger.warn(problem.getMessage());
                } else {
                    logger.error(problem.getMessage());
                }
            }
    
            if (!graphResult.hasErrors()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon May 05 16:58:52 GMT 2025
    - 28.7K bytes
    - Click Count (1)
Back to Top