- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for withLocalRepository (0.21 sec)
-
api/maven-api-settings/src/test/java/org/apache/maven/api/settings/SettingsTest.java
@Test void testSetLocalRepository() { Settings s = Settings.newInstance(); s = s.withLocalRepository("xxx"); assertEquals("xxx", s.getLocalRepository()); s = s.withLocalRepository("yyy"); assertEquals("yyy", s.getLocalRepository()); s = s.withLocalRepository(null); assertNull(s.getLocalRepository()); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 1.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstaller.java
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; /** * Installs {@link Artifact}s to the local repository. * * @since 4.0.0 * @see Session#withLocalRepository(org.apache.maven.api.LocalRepository) */ @Experimental public interface ArtifactInstaller extends Service { /** * @param request {@link ArtifactInstallerRequest}
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Nov 17 15:52:15 GMT 2023 - 2.9K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java
RemoteRepository remoteRepository = s.createRemoteRepository( RemoteRepository.CENTRAL_ID, remoteRepoPath.toUri().toString()); session = s.withLocalRepository(localRepository).withRemoteRepositories(List.of(remoteRepository)); } @Test void testResolveParentThrowsModelResolverExceptionWhenNotFound() throws Exception {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 8.6K bytes - Viewed (0)