Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 118 for getKey (0.03 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

            Objects.requireNonNull(model, "model cannot be null");
    
            ClassLoader parent = getMavenApiRealm();
    
            return createRealm(getKey(model), RealmType.Project, parent, null, null, artifacts);
        }
    
        private static String getKey(Model model) {
            return "project>" + model.getGroupId() + ":" + model.getArtifactId() + ":" + model.getVersion();
        }
    
        @Override
    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)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSnapshotMetadata.java

            artifacts.add(artifact);
        }
    
        public Object getKey() {
            return getGroupId() + ':' + getArtifactId() + ':' + getVersion();
        }
    
        public static Object getKey(Artifact artifact) {
            return artifact.getGroupId() + ':' + artifact.getArtifactId() + ':' + artifact.getBaseVersion();
        }
    
        protected String getKey(String classifier, String extension) {
            return classifier + ':' + extension;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

        private static <T> Map<AccessorKey, T> diff(Map<AccessorKey, T> first, Map<AccessorKey, T> second) {
            return first.entrySet().stream()
                .filter(e -> !second.containsKey(e.getKey()))
                .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:30:48 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

                Metadata metadata = it.next();
                if (metadata instanceof VersionsMetadata versionsMetadata) {
                    it.remove();
                    processedVersions.put(versionsMetadata.getKey(), versionsMetadata);
                }
            }
        }
    
        @Override
        public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
            return Collections.emptyList();
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java

                    logger.debug("--- init fork of " + fork.getKey() + " for " + mojoExecId + " ---");
    
                    debugDependencyRequirements(fork.getValue());
    
                    for (MojoExecution forkedExecution : fork.getValue()) {
                        debugMojoExecution(forkedExecution);
                    }
    
                    logger.debug("--- exit fork of " + fork.getKey() + " for " + mojoExecId + " ---");
                }
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java

                phases.put(e.getKey(), e.getValue().toString());
            }
            return phases;
        }
    
        @Deprecated
        public void setPhases(Map<String, String> phases) {
            Map<String, LifecyclePhase> lphases = new LinkedHashMap<>();
            for (Map.Entry<String, String> e : phases.entrySet()) {
                lphases.put(e.getKey(), new LifecyclePhase(e.getValue()));
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                sv.setUpdated(lastUpdated);
    
                versions.put(getKey(sv.getClassifier(), sv.getExtension()), sv);
            }
    
            artifacts.clear();
    
            Versioning versioning = recessive.getVersioning();
            if (versioning != null) {
                for (SnapshotVersion sv : versioning.getSnapshotVersions()) {
                    String key = getKey(sv.getClassifier(), sv.getExtension());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

            if (!recessive.getPlugins().isEmpty()) {
                metadata.setPlugins(new ArrayList<>(recessive.getPlugins()));
            }
        }
    
        public Object getKey() {
            return getGroupId() + ':' + getArtifactId();
        }
    
        public static Object getKey(Artifact artifact) {
            return artifact.getGroupId() + ':' + artifact.getArtifactId();
        }
    
        @Deprecated
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

        public String getRemoteFilename() {
            return "maven-metadata.xml";
        }
    
        @Override
        public String getLocalFilename(ArtifactRepository repository) {
            return "maven-metadata-" + repository.getKey() + ".xml";
        }
    
        @Override
        public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws RepositoryMetadataStoreException {
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/PluginConfigurationModule.java

        @Override
        public void configure(Binder binder) {
            if (plugin.getKey() != null) {
                XmlNode configuration = plugin.getConfiguration();
                if (configuration == null) {
                    configuration = XmlNode.newInstance("configuration");
                }
                binder.bind(XmlNode.class)
                        .annotatedWith(Names.named(plugin.getKey()))
                        .toInstance(configuration);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top