Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 112 for getArtifact (1.98 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

        @Inject
        private UpdateCheckManager updateCheckManager;
    
        @Inject
        private LegacySupport legacySupport;
    
        //
        // Retriever
        //
        @Override
        public void getArtifact(
                Artifact artifact, ArtifactRepository repository, TransferListener downloadMonitor, boolean force)
                throws TransferFailedException, ResourceDoesNotExistException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

            setOffline(request.isOffline());
            setForceUpdate(request.isForceUpdate());
        }
    
        public Artifact getArtifact() {
            return artifact;
        }
    
        public ArtifactResolutionRequest setArtifact(Artifact artifact) {
            this.artifact = artifact;
    
            return this;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

            ArtifactCoordinates getCoordinates();
    
            /**
             * Returns the resolved artifact.
             *
             * @return The {@link DownloadedArtifact} instance.
             */
            DownloadedArtifact getArtifact();
    
            /**
             * Returns a mapping of repositories to the exceptions encountered while resolving the artifact.
             *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

            }
            if (downloadUrl != null && !downloadUrl.isEmpty()) {
                Artifact artifact = result.getArtifact();
                Map<String, String> props = new HashMap<>(artifact.getProperties());
                props.put(ArtifactProperties.DOWNLOAD_URL, downloadUrl);
                result.setArtifact(artifact.setProperties(props));
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Mar 20 22:29:18 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

     */
    @Experimental
    @Immutable
    @Provider
    public interface Node {
    
        /**
         * @return artifact for this node
         */
        @Nullable
        Artifact getArtifact();
    
        /**
         * @return dependency for this node
         */
        @Nullable
        Dependency getDependency();
    
        /**
         * Gets the child nodes of this node.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                setOriginalModel(project.getOriginalModel());
            }
    
            setExecutionRoot(project.isExecutionRoot());
    
            if (project.getArtifact() != null) {
                setArtifact(ArtifactUtils.copyArtifact(project.getArtifact()));
            }
    
            if (project.getManagedVersionMap() != null) {
                setManagedVersionMap(project.getManagedVersionMap());
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

            try {
                ArtifactRequest request = new ArtifactRequest(pomArtifact, repositories, context);
                request.setTrace(trace);
                pomArtifact = resolver.resolveArtifact(session, request).getArtifact();
            } catch (ArtifactResolutionException e) {
                throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e);
            }
    
            Path pomFile = pomArtifact.getPath();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Apr 14 13:42:17 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                    .computeIfAbsent(getClass().getName() + ".relocations", () -> parseRelocations(session));
            if (relocations != null) {
                Artifact original = artifactDescriptorResult.getRequest().getArtifact();
                Relocation relocation = relocations.getRelocation(original);
                if (relocation != null
                        && (isProjectContext(artifactDescriptorResult.getRequest().getRequestContext())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

        }
    
        @Override
        public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) {
            String path = getPathForLocalArtifact(request.getArtifact());
            File file = new File(getRepository().getBasedir(), path);
    
            LocalArtifactResult result = new LocalArtifactResult(request);
            if (file.isFile()) {
                result.setFile(file);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                    artifact.getClassifier(),
                    remoteRepositories,
                    artifact.getDependencyTrail(),
                    t);
            this.artifact = artifact;
        }
    
        public Artifact getArtifact() {
            return artifact;
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public String getArtifactId() {
            return artifactId;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Apr 01 21:22:14 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top