- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for setRepositories (0.23 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
RemoteRepository r = (RemoteRepository) result.getRepository(); subRequest.setRepositories(Collections.singletonList(r)); } else { subRequest.setRepositories(request.getRepositories()); } VersionResult subResult = resolveVersion(session, subRequest);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java
Model target = new Model(); target.setRepositories( Arrays.asList( repository ) ); Model source = new Model(); source.setRepositories( Arrays.asList( repository ) ); modelMerger.merge( target, source, true, null ); assertThat( target.getRepositories(), contains( repository ) ); } @Test public void mergeSameRoles()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java
public List<ArtifactRepository> getRepositories() { if (repositories == null) { return Collections.emptyList(); } return Collections.unmodifiableList(repositories); } public MetadataResolutionResult setRepositories(final List<ArtifactRepository> repositories) { this.repositories = repositories;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java
public List<ArtifactRepository> getRepositories() { if (repositories == null) { return Collections.emptyList(); } return Collections.unmodifiableList(repositories); } public ArtifactResolutionResult setRepositories(final List<ArtifactRepository> repositories) { this.repositories = repositories;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
try { 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
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/ReverseTreeRepositoryListener.java
if (artifactRequest != null && artifactRequest.getRepositories() != null) { repositories.addAll(artifactRequest.getRepositories()); } else if (artifactDescriptorRequest != null && artifactDescriptorRequest.getRepositories() != null) { repositories.addAll(artifactDescriptorRequest.getRepositories()); } if (!repositories.isEmpty()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
List<MetadataRequest> metadataRequests = new ArrayList<>(request.getRepositories().size()); metadataRequests.add(new MetadataRequest(metadata, null, request.getRequestContext())); for (RemoteRepository repository : request.getRepositories()) { MetadataRequest metadataRequest = new MetadataRequest(metadata, repository, request.getRequestContext());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java
@Experimental public interface VersionRangeResolverRequest { @Nonnull Session getSession(); @Nonnull ArtifactCoordinates getArtifactCoordinates(); @Nullable List<RemoteRepository> getRepositories(); @Nonnull static VersionRangeResolverRequest build( @Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates) { return build(session, artifactCoordinates, null); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 4.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java
@Experimental public interface VersionResolverRequest { @Nonnull Session getSession(); @Nonnull ArtifactCoordinates getArtifactCoordinates(); @Nullable List<RemoteRepository> getRepositories(); @Nonnull static VersionResolverRequest build(@Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates) { return builder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java
@Immutable public interface ArtifactResolverRequest { @Nonnull Session getSession(); @Nonnull Collection<? extends ArtifactCoordinates> getCoordinates(); @Nonnull List<RemoteRepository> getRepositories(); @Nonnull static ArtifactResolverRequestBuilder builder() { return new ArtifactResolverRequestBuilder(); } @Nonnull static ArtifactResolverRequest build(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 4.6K bytes - Viewed (0)