Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for toArtifacts (0.17 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            }
            return dep;
        }
    
        @Override
        public List<org.eclipse.aether.artifact.Artifact> toArtifacts(Collection<Artifact> artifacts) {
            return artifacts == null ? null : map(artifacts, this::toArtifact);
        }
    
        @Override
        public org.eclipse.aether.artifact.Artifact toArtifact(Artifact artifact) {
            Path path = getService(ArtifactManager.class).getPath(artifact).orElse(null);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                }
    
                Set<Artifact> artifacts = new LinkedHashSet<>();
                if (resolutionResult.getDependencyGraph() != null) {
                    RepositoryUtils.toArtifacts(
                            artifacts,
                            resolutionResult.getDependencyGraph().getChildren(),
                            Collections.singletonList(project.getArtifact().getId()),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultLocalRepositoryManager.java

        public Path getPathForLocalArtifact(Session session, LocalRepository local, Artifact artifact) {
            InternalSession s = InternalSession.from(session);
            String path = getManager(s, local).getPathForLocalArtifact(s.toArtifact(artifact));
            return local.getPath().resolve(path);
        }
    
        @Override
        public Path getPathForRemoteArtifact(
                Session session, LocalRepository local, RemoteRepository remote, Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java

                List<ArtifactRequest> requests = new ArrayList<>();
                for (ArtifactCoordinate coord : request.getCoordinates()) {
                    org.eclipse.aether.artifact.Artifact aetherArtifact = session.toArtifact(coord);
                    Artifact artifact = session.getArtifact(aetherArtifact);
                    Path path = artifactManager.getPath(artifact).orElse(null);
                    if (path != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    // attached artifacts
                    project.getAttachedArtifacts().stream());
            return artifacts.map(RepositoryUtils::toArtifact);
        }
    
        private boolean isRegularFile(Artifact artifact) {
            return artifact.getFile() != null && artifact.getFile().isFile();
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top