Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 211 for getVersions (0.05 seconds)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        String SCOPE_SYSTEM = "system";
    
        String SCOPE_IMPORT = "import"; // Used to import dependencyManagement dependencies
    
        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        void setVersion(String version);
    
        String getScope();
    
        String getType();
    
        String getClassifier();
    
        boolean hasClassifier();
    
        File getFile();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

                        message,
                        "  ",
                        artifact.getGroupId(),
                        artifact.getArtifactId(),
                        artifact.getVersion(),
                        artifact.getType(),
                        artifact.getClassifier(),
                        artifact.getDownloadUrl(),
                        artifact.getDependencyTrail()));
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

        public String getGroupId() {
            return pluginInfo.groupId;
        }
    
        @Override
        public String getArtifactId() {
            return "";
        }
    
        @Override
        public String getVersion() {
            return "";
        }
    
        @Override
        public Nature getNature() {
            return Nature.RELEASE_OR_SNAPSHOT;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    }
                }
    
                artifact.selectVersion(result.getArtifact().getVersion());
                artifact.setFile(result.getArtifact().getFile());
                artifact.setResolved(true);
    
                if (artifact.isSnapshot()) {
                    Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());
                    if (matcher.matches()) {
                        Snapshot snapshot = new Snapshot();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

            // Don't consider the artifact's version in here, as this is stored in the directory above that
            return false;
        }
    
        @Override
        public int getNature() {
            if (artifact.getVersion() != null) {
                return artifact.isSnapshot() ? SNAPSHOT : RELEASE;
            }
    
            VersionRange range = artifact.getVersionRange();
            if (range != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
                                    .add(plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion()
                                            + ":" + goal)))));
            return goals.entrySet().stream()
                    .collect(Collectors.toMap(Map.Entry::getKey, e -> new LifecyclePhase(String.join(",", e.getValue()))));
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                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),
                        e);
                return null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

                    timestamps.add((file != null) ? Long.valueOf(file.lastModified()) : Long.valueOf(0));
                    sizes.add((file != null) ? Long.valueOf(file.length()) : Long.valueOf(0));
                    ids.add(artifact.getVersion());
                }
    
                this.hashCode =
                        31 * files.hashCode() + 31 * ids.hashCode() + 31 * timestamps.hashCode() + 31 * sizes.hashCode();
            }
    
            @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. build-logic-commons/build-platform/build.gradle.kts

    // It can be removed or changed to 4/5 logic (if necessary) at that point.
    val groovyVersion = GroovySystem.getVersion()
    val isGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    val codenarcVersion = if (isGroovy4) "3.6.0-groovy-4.0" else "3.6.0"
    val spockVersion = if (isGroovy4) "2.3-groovy-4.0" else "2.3-groovy-3.0"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:16:30 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

                column = e.getColumnNumber();
            }
    
            ModelProblem problem = new DefaultModelProblem(
                    req.getMessage(),
                    req.getSeverity(),
                    req.getVersion(),
                    source,
                    line,
                    column,
                    modelId,
                    req.getException());
    
            add(problem);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.5K bytes
    - Click Count (0)
Back to Top