Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 91 for GetVersion (4.49 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        }
    
        @Override
        public String getArtifactId() {
            return metadata.storedInGroupDirectory() ? "" : emptify(metadata.getArtifactId());
        }
    
        @Override
        public String getVersion() {
            return metadata.storedInArtifactVersionDirectory() ? emptify(metadata.getBaseVersion()) : "";
        }
    
        @Override
        public String getType() {
            return metadata.getRemoteFilename();
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                    relatedMetadata.put(snapshotKey, (MergeableMetadata) metadata);
                }
            }
    
            artifact.setResolvedVersion(result.getArtifacts().iterator().next().getVersion());
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverResult.java

    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionResolverResult extends Result<VersionResolverRequest> {
    
        @Nonnull
        List<Exception> getExceptions();
    
        @Nonnull
        Version getVersion();
    
        @Nonnull
        Optional<Repository> getRepository();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

            String ext = dot >= 1 ? name.substring(dot + 1) : "";
            ProducedArtifact artifact = session.createProducedArtifact(
                    project.getGroupId(), project.getArtifactId(), project.getVersion(), ext);
            attachArtifact(project, artifact, path);
        }
    
        /**
         * Attaches an artifact to the project with an explicitly specified type.
         *
         * @param session the current build session
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

        @Nonnull
        @Override
        String toString();
    
        /**
         * Represents range boundary.
         */
        interface Boundary {
            /**
             * The bounding version.
             */
            Version getVersion();
    
            /**
             * Returns {@code true} if version is included of the range.
             */
            boolean isInclusive();
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                    .groupId(requireNonNull(dependency, "dependency").getGroupId())
                    .artifactId(dependency.getArtifactId())
                    .version(dependency.getVersion().toString())
                    .classifier(dependency.getClassifier())
                    .extension(dependency.getExtension())
                    .type(dependency.getType().id())
                    .scope(dependency.getScope().id())
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. 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();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 25K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java

            return create(ArtifactCoordinatesFactoryRequest.build(
                    session,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion().toString(),
                    artifact.getClassifier(),
                    artifact.getExtension(),
                    null));
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                    os.setArch(profileOs.getArch());
                    os.setFamily(profileOs.getFamily());
                    os.setName(profileOs.getName());
                    os.setVersion(profileOs.getVersion());
    
                    activation.setOs(os);
                }
    
                org.apache.maven.profiles.ActivationFile profileFile = profileActivation.getFile();
    
                if (profileFile != null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. 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) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top