- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 180 for when (0.15 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
api/maven-api-model/src/main/mdo/maven.mdo
<description> Specifies that this profile will be activated when a matching JDK is detected. For example, {@code 1.4} only activates on JDKs versioned 1.4, while {@code !1.4} matches any JDK that is not version 1.4. Ranges are supported too: {@code [1.5,)} activates when the JDK is 1.5 minimum. </description> </field> <field>
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) -
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) -
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) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java
* unique within a single POM. Upon multiple declarations, 2.x just kept the last one but retained the order of * the first occurrence. So when we're in lenient/compat mode, we have to deal with such broken POMs and mimic * the way 2.x works. When we're in strict mode, the removal of duplicates just saves other merging steps from * aftereffects and bogus error messages. */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.3K bytes - Viewed (0)