Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for When (0.18 sec)

  1. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerPrivateTest.java

            MavenExecutionRequest req = new DefaultMavenExecutionRequest();
            when(session.getRequest()).thenReturn(req);
    
            ToolchainPrivate basicToolchain = mock(ToolchainPrivate.class);
            when(toolchainFactory_basicType.createDefaultToolchain()).thenReturn(basicToolchain);
            ToolchainPrivate rareToolchain = mock(ToolchainPrivate.class);
            when(toolchainFactory_rareType.createDefaultToolchain()).thenReturn(rareToolchain);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            executionRequest.setToolchains(toolchainModels);
            when(session.getRequest()).thenReturn(executionRequest);
            ToolchainPrivate basicPrivate = mock(ToolchainPrivate.class);
            when(basicPrivate.matchesRequirements(ArgumentMatchers.<String, String>anyMap()))
                    .thenReturn(false)
                    .thenReturn(true);
            when(toolchainFactory_basicType.createToolchain(isA(ToolchainModel.class)))
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Apr 16 12:54:16 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

    import static org.mockito.Mockito.when;
    
    class ConsumerPomArtifactTransformerTest {
    
        @Test
        void transform() throws Exception {
            RepositorySystemSession systemSessionMock = Mockito.mock(RepositorySystemSession.class);
            SessionData sessionDataMock = Mockito.mock(SessionData.class);
            when(systemSessionMock.getData()).thenReturn(sessionDataMock);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

     * The cache is used for avoiding the need to reopen the same files many times when the
     * same dependency is used for different scope. For example a path used for compilation
     * is typically also used for tests.
     */
    class PathModularizationCache {
        /**
         * Module information for each JAR file or output directories.
         * Cached when first requested to avoid decoding the module descriptors multiple times.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. maven-core/src/site/apt/offline-mode.apt

      Find the control point for m2 using maven-wagon. At this point, inject
      a offline status parameter which is used when retrieving the specific Wagon.
    
      If <<<offline == true>>>:
    
      * If the wagon is not bound to "file://", then ignore the request and print
        a debug message.
    
      * If the wagon is bound to "file://" then:
    
        Retrieve the file or base-url file to be "downloaded".
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

            when(mavenExecutionRequest.getProjectActivation()).thenReturn(projectActivation);
            when(mavenExecutionRequest.getMakeBehavior()).thenReturn(parameterMakeBehavior);
            when(mavenExecutionRequest.getPom()).thenReturn(parameterRequestedPom);
            when(mavenExecutionRequest.isRecursive()).thenReturn(parameterRecursive);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 27.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * If no module is found, or if module information cannot be extracted, then this constructor
         * builds an empty map.
         *
         * <p>If the {@code resolve} parameter value is {@code false}, then some or all map values may
         * be null instead of the actual module name. This option can avoid the cost of reading module
         * descriptors when only the modules existence needs to be verified.</p>
         *
         * <p><b>Algorithm:</b>
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

     * The cache is used for avoiding the need to reopen the same files many times when the
     * same dependency is used for different scope. For example a path used for compilation
     * is typically also used for tests.
     */
    class PathModularizationCache {
        /**
         * Module information for each JAR file or output directories.
         * Cached when first requested to avoid decoding the module descriptors multiple times.
         *
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/mdo/maven.mdo

                Maven looks for the parent POM first in this location on
                the filesystem, then the local repository, and lastly in the remote repo.
                {@code relativePath} allows you to select a different location,
                for example when your structure is flat, or deeper without an intermediate parent POM.
                However, the group ID, artifact ID and version are still required,
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    i.<T>hasItems(itemMatchers); } /** * Creates a matcher that matches when the examined object is logically equal to the specified * <code>operand</code>, as determined by calling the {@link java.lang.Object#equals} method on * the <b>examined</b> object. * * <p>If the specified operand is <code>null</code> then the created matcher will only match if * the examined object's <code>equals</code> method returns <code>true</code> when passed a * <code>null</code> (which would be a violation of the <code>equals</code>...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
Back to top