Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for warnings (0.17 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedCoreExpressionValidator.java

    import org.apache.maven.plugin.descriptor.Parameter;
    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator;
    import org.codehaus.plexus.configuration.PlexusConfiguration;
    
    /**
     * Print warnings if deprecated core parameters are used in mojo.
     *
     * @since 3.9.1
     */
    @Singleton
    @Named
    class DeprecatedCoreExpressionValidator extends AbstractMavenPluginParametersValidator {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 26 16:22:12 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedPluginValidator.java

        private String logDeprecatedMojo(MojoDescriptor mojoDescriptor) {
            return messageBuilderFactory
                    .builder()
                    .warning("Goal '")
                    .warning(mojoDescriptor.getGoal())
                    .warning("' is deprecated: ")
                    .warning(mojoDescriptor.getDeprecated())
                    .toString();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Result.java

     * <li>success with warnings - model field + non-error model problems
     * <li>error - no model, but diagnostics
     * <li>error - (partial) model and diagnostics
     * </ol>
     * Could encode these variants as subclasses, but kept in one for now
     *
     * @param <T> the model type
     */
    public class Result<T> {
    
        /**
         * Success without warnings
         *
         * @param model
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/ReadOnlyPluginParametersValidator.java

    import org.apache.maven.plugin.descriptor.Parameter;
    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator;
    import org.codehaus.plexus.configuration.PlexusConfiguration;
    
    /**
     * Print warnings if read-only parameters of a plugin are used in configuration.
     *
     */
    @Named
    @Singleton
    class ReadOnlyPluginParametersValidator extends AbstractMavenPluginDescriptorSourcedParametersValidator {
    
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    .filter(rap -> !allAvailableProfiles.contains(rap))
                    .collect(toSet());
    
            if (!notFoundRequiredProfiles.isEmpty()) {
                // Use SLF4J formatter for consistency with warnings reported by logger
                final String message = MessageFormatter.format(
                                "The requested profiles {} could not be activated or deactivated because they do not"
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            callerInfo = new NullPointerException().getStackTrace()[2];
    
            Runnable warning = this::maybeWarnAboutCleanUp;
    
            cleanupWarning = new Thread(warning);
    
            Runtime.getRuntime().addShutdownHook(cleanupWarning);
        }
    
        private void maybeWarnAboutCleanUp() {
            if (warnAboutCleanup) {
                System.out.println("[WARNING] TestFileManager from: " + callerInfo.getClassName() + " not cleaned up!");
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. apache-maven/src/assembly/shared/run.cmd

    @REM check for post script, once with legacy .bat ending and once with .cmd ending
    if exist "%USERPROFILE%\mavenrc_post.bat" echo Warning: The mavenrc_post.bat script is deprecated and will be removed in a future version. >&2
    if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
    if exist "%USERPROFILE%\mavenrc_post.cmd" echo Warning: The mavenrc_post.cmd script is deprecated and will be removed in a future version. >&2
    Batch File
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Mar 05 22:52:54 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsBuilder.java

                            loc != null ? loc.getColumnNumber() : -1,
                            e,
                            e.getMessage(),
                            BuilderProblem.Severity.WARNING));
                }
            } catch (XmlReaderException e) {
                Location loc = e.getCause() instanceof XMLStreamException xe ? xe.getLocation() : null;
                problems.add(new DefaultBuilderProblem(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            if (context == null) {
                return null;
            }
            return context.get(key);
        }
    
        /**
         * Sets the project's class realm. <strong>Warning:</strong> This is an internal utility method that is only public
         * for technical reasons, it is not part of the public API. In particular, this method can be changed or deleted
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java

        @Nonnull
        PersistedToolchains getEffectiveToolchains();
    
        /**
         * Gets the problems that were encountered during the settings building. Note that only problems of severity
         * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the settings builder to fail with a {@link ToolchainsBuilderException}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top