Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 155 for GetVersion (0.08 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

                Artifact artifact = (Artifact) iter.next();
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

                MapProperty<String, String> replacementTokens = task.getReplacementTokens();
                replacementTokens.put("version", moduleIdentity.getVersion().map(GradleVersion::getVersion));
                replacementTokens.put("baseVersion", moduleIdentity.getVersion().map(v -> v.getBaseVersion().getVersion()));
    
                task.getDestinationFile().convention(extension.getStagingRoot().file("release-notes/release-notes.html"));
            });
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 08:15:16 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

        }
    
        @Override
        public String getVersion() {
            if (version != null) {
                return version;
            } else {
                return artifact.getVersion();
            }
        }
    
        // Revise these three methods when MRESOLVER-233 is delivered
        @Override
        public Artifact setVersion(String version) {
            String current = getVersion();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

                if (bound == null) {
                    return null;
                }
                return new Boundary() {
                    @Override
                    public Version getVersion() {
                        return new DefaultVersion(versionScheme, bound.getVersion());
                    }
    
                    @Override
                    public boolean isInclusive() {
                        return bound.isInclusive();
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            source.setArtifactId("source-artifact");
            source.setGroupId("source-group");
            source.setVersion("2.0");
            assertFalse(target.merge(source));
            assertEquals("myArtifact", target.getArtifactId());
            assertEquals("myGroup", target.getGroupId());
            assertEquals("1.0-SNAPSHOT", target.getVersion());
        }
        /*--- END test common metadata ---*/
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

         */
        @Nonnull
        Version getVersion();
    
        /**
         * {@return the version or meta-version of the artifact}
         * A meta-version is a version suffixed with the {@code SNAPSHOT} keyword.
         * Meta-versions are represented in a base version by their symbols (e.g., {@code SNAPSHOT}),
         * while they are replaced by, for example, the actual timestamp in the {@linkplain #getVersion() version}.
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    versionRequest.setTrace(trace);
                    VersionResult versionResult = versionResolver.resolveVersion(session, versionRequest);
    
                    a = a.setVersion(versionResult.getVersion());
    
                    versionRequest =
                            new VersionRequest(pomArtifact, request.getRepositories(), request.getRequestContext());
                    versionRequest.setTrace(trace);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top