Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,005 for getVersion (0.14 sec)

  1. maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

                }
            }
        }
    
        //
        // CI friendly versions
        //
        void handleCiFriendlyVersion(TransformerContext context, Model model) {
            String version = model.getVersion();
            String modVersion = replaceCiFriendlyVersion(context, version);
            model.setVersion(modVersion);
    
    Registered: 2024-06-12 09:55
    - Last Modified: 2023-11-07 08:20
    - 6.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecyclePluginResolver.java

                if (plugin.getVersion() == null) {
                    PluginVersionRequest request = new DefaultPluginVersionRequest(
                            plugin, session.getRepositorySession(), project.getRemotePluginRepositories());
                    plugin.setVersion(pluginVersionResolver.resolve(request).getVersion());
                }
                versions.put(plugin.getKey(), plugin.getVersion());
            }
    
    Registered: 2024-06-12 09:55
    - Last Modified: 2023-09-06 08:39
    - 3.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                                    parent.getVersion()),
                            parent.getGroupId(),
                            parent.getArtifactId(),
                            parent.getVersion());
                }
    
                String newVersion = versionRangeResult.getHighestVersion().toString();
                if (!parent.getVersion().equals(newVersion)) {
    Registered: 2024-06-12 09:55
    - Last Modified: 2024-04-25 14:13
    - 15.8K bytes
    - Viewed (0)
  4. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                                    parent.getVersion()),
                            parent.getGroupId(),
                            parent.getArtifactId(),
                            parent.getVersion());
                }
    
                String newVersion = versionRangeResult.getHighestVersion().toString();
                if (!parent.getVersion().equals(newVersion)) {
    Registered: 2024-06-12 09:55
    - Last Modified: 2024-02-26 17:04
    - 12.4K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/VersionHierarchyRootTest.groovy

                [(it): getVersion(it)]
            }
            def versionAtRootBefore = getVersion("/")
            when:
            updateVersions(invalidateLocation)
            then:
            changedLocationsWithAncestors.forEach {
                assert getVersion(it) > versionsBefore[it]
                assert getVersion(it) > versionAtRootBefore
            }
            unchangedLocations.forEach {
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-22 09:34
    - 4.9K bytes
    - Viewed (0)
  6. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                        resolve(result, infos, RELEASE);
                    }
    
                    if (result.getVersion() != null && result.getVersion().endsWith(SNAPSHOT)) {
                        VersionRequest subRequest = new VersionRequest();
                        subRequest.setArtifact(artifact.setVersion(result.getVersion()));
                        if (result.getRepository() instanceof RemoteRepository) {
    Registered: 2024-06-12 09:55
    - Last Modified: 2024-04-12 10:50
    - 20.2K bytes
    - Viewed (0)
  7. pkg/util/kernel/version.go

    	"k8s.io/apimachinery/pkg/util/version"
    )
    
    type readFileFunc func(string) ([]byte, error)
    
    // GetVersion returns currently running kernel version.
    func GetVersion() (*version.Version, error) {
    	return getVersion(os.ReadFile)
    }
    
    // getVersion reads os release file from the give readFile function.
    func getVersion(readFile readFileFunc) (*version.Version, error) {
    	kernelVersionFile := "/proc/sys/kernel/osrelease"
    Registered: 2024-06-15 01:39
    - Last Modified: 2023-10-27 19:24
    - 1.4K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/GradleVersionResolver.java

            if (version == null) {
                return GradleVersion.current().getVersion();
            }
            switch (version) {
                case LATEST:
                    return getVersion(latest.asString(), version);
                case NIGHTLY:
                    return getVersion(nightly.asString(), version);
                case RELEASE_NIGHTLY:
                    return getVersion(releaseNightly.asString(), version);
                case RELEASE_CANDIDATE:
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-01-16 15:14
    - 4K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/JvmProjectInitDescriptor.java

                    String scalaTestVersion = libraryVersionProvider.getVersion("scalatest");
                    String scalaTestPlusJunitVersion = libraryVersionProvider.getVersion("scalatestplus-junit");
                    String junitVersion = libraryVersionProvider.getVersion("junit");
                    String scalaXmlVersion = libraryVersionProvider.getVersion("scala-xml");
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-01-23 19:14
    - 16.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/versioning/VersionDetails.java

                return new R51VersionDetails(version.getVersion());
            }
            if (version.getBaseVersion().compareTo(GradleVersion.version("4.8")) >= 0) {
                return new R48VersionDetails(version.getVersion());
            }
            if (version.getBaseVersion().compareTo(GradleVersion.version("4.4")) >= 0) {
                return new R44VersionDetails(version.getVersion());
            }
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-26 14:49
    - 4.7K bytes
    - Viewed (0)
Back to top