Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 120 for Upgrade (0.05 seconds)

  1. .github/workflows/upgrade-to-latest-wrapper.yml

    name: Upgrade to latest wrapper
    
    on:
      schedule:
        - cron: '0 4 * * *'
      workflow_dispatch:
    
    permissions:
      contents: write
    
    jobs:
      upgrade-latest-wrapper:
        runs-on: ubuntu-latest
    
        if: github.repository == 'gradle/gradle'
    
        steps:
          - name: Checkout repository
            uses: actions/checkout@v6
            with:
              ref: devprod/upgrade-to-latest-wrapper
              token: ${{ secrets.GITHUB_TOKEN }}
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Nov 20 22:15:20 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                if (isVersionBelow(currentVersion, upgrade.minVersion)) {
                    Editor editor = new Editor(pomDocument);
                    editor.setTextContent(versionElement, upgrade.minVersion);
                    context.detail("Upgraded " + upgrade.groupId + ":" + upgrade.artifactId + " from " + currentVersion
                            + " to " + upgrade.minVersion + " in " + sectionName);
                    return true;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

            }
    
            @Test
            @DisplayName("should have valid plugin upgrade definitions")
            void shouldHaveValidPluginUpgradeDefinitions() throws Exception {
                List<PluginUpgrade> upgrades = PluginUpgradeStrategy.getPluginUpgrades();
    
                for (PluginUpgrade upgrade : upgrades) {
                    assertNotNull(upgrade.groupId(), "Plugin upgrade should have groupId");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                            context.unindent();
                        }
                        context.success("Model upgrade completed");
                        modifiedPoms.add(pomPath);
                    } else {
                        // Treat invalid upgrades (including downgrades) as errors, not warnings
                        context.failure("Cannot upgrade from " + currentVersion + " to " + targetModelVersion);
                        errorPoms.add(pomPath);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

        }
    
        /**
         * Creates upgrade options with only the --all flag set.
         *
         * @param all the --all option value
         * @return configured upgrade options
         */
        public static UpgradeOptions createOptionsWithAll(boolean all) {
            return createOptions(all, null, null, null, null);
        }
    
        /**
         * Creates upgrade options with only the --model-version option set.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

     * </pre>
     */
    public interface UpgradeStrategy {
    
        /**
         * Applies the upgrade strategy to all eligible POMs.
         *
         * @param context the upgrade context
         * @param pomMap map of all POM files in the project (domtrip Documents)
         * @return the result of the upgrade operation
         */
        UpgradeResult apply(UpgradeContext context, Map<Path, Document> pomMap);
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

        }
    
        /**
         * Subclasses implement the actual upgrade logic here.
         *
         * @param context the upgrade context
         * @param pomMap map of all POM files in the project
         * @return the result of the upgrade operation
         */
        protected abstract UpgradeResult doApply(UpgradeContext context, Map<Path, Document> pomMap);
    
        /**
         * Gets the upgrade options from the context.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

        platform.assumeNotBouncyCastle()
    
        enableTls(Protocol.HTTP_1_1)
        upgrade()
      }
    
      @Test
      fun upgradeRefusedByServer() {
        server.enqueue(MockResponse(body = "normal request"))
        val requestWithUpgrade =
          Request
            .Builder()
            .url(server.url("/"))
            .header("Connection", "upgrade")
            .build()
        client.newCall(requestWithUpgrade).execute().use { response ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 08 21:07:01 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

            this.strategies = strategies;
        }
    
        /**
         * Executes all applicable upgrade strategies in priority order.
         * Each strategy is checked for applicability before execution.
         *
         * @param context the upgrade context
         * @param pomMap map of all POM files in the project
         * @return the overall result of all strategy executions
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. CHANGELOG.md

        `StrictMode` to detect if your `OkHttpClient` is being initialized on the main thread.
    
     *  Upgrade: [Okio 3.12.0][okio_3_12_0].
    
     *  Upgrade: [Kotlin 2.1.21][kotlin_2_1_21].
    
     *  Upgrade: [kotlinx.coroutines 1.10.2][coroutines_1_10_2]. This is used by the optional
        `okhttp-coroutines` artifact.
    
     *  Upgrade: [AndroidX Startup 1.2.0][startup_1_2_0]. The Android variant of the `okhttp` artifact
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
Back to Top