Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 176 for Messages (0.86 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

            }
            return null;
        }
    
        public static class CycleDetectedException extends Exception {
            private final List<String> cycle;
    
            CycleDetectedException(String message, List<String> cycle) {
                super(message);
                this.cycle = cycle;
            }
    
            public List<String> getCycle() {
                return cycle;
            }
    
            @Override
            public String getMessage() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        private static void notBlank(String str, String message) {
            final int strLen = str != null ? str.length() : 0;
            if (strLen > 0) {
                for (int i = 0; i < strLen; i++) {
                    if (!Character.isWhitespace(str.charAt(i))) {
                        return;
                    }
                }
            }
            throw new IllegalArgumentException(message);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  3. maven-core/src/test/resources-project-builder/pom-inheritance/pom.xml

        </snapshotRepository>
        <site>
          <url>https://parent.url/site</url>
          <id>parent.site</id>
        </site>
        <downloadUrl>http://parent.url/download</downloadUrl>
        <relocation>
          <message>parent-reloc-msg</message>
        </relocation>
      </distributionManagement>
    
      <properties>
        <parentProperty>parent-property</parentProperty>
        <overriddenProperty>parent-property</overriddenProperty>
      </properties>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 5K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolver.java

                return version1.compareTo(version2) > 0 ? node1 : node2;
            } catch (OverConstrainedVersionException exception) {
                // TODO log message or throw exception?
    
                return null;
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

            }
        }
    
        @Override
        public void artifactDescriptorInvalid(RepositoryEvent event) {
            // The exception stack trace is not really interesting here
            // but the message itself may be quite details and span multiple
            // lines with errors in it, so only display it at debug level.
            String msg = "The POM for {} is invalid, transitive dependencies (if any) will not be available: {}";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            VersionRange versionRange;
            try {
                versionRange = VersionRange.createFromVersionSpec(d.getVersion());
            } catch (InvalidVersionSpecificationException e) {
                // MNG-5368: Log a message instead of returning 'null' silently.
                this.logger.error(
                        String.format(
                                "Invalid version specification '%s' creating dependency artifact '%s'.", d.getVersion(), d),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                plugin.setArtifactId(tok[1]);
                plugin.setVersion(tok[2]);
                goal = tok[3];
    
                // This won't be valid, but it constructs something easy to read in the error message
                for (int idx = 4; idx < tok.length; idx++) {
                    goal += ":" + tok[idx];
                }
            } else if (numTokens == 3) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         */
        public Path getRootDirectory() {
            if (rootDirectory == null) {
                throw new IllegalStateException(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE);
            }
            return rootDirectory;
        }
    
        public void setRootDirectory(Path rootDirectory) {
            this.rootDirectory = rootDirectory;
        }
    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)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("reloc-version", pom.getValue("distributionManagement/relocation/version"));
            assertEquals("project-reloc-msg", pom.getValue("distributionManagement/relocation/message"));
    
            assertEquals(1, ((List<?>) pom.getValue("modules")).size());
            assertEquals("sub", pom.getValue("modules[1]"));
    
            assertEquals(3, ((Map<?, ?>) pom.getValue("properties")).size());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

         * By default, bold blue
         *
         * @param message the message to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder info(Object message) {
            return style(".info:-bold,f:blue", message);
        }
    
        /**
         * Append message content in warning style.
         * By default, bold yellow
         *
         * @param message the message to append
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 7K bytes
    - Viewed (0)
Back to top