- 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/classrealm/DefaultClassRealmManagerTest.java
Artifact artifact = mock(Artifact.class); when(artifact.getFile()).thenReturn(new File(new File("local/repository"), "some/path")); when(artifact.getGroupId()).thenReturn("group1"); when(artifact.getArtifactId()).thenReturn("artifact1"); when(artifact.getExtension()).thenReturn("ext"); when(artifact.getClassifier()).thenReturn("classifier1"); when(artifact.getVersion()).thenReturn("1");
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Jan 10 12:53:42 GMT 2024 - 7.1K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListenerTest.java
when(session.getLocalRepository()).thenReturn(localRepository); Artifact localRepositoryArtifact = mock(Artifact.class); when(localRepositoryArtifact.getFile()).thenReturn(new File(baseDir, "some/path/within")); Artifact nonLocalReposioryArtifact = mock(Artifact.class);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 4.2K bytes - Viewed (0) -
maven-core/plugin-manager.txt
repository. During development in an IDE we would need layered resolution approach that would allow resolution from the workspace, then the local Maven repository and then from any number of remote Maven repositories. During development from the command line we would need a layered resolution approach that would allow resolution from the local Maven repository and then from any number of remote Maven repositories. In production the resolution for the dependencies could also be layered but would depend...
Plain Text - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Jul 18 22:45:13 GMT 2022 - 12.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; class ExclusionArtifactFilterTest { private Artifact artifact; private Artifact artifact2; @BeforeEach void setup() { artifact = mock(Artifact.class); when(artifact.getGroupId()).thenReturn("org.apache.maven"); when(artifact.getArtifactId()).thenReturn("maven-core");
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Aug 29 15:25:58 GMT 2023 - 6K bytes - Viewed (0) -
apache-maven/src/assembly/maven/conf/settings.xml
| This will determine whether maven prompts you when it needs input. If set to false, | maven will use a sensible default value, perhaps based on some other setting, for | the parameter in question. | | Default: true <interactiveMode>true</interactiveMode> --> <!-- offline | Determines whether maven should attempt to connect to the network when executing a build.
XML - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Jun 19 15:06:01 GMT 2023 - 11K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; class ProjectSelectorTest { private final ProjectSelector sut = new ProjectSelector(); private final MavenExecutionRequest mavenExecutionRequest = mock(MavenExecutionRequest.class); @Test void getBaseDirectoryFromRequestWhenDirectoryIsNullReturnNull() { when(mavenExecutionRequest.getBaseDirectory()).thenReturn(null);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 8.6K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar
org.hamcrest.core.SubstringMatcher T theInstance(T) - Static method in class org.hamcrest.core.IsSame Creates a matcher that matches only when the examined object is the same instance as the specified target object. theInstance(T) - Static method in class org.hamcrest.CoreMatchers Creates a matcher that matches only when the examined object is the same instance as the specified target object. then(Condition.Step<? super T, U>) - Method in class org.hamcrest.Condition toString() - Method in class org.hamcrest.BaseMatcher...
Archive - Registered: Sun Apr 14 03:35:08 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 236.8K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsBuilderFactoryTest.java
e -> e.getKey().toString(), e -> e.getValue().toString())); // lenient().when(session.getSystemProperties()).thenReturn(map); // lenient().when(session.getUserProperties()).thenReturn(Collections.emptyMap()); Mockito.lenient() .when(session.getService(SettingsXmlFactory.class)) .thenReturn(new DefaultSettingsXmlFactory()); } @Test
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 2.9K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/repository/Authentication.java
*/ private String password; /** * Get the user's password which is used when connecting to the repository. * * @return password of user */ public String getPassword() { return password; } /** * Set the user's password which is used when connecting to the repository. * * @param password password of the user */
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Nov 22 13:26:01 GMT 2022 - 3.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java
* @see BuildResumptionDataRepository * @return <code>true</code> when it is possible to resume the build, <code>false</code> otherwise. */ boolean canResume(); /** * Indicate that the build can or cannot be resumed by a second invocation of Maven. * @param canResume <code>true</code> when it is possible to resume the build, <code>false</code> otherwise. * @see BuildResumptionDataRepository
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.9K bytes - Viewed (0)