- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 122 for When (0.12 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-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) -
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) -
maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java
/** * @since 3.2.2 * @deprecated This got added when implementing MNG-2199 and is no longer used. * Commit 6cf9320942c34bc68205425ab696b1712ace9ba4 updated the way 'MavenProject' objects are initialized. */ @Deprecated boolean isResolveVersionRanges(); /** * @since 3.2.2 * @deprecated This got added when implementing MNG-2199 and is no longer used.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationException.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.configuration; /** * Thrown when a bean couldn't be configured. * */ public class BeanConfigurationException extends Exception { public BeanConfigurationException(String message) { super(message); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.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) -
api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/Nonnull.java
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * The annotated element must not be null. * <p> * Annotated fields must not be null after construction has completed. * <p> * When this annotation is applied to a method it applies to the method return value. * * @see Nullable * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS)
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 1.4K bytes - Viewed (0)