Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 153 for getVersions (0.18 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

                if (!metadata.getArtifactId().isEmpty()) {
                    path.append(metadata.getArtifactId()).append('/');
    
                    if (!metadata.getVersion().isEmpty()) {
                        path.append(metadata.getVersion()).append('/');
                    }
                }
            }
    
            path.append(insertRepositoryKey(metadata.getType(), repositoryKey));
    
            return path.toString();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            }
            if (active && os.getArch() != null) {
                active = determineArchMatch(os.getArch(), actualOsArch);
            }
            if (active && os.getVersion() != null) {
                active = determineVersionMatch(os.getVersion(), actualOsVersion);
            }
    
            return active;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

            }
            if (result && os.getVersion() != null) {
                result = determineVersionMatch(os.getVersion());
            }
            return result;
        }
    
        private boolean ensureAtLeastOneNonNull(ActivationOS os) {
            return os.getArch() != null || os.getFamily() != null || os.getName() != null || os.getVersion() != null;
        }
    
        private boolean determineVersionMatch(String version) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            assertNull(artifact.getVersion());
            assertNull(artifact.getBaseVersion());
        }
    
        @Test
        void testMNG7780() throws Exception {
            VersionRange vr = VersionRange.createFromVersionSpec("[1.0,2.0)");
            artifact = new DefaultArtifact(groupId, artifactId, vr, scope, type, null, artifactHandler);
            assertNull(artifact.getVersion());
            assertNull(artifact.getBaseVersion());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            clone.setRelease(artifact.isRelease());
            clone.setResolvedVersion(artifact.getVersion());
            clone.setResolved(artifact.isResolved());
            clone.setFile(artifact.getFile());
    
            clone.setAvailableVersions(copyList(artifact.getAvailableVersions()));
            if (artifact.getVersion() != null) {
                clone.setBaseVersion(artifact.getBaseVersion());
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

                    .version("1.0")
                    .build();
    
            assertNotNull(this.newModelResolver().resolveModel(parent, new AtomicReference<>()));
            assertEquals("1.0", parent.getVersion());
        }
    
        @Test
        void testResolveParentSuccessfullyResolvesExistingParentUsingHighestVersion() throws Exception {
            final Parent parent = Parent.newBuilder()
                    .groupId("ut.simple")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

                    boolean exists = installed.stream().map(this::getArtifactFromMap)
                            .anyMatch(a -> a.getName().equals(target.getName()) && a.getVersion().equals(target.getVersion()));
                    if (!exists) {
                        ThreadUtil.sleep(500);
                        continue;
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 01 02:20:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/MavenArtifactMetadata.java

        }
    
        public String getArtifactId() {
            return artifactId;
        }
    
        public void setArtifactId(String artifactId) {
            this.artifactId = artifactId;
        }
    
        public String getVersion() {
            return version;
        }
    
        public void setVersion(String version) {
            this.version = version;
        }
    
        public String getClassifier() {
            return classifier;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

            // TODO Should this be changed for MNG-6754 too?
            versioning.updateTimestamp();
            versioning.addVersion(artifact.getVersion());
    
            if (artifact.isRelease()) {
                versioning.setRelease(artifact.getVersion());
            }
    
            return new ArtifactRepositoryMetadata(artifact, versioning);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

        public ArtifactNotFoundException(String message, Artifact artifact) {
            this(
                    message,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    artifact.getType(),
                    artifact.getClassifier(),
                    null,
                    artifact.getDownloadUrl(),
                    artifact.getDependencyTrail());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top