Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for convertJdkToMavenVersion (0.2 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

            VersionRange jdkVersionRange = VersionRange.createFromVersionSpec(convertJdkToMavenVersion(jdk));
            DefaultArtifactVersion jdkVersion = new DefaultArtifactVersion(convertJdkToMavenVersion(getJdkVersion()));
            return jdkVersionRange.containsVersion(jdkVersion);
        }
    
        private String convertJdkToMavenVersion(String jdk) {
            return jdk.replace("_", "-");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top