Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for WARN (0.01 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.java

                            LOGGER.warn("{}{}", problem.getMessage(), ((loc != null && !loc.isEmpty()) ? " @ " + loc : ""));
                        }
                    }
                }
            }
    
            if (totalProblemsCount > 0) {
                LOGGER.warn("");
                LOGGER.warn("Total model problems reported: {}", totalProblemsCount);
                LOGGER.warn("");
                LOGGER.warn("It is highly recommended to fix these problems"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Sep 30 08:09:09 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PrecedenceCoreExtensionSelector.java

                }
            }
            if (!conflicts.isEmpty()) {
                context.logger.warn("Found " + conflicts.size() + " extension conflict(s):");
                for (String conflict : conflicts) {
                    context.logger.warn("* " + conflict);
                }
                context.logger.warn("");
                context.logger.warn(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

         */
        default void warn(@Nonnull String message) {
            log(Level.WARN, message);
        }
    
        /**
         * Logs a warning message with an associated exception.
         *
         * @param message the warning message to be logged
         * @param error the associated exception
         */
        default void warn(@Nonnull String message, @Nullable Throwable error) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. logger/slog.go

    	if l.LogLevel >= Info {
    		l.log(ctx, slog.LevelInfo, msg, slog.Any("data", data))
    	}
    }
    
    func (l *slogLogger) Warn(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Warn {
    		l.log(ctx, slog.LevelWarn, msg, slog.Any("data", data))
    	}
    }
    
    func (l *slogLogger) Error(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Error {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                // we skip handleException above as we did output
                throw new InvokerException.ExitException(1);
            }
    
            // warn about deprecated options
            context.options().warnAboutDeprecatedOptions(context.invokerRequest.parserRequest(), context.logger::warn);
        }
    
        protected void pushCoreProperties(C context) throws Exception {
            System.setProperty(
                    Constants.MAVEN_HOME,
    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)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                slf4jLogger.warn("");
                slf4jLogger.warn("Some problems were encountered while building the effective toolchains");
    
                for (Problem problem : toolchainsResult.getProblems()) {
                    slf4jLogger.warn("{} @ {}", problem.getMessage(), problem.getLocation());
                }
    
                slf4jLogger.warn("");
            }
        }
    
    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)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                if (!Arrays.asList("warn", "warning", "error").contains(c)) {
                    context.parsingFailed = true;
                    context.parserRequest
                            .logger()
                            .error("Invalid fail on severity threshold '" + c
                                    + "'. Supported values are 'WARN', 'WARNING' and 'ERROR'.");
                }
            });
    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)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                                logger.warn("  " + unsafePlugin.getId());
                            }
                            logger.warn("");
                            logger.warn("Enable verbose output (-X) to see precisely which goals are not marked as"
                                    + " thread-safe.");
                        }
                        logger.warn(MultilineMessageHelper.separatorLine());
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

    import japicmp.model.JApiCompatibility
    import japicmp.model.JApiMethod
    import javassist.bytecode.SourceFileAttribute
    import java.io.File
    
    
    /**
     * Repository of sources for binary compatibility checks.
     *
     * `WARN` Holds resources open for performance, must be closed after use.
     */
    class BinaryCompatibilityRepository internal constructor(
    
        private
        val sources: SourcesRepository
    
    ) : AutoCloseable {
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. schema/schema.go

    				} else {
    					logger.Default.Warn(context.Background(), "In model %v, the hook function `%v(*gorm.DB) error` has an incorrect parameter type. The expected parameter type is `%v`, but the provided type is `%v`.", schema, cbName, expectedPkgPath, inVarPkg)
    					// PASS
    				}
    			default:
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Oct 31 12:13:56 GMT 2025
    - 13.1K bytes
    - Click Count (0)
Back to Top