Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for newVersion (0.25 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                mss = new MavenSession(repoSession, ms.getRequest(), ms.getResult());
            } else {
                mss = ms;
            }
            return newSession(mss, repositories);
        }
    
        protected Session newSession(MavenSession mavenSession, List<RemoteRepository> repositories) {
            return new DefaultSession(
                    nonNull(mavenSession),
                    getRepositorySystem(),
                    repositories,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java

         *
         * @deprecated This method is here only for legacy uses (like UTs), nothing else should use it.
         */
        @Deprecated
        public static DefaultRepositorySystemSession newSession() {
            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle
            MavenSessionBuilderSupplier builder = new MavenSessionBuilderSupplier();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilder.java

        String MODEL_VERSION_4_0_0 = "4.0.0";
    
        String MODEL_VERSION_4_1_0 = "4.1.0";
    
        List<String> VALID_MODEL_VERSIONS = List.of(MODEL_VERSION_4_0_0, MODEL_VERSION_4_1_0);
    
        ModelBuilderSession newSession();
    
        interface ModelBuilderSession {
    
            ModelBuilderResult build(ModelBuilderRequest request) throws ModelBuilderException;
        }
    
        Model buildRawModel(ModelBuilderRequest request);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSessionFactory.java

            this.mavenRepositorySystem = mavenRepositorySystem;
            this.lookup = lookup;
            this.runtimeInformation = runtimeInformation;
        }
    
        public InternalSession newSession(MavenSession mavenSession) {
            InternalSession session = new DefaultSession(
                    mavenSession, repositorySystem, null, mavenRepositorySystem, lookup, runtimeInformation);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            File localRepo = new File(request.getLocalRepository().getBasedir());
            DefaultRepositorySystemSession session = MavenRepositorySystemUtils.newSession();
            session.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo));
            request.setRepositorySession(session);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top