Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 18 of 18 for isWarnEnabled (0.09 seconds)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java

         *
         * @param error
         */
        void info(Throwable error);
    
        /**
         * @return true if the <b>warn</b> error level is enabled
         */
        boolean isWarnEnabled();
    
        /**
         * Send a message to the user in the <b>warn</b> error level.
         *
         * @param content
         */
        void warn(CharSequence content);
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

        void info(Supplier<String> content);
    
        void info(Supplier<String> content, Throwable error);
    
        /**
         * {@return true if the <b>warn</b> error level is enabled}
         */
        boolean isWarnEnabled();
    
        /**
         * Sends a message to the user in the <b>warn</b> error level.
         *
         * @param content the message to log
         */
        void warn(CharSequence content);
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Sep 28 09:03:24 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java

                        result, "Could not collect dependencies for project " + project.getId(), e);
            }
    
            depRequest.setRoot(node);
    
            if (logger.isWarnEnabled()) {
                for (DependencyNode child : node.getChildren()) {
                    if (!child.getRelocations().isEmpty()) {
                        org.eclipse.aether.artifact.Artifact artifact =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            }
    
            populateFromSettings(request, settingsResult.getEffectiveSettings());
    
            if (!settingsResult.getProblems().isEmpty() && LOGGER.isWarnEnabled()) {
                LOGGER.warn("");
                LOGGER.warn("Some problems were encountered while building the effective settings");
    
                for (SettingsProblem problem : settingsResult.getProblems()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 19 18:49:57 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

            mayReportInline(mavenSession.getRepositorySession(), locality, issue);
        }
    
        private void reportSessionCollectedValidationIssues(MavenSession mavenSession) {
            if (!logger.isWarnEnabled()) {
                return; // nothing can be reported
            }
            ValidationReportLevel validationReportLevel = validationReportLevel(mavenSession.getRepositorySession());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                infoMain(prefix + "[ " + project.getPackaging() + " ]" + suffix);
            }
        }
    
        @Override
        public void mojoSkipped(ExecutionEvent event) {
            if (logger.isWarnEnabled()) {
                init();
                logger.warn(
                        "Goal '{}' requires online mode for execution but Maven is currently offline, skipping",
                        event.getMojoExecution().getGoal());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                infoMain(prefix + "[ " + project.getPackaging() + " ]" + suffix);
            }
        }
    
        @Override
        public void mojoSkipped(ExecutionEvent event) {
            if (logger.isWarnEnabled()) {
                init();
                logger.warn(
                        "Goal '{}' requires online mode for execution but Maven is currently offline, skipping",
                        event.getMojoExecution().getGoal());
    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. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            executionRequestPopulator.populateFromToolchains(cliRequest.request, toolchainsResult.getEffectiveToolchains());
    
            if (!toolchainsResult.getProblems().isEmpty() && slf4jLogger.isWarnEnabled()) {
                slf4jLogger.warn("");
                slf4jLogger.warn("Some problems were encountered while building the effective toolchains");
    
                for (Problem problem : toolchainsResult.getProblems()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
Back to Top