Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 56 for getId (0.04 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            assertTrue(project.getActiveProfiles().stream().anyMatch(p -> "profile1".equals(p.getId())));
            assertTrue(project.getActiveProfiles().stream().noneMatch(p -> "profile2".equals(p.getId())));
            assertTrue(project.getActiveProfiles().stream().noneMatch(p -> "active-by-default".equals(p.getId())));
        }
    
        @Test
        void testActivatedProfileByDefaultIsResolved() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                        try {
                            wagonManager.getArtifactMetadata(metadata, repository, file, policy.getChecksumPolicy());
                        } catch (ResourceDoesNotExistException e) {
                            getLogger().debug(metadata + " could not be found on repository: " + repository.getId());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            if (this == object) {
                return true;
            }
    
            return object instanceof PluginDescriptor pluginDescriptor && getId().equals(pluginDescriptor.getId());
        }
    
        @Override
        public int hashCode() {
            return 10 + getId().hashCode();
        }
    
        public MojoDescriptor getMojo(String goal) {
            if (getMojos() == null) {
                return null; // no mojo in this POM
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                                }
                            }
                        }
                    }
    
                    // org.eclipse.aether.ConfigurationProperties.HTTP_HEADERS => Map<String, String>
                    if (headers != null) {
                        configProps.put(ConfigurationProperties.HTTP_HEADERS + "." + server.getId(), headers);
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 05:56:35 GMT 2025
    - 25.8K bytes
    - Click Count (0)
Back to Top