Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 289 for Upgrade (0.05 seconds)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

    import org.apache.maven.api.cli.Options;
    
    /**
     * Defines the options specific to the Maven upgrade tool.
     * This interface extends the general {@link Options} interface, adding upgrade-specific configuration options.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface UpgradeOptions extends Options {
        /**
         * Returns the list of upgrade goals to be executed.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

      }
    
      @Test
      fun upgradeHttps() {
        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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  3. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 05 16:02:59 GMT 2025
    - 36.2K bytes
    - Click Count (2)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Integration tests for the complete upgrade workflow.
     * These tests verify end-to-end behavior with real strategy implementations.
     */
    @DisplayName("Upgrade Workflow Integration")
    class UpgradeWorkflowIntegrationTest {
    
        @TempDir
        Path tempDir;
    
        private Apply applyGoal;
        private Check checkGoal;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/package-info.java

     * under the License.
     */
    
    /**
     * Provides the API for the Maven Upgrade tool ({@code mvnup}).
     *
     * <p>This package contains interfaces and classes for the Maven upgrade tool,
     * which provides functionality for upgrading Maven projects and dependencies.</p>
     *
     * <p>Key features include:</p>
     * <ul>
     *   <li>Project upgrade capabilities</li>
     *   <li>Dependency version management</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

          ProtocolException::class.java,
          "Expected 'Upgrade' header value 'websocket' but was 'null'",
        )
        webSocket.cancel()
      }
    
      @Test
      @Throws(IOException::class)
      fun wrongUpgradeHeader() {
        webServer.enqueue(
          MockResponse
            .Builder()
            .code(101)
            .setHeader("Connection", "Upgrade")
            .setHeader("Upgrade", "Pepsi")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top