- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for sdkVersion (0.2 sec)
-
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) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java
@Override @BeforeEach void setUp() throws Exception { activator = new JdkVersionProfileActivator(); } private Profile newProfile(String jdkVersion) { Activation a = Activation.newBuilder().jdk(jdkVersion).build(); Profile p = Profile.newBuilder().activation(a).build(); return p; } private Properties newProperties(String javaVersion) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9K bytes - Viewed (0)