Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 165 for getId (0.01 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

                    new DefaultLookup(mockedPlexusContainer));
    
            assertEquals("clean", dl.getLifeCycles().get(0).getId());
            assertEquals("default", dl.getLifeCycles().get(1).getId());
            assertEquals("site", dl.getLifeCycles().get(2).getId());
            assertEquals("etl", dl.getLifeCycles().get(3).getId());
        }
    
        private Lifecycle getLifeCycleById(String id) {
            return defaultLifeCycles.getLifeCycles().stream()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java

                        .anyMatch(repo -> "child1-repo".equals(repo.getId()));
                assertTrue(child1HasOwnRepo, "Child1 should have its own repository");
    
                // Verify that child2 has its own repository
                boolean child2HasOwnRepo = child2Project.getRemoteArtifactRepositories().stream()
                        .anyMatch(repo -> "child2-repo".equals(repo.getId()));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        @Override
        public MavenExecutionRequest addProxy(Proxy proxy) {
            Objects.requireNonNull(proxy, "proxy cannot be null");
    
            for (Proxy p : getProxies()) {
                if (p.getId() != null && p.getId().equals(proxy.getId())) {
                    return this;
                }
            }
    
            getProxies().add(proxy);
    
            return this;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 32.1K bytes
    - Click Count (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

                    if (!serverIds.add(server.getId())) {
                        addViolation(
                                problems,
                                Severity.WARNING,
                                "servers.server.id",
                                null,
                                "must be unique but found duplicate server with id " + server.getId());
                    }
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                    + version;
        }
    
        private static String getId(Artifact artifact) {
            return getId(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getExtension(),
                    artifact.getClassifier(),
                    artifact.getBaseVersion());
        }
    
        private static String getId(ClassRealmConstituent constituent) {
            return getId(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

                                    "Pre-Maven 4 legacy encrypted password detected for server " + server.getId()
                                            + " - configure password encryption with the help of mvnenc to be compatible with Maven 4.",
                                    Severity.WARNING,
                                    "server: " + server.getId(),
                                    -1,
                                    -1,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Nov 16 13:55:43 GMT 2024
    - 6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            }
            return result;
        }
    
        public static String getLayout(ArtifactRepository repo) {
            try {
                return repo.getLayout().getId();
            } catch (LinkageError e) {
                /*
                 * NOTE: getId() was added in 3.x and is as such not implemented by plugins compiled against 2.x APIs.
                 */
                String className = repo.getLayout().getClass().getSimpleName();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                                    + " (" + repository.getUrl() + ")");
                }
    
                return false;
            }
    
            if (getLogger().isDebugEnabled()) {
                getLogger()
                        .debug("Determining update check for " + artifact + " (" + file + ") from " + repository.getId()
                                + " (" + repository.getUrl() + ")");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        "Skipping disabled repository " + repository.getId() + " for resolution of " + artifact.getId());
    
            } else if (artifact.isSnapshot() || !artifact.getFile().exists()) {
                if (force || updateCheckManager.isUpdateRequired(artifact, repository)) {
                    logger.debug("Trying repository " + repository.getId() + " for resolution of " + artifact.getId()
                            + " from " + remotePath);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                        repository.getId(),
                        repository.getUrl(),
                        repository.getLayout(),
                        repository.getSnapshots(),
                        repository.getReleases());
    
                repository.setMirroredRepositories(Collections.singletonList(original));
    
                repository.setId(mirror.getId());
                repository.setUrl(mirror.getUrl());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
Back to Top