Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for setArtifact (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

                    event.getArtifact(),
                    event.getException().getMessage());
        }
    
        @Override
        public void artifactDescriptorMissing(RepositoryEvent event) {
            logger.warn("The POM for {} is missing, no dependency information available", event.getArtifact());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                trackingFile = trackingDir.resolve(baseName + ext);
                if (Files.exists(trackingFile)) {
                    return;
                }
    
                if (event.getArtifact() != null) {
                    trackingData.add(indent + event.getArtifact());
                    indent += "  ";
                }
                trackingData.add(indent + plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                for (MavenProject project : session.getMavenSession().getAllProjects()) {
                    if (id.equals(id(project.getArtifact()))
                            && project.getArtifact().getFile() != null) {
                        return Optional.of(project.getArtifact().getFile().toPath());
                    }
                }
            }
            Path path = paths.get(id);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

                throw result.getErrorArtifactExceptions().get(0);
            }
    
            if (result.hasMissingArtifacts()) {
                throw new MultipleArtifactsNotFoundException(
                        request.getArtifact(),
                        toList(result.getArtifacts()),
                        result.getMissingArtifacts(),
                        request.getRemoteRepositories());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K 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