Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 255 for strategy (0.04 sec)

  1. compat/maven-compat/src/test/resources/org/apache/maven/artifact/resolver/ArtifactUpdatePolicyTest.xml

        <component>
          <role>org.apache.maven.wagon.Wagon</role>
          <role-hint>testfile</role-hint>
          <implementation>org.apache.maven.artifact.resolver.TestFileWagon</implementation>
          <instantiation-strategy>per-lookup</instantiation-strategy>
        </component>
      </components>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          serialTaskQueue.remove(yieldCompleteTask)
        }
    
        // If we're yielding until we're exhausted and a task run, keep going until a task doesn't run.
        if (strategy == ResumePriority.AfterOtherTasks && otherTasksStarted) {
          return yieldUntil(strategy, condition)
        }
      }
    
      private enum class ResumePriority {
        /** Resumes as soon as the condition is satisfied. */
        BeforeOtherTasks,
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            for (String strategy : strategies) {
                props.setProperty("jcifs.smb.client.loadBalancingStrategy", strategy);
                PropertyConfiguration config = new PropertyConfiguration(props);
                assertEquals(strategy, config.getLoadBalancingStrategy());
            }
    
            // Test case insensitivity
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtension.java

         * The artifact ID of the extension.
         */
        private String artifactId;
    
        /**
         * The version of the extension.
         */
        private String version;
    
        /**
         * The class loading strategy: 'self-first' (the default),
         * 'parent-first' (loads classes from the parent, then from the
         * extension) or 'plugin' (follows the rules from extensions
         * defined as plugins).
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

        },
        STRING_BUILDER {
          @Override
          Appendable get(int sz) {
            return new StringBuilder(sz);
          }
        };
    
        abstract Appendable get(int sz);
      }
    
      @Param CopyStrategy strategy;
      @Param TargetSupplier target;
    
      @Param({"10", "1024", "1048576"})
      int size;
    
      String data;
    
      @BeforeExperiment
      public void setUp() {
        // precalculate some random strings of ascii characters.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/package-info.java

     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.Help} - Displays usage information</li>
     * </ul>
     *
     * <h3>Upgrade Strategies</h3>
     * <p>The tool uses a strategy pattern to handle different types of upgrades:</p>
     * <ul>
     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.ModelUpgradeStrategy} - Upgrades POM model versions (4.0.0 → 4.1.0)</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                        "4.0.0" // --model (conflicts with --all)
                        ));
    
                // --all should take precedence and make strategy applicable
                assertTrue(
                        strategy.isApplicable(context),
                        "Strategy should be applicable when --all is set, regardless of other options");
            }
        }
    
        @Nested
        @DisplayName("Model Version Upgrades")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 38.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

    import org.eclipse.aether.resolution.ArtifactResolutionException;
    import org.eclipse.aether.transfer.ArtifactNotFoundException;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Strategy for collecting Maven projects from the multi-module project root, even when executed in a submodule.
     */
    @Named("MultiModuleCollectionStrategy")
    @Singleton
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                Path pomFile = projectDir.resolve("pom.xml");
                Files.writeString(pomFile, pomXml);
    
                UpgradeContext context = createMockContext(projectDir);
    
                // Mock successful strategy execution
                when(mockOrchestrator.executeStrategies(Mockito.any(), Mockito.any()))
                        .thenReturn(UpgradeResult.empty());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  10. .github/workflows/maven.yml

    name: Java CI with Maven
    
    on:
      push:
        branches:
        - master
        - "*.x"
      pull_request:
        branches:
        - master
        - "*.x"
    
    jobs:
      build:
        runs-on: ${{ matrix.os }}
    
        strategy:
          matrix:
            os: [ubuntu-latest, windows-latest]
    
        steps:
        - uses: actions/checkout@v4
        - name: Set up JDK 17
          uses: actions/setup-java@v4
          with:
            java-version: '17'
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 677 bytes
    - Viewed (0)
Back to top