Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 73 for Warning (0.17 sec)

  1. maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

     *
     */
    public interface Problem {
    
        /**
         * The different severity levels for a problem, in decreasing order.
         */
        enum Severity {
            FATAL, //
            ERROR, //
            WARNING //
        }
    
        /**
         * Gets the hint about the source of the problem. While the syntax of this hint is unspecified and depends on the
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <description>
                Marks this Mojo as being thread-safe, i.e. the Mojo safely supports concurrent execution during parallel
                builds. Mojos without this annotation will make Maven output a warning when used during a parallel build
                session.
                @since Maven 3.0.
              </description>
              <defaultValue>false</defaultValue>
            </field>
            <field>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                        msg += " Please use ${" + newPrefix + expression.substring(bannedPrefix.length()) + "} instead.";
                    }
                    problems.add(BuilderProblem.Severity.WARNING, ModelProblem.Version.V20, msg);
                }
    
                return value;
            }
    
            @Override
            public List getFeedback() {
                return valueSource.getFeedback();
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. 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()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

    import org.codehaus.plexus.configuration.PlexusConfiguration;
    import org.codehaus.plexus.configuration.xml.XmlPlexusConfiguration;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    
    /**
     * <strong>Warning:</strong> This is an internal class that is only public for technical reasons, it is not part of the
     * public API. In particular, this class can be changed or deleted without prior notice.
     *
     */
    @Named
    @Singleton
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  6. maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            assertEquals(0, collector.getProblems().size());
    
            collector.add(null, "MESSAGE1", -1, -1, null);
    
            Exception e2 = new Exception();
            collector.add(Severity.WARNING, null, 42, 127, e2);
    
            assertEquals(2, collector.getProblems().size());
    
            Problem p1 = collector.getProblems().get(0);
            assertEquals(Severity.ERROR, p1.getSeverity());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

    import org.codehaus.plexus.classworlds.realm.DuplicateRealmException;
    import org.eclipse.aether.artifact.Artifact;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Manages the class realms used by Maven. <strong>Warning:</strong> This is an internal utility class that is only
     * public for technical reasons, it is not part of the public API. In particular, this class can be changed or deleted
     * without prior notice.
     *
     */
    @Named
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            problem = new DefaultProblem(null, Severity.ERROR, null, -1, -1, null);
            assertEquals(Severity.ERROR, problem.getSeverity());
    
            problem = new DefaultProblem(null, Severity.WARNING, null, -1, -1, null);
            assertEquals(Severity.WARNING, problem.getSeverity());
        }
    
        @Test
        void testGetLineNumber() {
            DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                }
    
                validateStringNoExpression("groupId", problems, Severity.WARNING, Version.V20, m.getGroupId(), m);
                if (parent == null) {
                    validateStringNotEmpty("groupId", problems, Severity.FATAL, Version.V20, m.getGroupId(), m);
                }
    
                validateStringNoExpression("artifactId", problems, Severity.WARNING, Version.V20, m.getArtifactId(), m);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  10. maven-core/src/site/apt/offline-mode.apt

      operations.
    
      Offline mode really means anticipating a lack of network connectivity, and as
      a result turning off certain services provided by m2 and providing a coherent
      way of predicting and reporting when network-related failures will take place.
      It means warning users that since the network is missing, certain features and
      operations will be unavailable, rather than simply waiting for those
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top