Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 199 for setVersion (0.14 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    Plugin existing = plugins.get(plugin);
                    if (existing != null) {
                        if (existing.getVersion() == null) {
                            existing.setVersion(plugin.getVersion());
                            existing.setLocation("version", location);
                        }
                        plugin = existing;
                    } else {
                        plugins.put(plugin, plugin);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java

            CoreExtension oldExtension = new CoreExtension();
            oldExtension.setGroupId(extension.getGroupId());
            oldExtension.setArtifactId(extension.getArtifactId());
            oldExtension.setVersion(extension.getVersion());
            if (extension.getClassLoadingStrategy() != null) {
                oldExtension.setClassLoadingStrategy(extension.getClassLoadingStrategy());
            }
            this.extension = oldExtension;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestMavenWorkspaceReader.java

                    && ARTIFACT_ID.equals(artifact.getArtifactId())
                    && VERSION.equals(artifact.getVersion())) {
                Model m = new Model();
                m.setArtifactId(ARTIFACT_ID);
                m.setGroupId(GROUP_ID);
                m.setVersion(VERSION);
                Repository repository = new Repository();
                repository.setId(REPO_ID);
                repository.setUrl(REPO_URL);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSnapshotMetadata.java

            metadata.setArtifactId(artifact.getArtifactId());
            metadata.setVersion(artifact.getBaseVersion());
    
            return metadata;
        }
    
        public void bind(Artifact artifact) {
            artifacts.add(artifact);
        }
    
        public Object getKey() {
            return getGroupId() + ':' + getArtifactId() + ':' + getVersion();
        }
    
        public static Object getKey(Artifact artifact) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  5. 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);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  6. 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) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/DistroTestPlugin.java

            String platform,
            String architecture
        ) {
            Jdk jdk = JdkDownloadPlugin.getContainer(project).create(platform + "-" + purpose);
            jdk.setVendor(vendor);
            jdk.setVersion(version);
            jdk.setPlatform(platform);
            jdk.setArchitecture(architecture);
    
            String taskname = "copy" + GUtils.capitalize(platform) + GUtils.capitalize(purpose) + "Jdk";
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 28 21:31:21 GMT 2021
    - 23.1K bytes
    - Click Count (0)
  8. build-tools-internal/src/test/java/org/elasticsearch/gradle/AbstractDistributionDownloadPluginTests.java

            NamedDomainObjectContainer<ElasticsearchDistribution> distros = DistributionDownloadPlugin.getContainer(project);
            return distros.create(name, distro -> {
                if (version != null) {
                    distro.setVersion(version);
                }
                if (type != null) {
                    distro.setType(type);
                }
                if (platform != null) {
                    distro.setPlatform(platform);
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 4.7K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                }
    
                SnapshotVersion sv = new SnapshotVersion();
                sv.setClassifier(artifact.getClassifier());
                sv.setExtension(artifact.getExtension());
                sv.setVersion(version);
                sv.setUpdated(lastUpdated);
    
                versions.put(getKey(sv.getClassifier(), sv.getExtension()), sv);
            }
    
            artifacts.clear();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

            if (artifact.isSnapshot() && artifact.getVersion().equals(artifact.getBaseVersion())) {
                Object key = RemoteSnapshotMetadata.getKey(artifact);
                RemoteSnapshotMetadata snapshotMetadata = snapshots.get(key);
                if (snapshotMetadata != null) {
                    artifact = artifact.setVersion(snapshotMetadata.getExpandedVersion(artifact));
                }
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top