- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for toRepos (0.07 sec)
-
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
} public static List<RemoteRepository> toRepos(List<ArtifactRepository> repos) { return Optional.ofNullable(repos).orElse(Collections.emptyList()).stream() .map(RepositoryUtils::toRepo) .collect(Collectors.toList()); } public static RemoteRepository toRepo(ArtifactRepository repo) { RemoteRepository result = null;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
InternalSession iSession = new SimpleSession(mSession, repoSystem, null); InternalSession.associate(repoSession, iSession); List<RemoteRepository> repositories = RepositoryUtils.toRepos(request.getPluginArtifactRepositories()); Function<String, String> interpolator = createInterpolator(request);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
ArtifactRequest artifactRequest = new ArtifactRequest(); artifactRequest.setArtifact(RepositoryUtils.toArtifact(artifact)); artifactRequest.setRepositories(RepositoryUtils.toRepos(remoteRepositories)); // Maven 2.x quirk: an artifact always points at the local repo, regardless whether resolved or not LocalRepositoryManager lrm = session.getLocalRepositoryManager();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 24.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java
} } private org.apache.maven.repository.Proxy getProxy(ProxySelector selector, ArtifactRepository repository) { if (selector != null) { RemoteRepository repo = RepositoryUtils.toRepo(repository); org.eclipse.aether.repository.Proxy proxy = selector.getProxy(repo); if (proxy != null) { org.apache.maven.repository.Proxy p = new org.apache.maven.repository.Proxy();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
// eaten, handled by repo system } else { request.addMetadata(new MetadataBridge(metadata)); } } RemoteRepository remoteRepo = RepositoryUtils.toRepo(deploymentRepository); /* * NOTE: This provides backward-compat with maven-deploy-plugin:2.4 which bypasses the repository factory when * using an alternative deployment location. */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
repositorySystem, remoteRepositories, remoteRepositories == null ? map(session.getRequest().getRemoteRepositories(), RepositoryUtils::toRepo) : null, lookup); this.mavenSession = session; this.mavenRepositorySystem = mavenRepositorySystem; this.runtimeInformation = runtimeInformation; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.6K bytes - Viewed (0)