Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 886 for System (0.06 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        List<ArtifactRepository> getPluginArtifactRepositories();
    
        /**
         * Sets the system properties to use for interpolation and profile activation. The system properties are collected
         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @param systemProperties The system properties, may be {@code null}.
         * @return This request, never {@code null}.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

    /**
     * A Clock implementation that combines monotonic timing with wall-clock time.
     * <p>
     * This class provides precise time measurements using {@link System#nanoTime()}
     * while maintaining wall-clock time information in UTC. The wall-clock time
     * is computed from the monotonic duration since system start to ensure consistency
     * between time measurements.
     * <p>
     * This implementation is singleton-based and always uses UTC timezone. The clock
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

            // can be read from the cache.
            System.out.println("Force cache: true");
            clientForCall = client.newBuilder()
                .addNetworkInterceptor(REWRITE_CACHE_CONTROL_INTERCEPTOR)
                .build();
          } else {
            System.out.println("Force cache: false");
            clientForCall = client;
          }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

          response2Body = response2.body().string();
          System.out.println("Response 2 response:          " + response2);
          System.out.println("Response 2 cache response:    " + response2.cacheResponse());
          System.out.println("Response 2 network response:  " + response2.networkResponse());
        }
    
        System.out.println("Response 2 equals Response 1? " + response1Body.equals(response2Body));
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 2.4K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java

                    Collections.singletonList(system),
                    nonTransitiveDependencyScopes));
            result.add(internalScopeManager.createResolutionScope(
                    RS_MAIN_COMPILE_PLUS_RUNTIME,
                    InternalScopeManager.Mode.ELIMINATE,
                    byProjectPath(CommonBuilds.PROJECT_PATH_MAIN),
                    Collections.singletonList(system),
                    nonTransitiveDependencyScopes));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

            InvokerRequest invokerRequest =
                    subject.parseInvocation(ParserRequest.mvn(Arrays.asList("-e", "-X"), mock(MessageBuilderFactory.class))
                            .cwd(Path.of(System.getProperty("userDir")))
                            .userHome(Path.of(System.getProperty("userHome")))
                            .build());
    
            Assertions.assertTrue(invokerRequest.options().isPresent());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

                    singleton(CommonBuilds.PROJECT_PATH_TEST, CommonBuilds.BUILD_PATH_COMPILE)));
    
            // system
            result.add(internalScopeManager.createSystemDependencyScope(
                    DependencyScope.SYSTEM.id(),
                    DependencyScope.SYSTEM.isTransitive(),
                    all(),
                    MavenArtifactProperties.LOCAL_PATH));
    
            // == sanity check
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        @Nonnull
        Map<String, String> userProperties();
    
        /**
         * Returns a map of system properties for the Maven execution.
         * These include both Java system properties and Maven-specific system properties.
         *
         * @return an unmodifiable map of system properties
         */
        @Nonnull
        Map<String, String> systemProperties();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. container-tests/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Mar 17 14:46:34 GMT 2024
    - 1.1K bytes
    - Click Count (1)
  10. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java

    @PlexusTest
    public abstract class AbstractRepositoryTestCase {
        @Inject
        protected RepositorySystem system;
    
        @Inject
        protected PlexusContainer container;
    
        protected RepositorySystemSession session;
    
        @BeforeEach
        public void setUp() throws Exception {
            session = newMavenRepositorySystemSession(system);
        }
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
Back to Top