- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 36 for setRepository (0.07 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
clone.setDependencyFilter(artifact.getDependencyFilter()); clone.setDependencyTrail(copyList(artifact.getDependencyTrail())); clone.setDownloadUrl(artifact.getDownloadUrl()); clone.setRepository(artifact.getRepository()); return clone; } /** * Copy artifact to a collection. * * @param <T> the target collection type * @param from an artifact collection
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
} @Override public File getFile() { return file; } @Override public ArtifactRepository getRepository() { return repository; } @Override public void setRepository(ArtifactRepository repository) { this.repository = repository; } // ---------------------------------------------------------------------- //
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
resolveResult = artifactResolver.resolveArtifact(session, resolveRequest); pomArtifact = resolveResult.getArtifact(); result.setRepository(resolveResult.getRepository()); } catch (ArtifactResolutionException e) { if (e.getCause() instanceof ArtifactNotFoundException) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
try { getArtifact(artifact, repository, downloadMonitor, force); if (artifact.isResolved()) { artifact.setRepository(repository); break; } } catch (ResourceDoesNotExistException e) { // This one we will eat when looking through remote repositories
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java
} public void artifactDownloading(RepositoryEvent event) { println("artifactDownloading", event.getArtifact() + " from " + event.getRepository()); } public void artifactDownloaded(RepositoryEvent event) { println("artifactDownloaded", event.getArtifact() + " from " + event.getRepository()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
String context = request.getContext(); RemoteRepository remote = request.getRepository(); if (remote != null) { path = getPathForRemoteMetadata(metadata, remote, context); } else { path = getPathForLocalMetadata(metadata); } File file = new File(getRepository().getBasedir(), path); if (file.isFile()) { result.setFile(file);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
Metadata metadata = request.getMetadata(); String path; if (request.getRepository() == null) { path = getPathForLocalMetadata(metadata); } else { path = getPathForRemoteMetadata(metadata, request.getRepository(), request.getContext()); } File file = new File(getRepository().getBasedir(), path); LocalMetadataResult result = new LocalMetadataResult(request);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java
* * @since 4.0.0 */ @Experimental @Immutable public interface ArtifactDeployerRequest { @Nonnull Session getSession(); @Nonnull RemoteRepository getRepository(); @Nonnull Collection<ProducedArtifact> getArtifacts(); int getRetryFailedDeploymentCount(); @Nonnull static ArtifactDeployerRequestBuilder builder() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 4.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverResult.java
*/ @Experimental public interface VersionResolverResult { @Nonnull List<Exception> getExceptions(); @Nonnull Version getVersion(); @Nonnull Optional<Repository> getRepository();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java
String message = artifact.getArtifactId() + ": resolved to version " + version; if (artifact.getRepository() != null) { message += " from repository " + artifact.getRepository().getId(); } else { message += " from local repository"; } getLogger().debug(message);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0)