Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NewVersion (0.06 sec)

  1. build-logic-settings/UpdateDevelocityPluginVersion.java

                    content = content.replaceAll("com.gradle.develocity\"\\).version\\(\"[\\d\\.]*\"", "com.gradle.develocity\"\\).version\\(\"" + newVersion + '"');
    
                    Files.write(f.toPath(), content.getBytes());
                    System.out.println("Updated " + file + " to version " + newVersion);
                } else {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 07:58:50 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                }
    
                String newVersion = versionRangeResult.getHighestVersion().toString();
                if (!parent.getVersion().equals(newVersion)) {
                    modified.set(parent.withVersion(newVersion));
                }
    
                return resolveModel(parent.getGroupId(), parent.getArtifactId(), newVersion);
            } catch (final VersionRangeResolutionException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractVersionTest.java

        protected static final int X_EQ_Y = 0;
    
        protected static final int X_GT_Y = 1;
    
        protected abstract Version newVersion(String version);
    
        protected void assertOrder(int expected, String version1, String version2) {
            Version v1 = newVersion(version1);
            Version v2 = newVersion(version2);
    
            if (expected > 0) {
                assertEquals(1, Integer.signum(v1.compareTo(v2)), "expected " + v1 + " > " + v2);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

    /**
     */
    public class VersionTest extends AbstractVersionTest {
        private final ModelVersionParser modelVersionParser = new DefaultModelVersionParser(new GenericVersionScheme());
    
        protected Version newVersion(String version) {
            return modelVersionParser.parseVersion(version);
        }
    
        @Test
        void testEmptyVersion() {
            assertOrder(X_EQ_Y, "0", "");
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java

            }
        }
    
        private void assertContains(VersionRange range, String version) {
            assertTrue(range.contains(newVersion(version)), range + " should contain " + version);
        }
    
        private void assertNotContains(VersionRange range, String version) {
            assertFalse(range.contains(newVersion(version)), range + " should not contain " + version);
        }
    
        @Test
        void testLowerBoundInclusiveUpperBoundInclusive() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            if (snapshot != null) {
                if (snapshot.getTimestamp() != null && snapshot.getBuildNumber() > 0) {
                    String newVersion = snapshot.getTimestamp() + "-" + snapshot.getBuildNumber();
                    version = baseVersion.replace(Artifact.SNAPSHOT_VERSION, newVersion);
                } else {
                    version = baseVersion;
                }
            }
            return version;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. istioctl/pkg/install/k8sversion/version.go

    }
    
    // extractKubernetesVersion returns the Kubernetes minor version. For example, `v1.19.1` will return `19`
    func extractKubernetesVersion(versionInfo *version.Info) (int, error) {
    	ver, err := goversion.NewVersion(versionInfo.String())
    	if err != nil {
    		return 0, fmt.Errorf("could not parse %v", err)
    	}
    	// Segments provide slice of int eg: v1.19.1 => [1, 19, 1]
    	num := ver.Segments()[1]
    	return num, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 21:50:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top