- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for createRemote (0.04 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryFactory.java
@Experimental public interface RepositoryFactory extends Service { @Nonnull LocalRepository createLocal(@Nonnull Path path); @Nonnull RemoteRepository createRemote(@Nonnull String id, @Nonnull String url); @Nonnull RemoteRepository createRemote(@Nonnull Repository repository); @Nonnull List<RemoteRepository> aggregate( @Nonnull Session session,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
/** * Shortcut for {@code getService(RepositoryFactory.class).createRemote(...)}. * * @param id identifier of the remote repository to create * @param url location of the remote repository * @return remote repository that can be used to download or upload artifacts * * @see org.apache.maven.api.services.RepositoryFactory#createRemote(String, String) */ @NonnullRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
session.createRemoteRepository(RemoteRepository.CENTRAL_ID, "https://repo.maven.apache.org/maven2"); RemoteRepository snapshots = session.getService(RepositoryFactory.class) .createRemote(Repository.newBuilder() .id("apache-snapshots") .url("https://repository.apache.org/content/repositories/snapshots/")
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 37K bytes - Viewed (0)