Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for Messages (0.16 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RelocatedArtifact.java

            this.extension = (extension != null && !extension.isEmpty()) ? extension : null;
            this.version = (version != null && !version.isEmpty()) ? version : null;
            this.message = (message != null && !message.isEmpty()) ? message : null;
        }
    
        @Override
        public String getGroupId() {
            if (groupId != null) {
                return groupId;
            } else {
                return artifact.getGroupId();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProblemCollector.java

        public void add(BuilderProblem.Severity severity, ModelProblem.Version version, String message) {
            add(severity, version, message, null, null);
        }
    
        @Override
        public void add(
                BuilderProblem.Severity severity, ModelProblem.Version version, String message, InputLocation location) {
            add(severity, version, message, location, null);
        }
    
        @Override
        public void add(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderException.java

        /**
         * @param message the message to give
         * @param e the {@link Exception}
         */
        public ToolchainsBuilderException(String message, Exception e) {
            super(message, e);
            this.problems = List.of();
        }
    
        public ToolchainsBuilderException(String message, List<BuilderProblem> problems) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/StaxLocation.java

        public static String getMessage(Exception e) {
            String message = e.getMessage();
            if (e instanceof XMLStreamException xe && xe.getLocation() != null) {
                int idx = message.indexOf("\nMessage: ");
                if (idx >= 0) {
                    return message.substring(idx + "\nMessage: ".length());
                }
            }
            return message;
        }
    
        public StaxLocation(javax.xml.stream.Location location) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

                if (cause instanceof ModelBuildingException) {
                    String message = "In: " + pom + "\n\n";
                    for (ModelProblem problem : ((ModelBuildingException) cause).getProblems()) {
                        message += problem + "\n";
                    }
                    System.out.println(message);
                }
    
                throw e;
            }
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/api/services/model/RootLocator.java

     * The default implementation will look for a {@code .mvn} child directory
     * or a {@code pom.xml} containing the {@code root="true"} attribute.
     */
    public interface RootLocator {
    
        String UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE = "Unable to find the root directory. "
                + "Create a .mvn directory in the root directory or add the root=\"true\""
                + " attribute on the root project's model to identify it.";
    
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

        private static boolean validateStringEmpty(
                List<BuilderProblem> problems, String fieldName, String string, String message) {
            if (string == null || string.length() == 0) {
                return true;
            }
    
            addViolation(problems, BuilderProblem.Severity.WARNING, fieldName, null, message);
    
            return false;
        }
    
        /**
         * Asserts:
         * <p/>
         * <ul>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/internal/impl/DefaultSessionTest.java

            DefaultSession session =
                    new DefaultSession(ms, mock(RepositorySystem.class), Collections.emptyList(), null, null, null);
    
            assertEquals(
                    RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE,
                    assertThrows(IllegalStateException.class, session::getRootDirectory)
                            .getMessage());
        }
    
        @Test
        void testRootDirectory() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jan 25 13:58:24 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar

    LogFactory.getInstance(String name). Your application can contain references to multiple loggers that are used for different purposes. A typical scenario for a server application is to have each major component of the server use its own Log instance. Cause messages to be logged (if the corresponding detail level is enabled) by calling appropriate methods (trace(), debug(), info(), warn(), error, and fatal()). For convenience, LogFactory also offers a static method getLog() that combines the typical two-step...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 37.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProblem.java

        private final String modelId;
    
        private final String message;
    
        private final Exception exception;
    
        private final Severity severity;
    
        private final Version version;
    
        /**
         * Creates a new problem with the specified message and exception.
         *
         * @param message The message describing the problem, may be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top