- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for toRemoteRepository (0.16 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java
return new DefaultArtifact(artifact.getGroupId(), artifact.getArtifactId(), "pom", artifact.getVersion()); } public static RemoteRepository toRemoteRepository(Repository repository) { RemoteRepository.Builder builder = new RemoteRepository.Builder(repository.getId(), repository.getLayout(), repository.getUrl());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
ArtifactTypeRegistry stereotypes = session.getArtifactTypeRegistry(); for (Repository r : model.getRepositories()) { result.addRepository(ArtifactDescriptorUtils.toRemoteRepository(r)); } for (org.apache.maven.model.Dependency dependency : model.getDependencies()) { result.addDependency(convert(dependency, stereotypes)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
removeMatchingRepository(repositories, repository.getId()); } List<RemoteRepository> newRepositories = Collections.singletonList( ArtifactDescriptorUtils.toRemoteRepository(new org.apache.maven.model.Repository(repository))); this.repositories = remoteRepositoryManager.aggregateRepositories(session, repositories, newRepositories, true); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.5K bytes - Viewed (0)