Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for getArtifact (0.13 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                    }
                }
            }
    
            return null;
        }
    
        public void getArtifact(Artifact artifact, ArtifactRepository repository)
                throws TransferFailedException, ResourceDoesNotExistException {
            getArtifact(artifact, repository, null, false);
        }
    
        public void getArtifact(Artifact artifact, List<ArtifactRepository> remoteRepositories)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                if (request.getArtifact() instanceof ArtifactWithDependencies) {
                    dependencies = ((ArtifactWithDependencies) request.getArtifact()).getDependencies();
                } else {
                    Artifact pomArtifact = createProjectArtifact(
                            request.getArtifact().getGroupId(),
                            request.getArtifact().getArtifactId(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            RepositoryMetadata metadata = new ArtifactRepositoryMetadata(request.getArtifact());
    
            try {
                repositoryMetadataManager.resolve(metadata, request);
            } catch (RepositoryMetadataResolutionException e) {
                throw new ArtifactMetadataRetrievalException(e.getMessage(), e, request.getArtifact());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                        throw new ArtifactResolutionException(e.getMessage(), artifact, remoteRepositories, e);
                    }
                }
    
                artifact.selectVersion(result.getArtifact().getVersion());
                artifact.setFile(result.getArtifact().getFile());
                artifact.setResolved(true);
    
                if (artifact.isSnapshot()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    if (withinSameGav(relocatedArtifact, a)) {
                        result.setArtifact(relocatedArtifact);
                        return model; // they share same model
                    } else {
                        result.addRelocation(a);
                        a = relocatedArtifact;
                        result.setArtifact(a);
                    }
                } else {
                    return model;
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        @Override
        public List<ProducedArtifact> getArtifacts() {
            org.eclipse.aether.artifact.Artifact pomArtifact = RepositoryUtils.toArtifact(new ProjectArtifact(project));
            org.eclipse.aether.artifact.Artifact projectArtifact = RepositoryUtils.toArtifact(project.getArtifact());
    
            ArrayList<ProducedArtifact> result = new ArrayList<>(2);
            result.add(session.getArtifact(ProducedArtifact.class, pomArtifact));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            Map<String, ArtifactRepository> versionIndex = new HashMap<>();
    
            Metadata metadata = new DefaultMetadata(
                    request.getArtifact().getGroupId(),
                    request.getArtifact().getArtifactId(),
                    MAVEN_METADATA_XML,
                    Metadata.Nature.RELEASE_OR_SNAPSHOT);
    
            List<MetadataRequest> metadataRequests =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

                } else if (data instanceof ArtifactDescriptorRequest request) {
                    return "artifact descriptor request for " + request.getArtifact();
                } else if (data instanceof ArtifactRequest request) {
                    return "artifact request for " + request.getArtifact();
                } else if (data instanceof Plugin plugin) {
                    return "plugin request " + plugin.getId();
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java

         */
        AuthenticationInfo getAuthenticationInfo(String id);
    
        ProxyInfo getProxy(String protocol);
    
        void getArtifact(Artifact artifact, ArtifactRepository repository)
                throws TransferFailedException, ResourceDoesNotExistException;
    
        void getArtifact(Artifact artifact, List<ArtifactRepository> remoteRepositories)
                throws TransferFailedException, ResourceDoesNotExistException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolver.java

         */
    
        public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) {
            try {
                ArtifactVersion version1 = node1.getArtifact().getSelectedVersion();
                ArtifactVersion version2 = node2.getArtifact().getSelectedVersion();
    
                return version1.compareTo(version2) <= 0 ? node1 : node2;
            } catch (OverConstrainedVersionException exception) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top