Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 153 for getVersions (0.08 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                                if (versionRange != null) {
                                    Version v = parseVersion(a.getVersion());
                                    return !versionRange.containsVersion(v);
                                } else {
                                    return !artifact.getVersion().equals(a.getVersion());
                                }
                            }
                            return true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            assertEquals(4, res.getClasspath().size(), "runtime classpath should have 4 entries");
    
            ArtifactMetadata md = res.getClasspath().get(3);
            assertEquals("1.1", md.getVersion(), "runtime artifact version should be 1.1");
        }
    
        // ------------------------------------------------------------------------------------------
        @Test
        void testTestClasspathTransform() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

            return Objects.equals(a1.getGroupId(), a2.getGroupId())
                    && Objects.equals(a1.getArtifactId(), a2.getArtifactId())
                    && Objects.equals(a1.getVersion(), a2.getVersion());
        }
    
        private Properties toProperties(Map<String, String> dominant, Map<String, String> recessive) {
            Properties props = new Properties();
            if (recessive != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            assertFalse(target.merge(source));
            assertEquals("myArtifact", target.getArtifactId());
            assertEquals("myGroup", target.getGroupId());
            assertEquals("1.0-SNAPSHOT", target.getVersion());
        }
        /*--- END test common metadata ---*/
    
        /*--- START test "groupId/artifactId/version" metadata ---*/
        @Test
        void mergeSnapshotWithEmptyList() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/mdo/core-extensions.mdo

            return (getGroupId() == null ? "[unknown-group-id]" : getGroupId())
                + ":" + (getArtifactId() == null ? "[unknown-artifact-id]" : getArtifactId())
                + ":" + (getVersion() == null ? "[unknown-version]" : getVersion());
        }
                ]]>
              </code>
            </codeSegment>
          </codeSegments>
        </class>
      </classes>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

            return Objects.equals(d1.getGroupId(), d2.getGroupId())
                    && Objects.equals(d1.getArtifactId(), d2.getArtifactId())
                    && Objects.equals(d1.getVersion(), d2.getVersion())
                    && Objects.equals(d1.getType(), d2.getType())
                    && Objects.equals(d1.getClassifier(), d2.getClassifier())
                    && Objects.equals(d1.getScope(), d2.getScope())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

        }
    
        public String getExpandedVersion(Artifact artifact) {
            String key = getKey(artifact.getClassifier(), artifact.getExtension());
            return versions.get(key).getVersion();
        }
    
        @Override
        protected void merge(Metadata recessive) {
            Snapshot snapshot;
            String lastUpdated;
    
            if (metadata.getVersioning() == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

            });
    
            TaskProvider<UserGuideTransformTask> dslStandaloneDocbook = tasks.register("dslStandaloneDocbook", UserGuideTransformTask.class, task -> {
                task.getVersion().convention(project.provider(() -> project.getVersion().toString()));
                task.getSourceFile().convention(dslDocbook.flatMap(AssembleDslDocTask::getDestFile));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            result = 31 * result + a.getGroupId().hashCode();
            result = 31 * result + a.getArtifactId().hashCode();
            result = 31 * result + a.getType().hashCode();
            if (a.getVersion() != null) {
                result = 31 * result + a.getVersion().hashCode();
            }
            result = 31 * result + (a.getClassifier() != null ? a.getClassifier().hashCode() : 0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

            if (!pomArtifact.getClassifier().isEmpty() || !"pom".equals(pomArtifact.getExtension())) {
                pomArtifact =
                        new DefaultArtifact(artifact.getGroupId(), artifact.getArtifactId(), "pom", artifact.getVersion());
            }
    
            return pomArtifact;
        }
    
        /**
         * Creates POM artifact out of passed in artifact by dropping classifier (if exists) and rewriting extension to
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top