Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for toArtifacts (0.21 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/plugin/internal/DefaultMavenPluginManager.java

                        e);
            }
        }
    
        private List<org.eclipse.aether.artifact.Artifact> toAetherArtifacts(final List<Artifact> pluginArtifacts) {
            return new ArrayList<>(RepositoryUtils.toArtifacts(pluginArtifacts));
        }
    
        private List<Artifact> toMavenArtifacts(DependencyResult dependencyResult) {
            List<Artifact> artifacts =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. maven-core/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 Mar 24 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

            this.repoSystem = repoSystem;
            this.dependenciesValidators = dependenciesValidators;
        }
    
        private Artifact toArtifact(Plugin plugin, RepositorySystemSession session) {
            return new DefaultArtifact(
                    plugin.getGroupId(),
                    plugin.getArtifactId(),
                    null,
                    "jar",
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        @Override
        public void attachArtifact(Project project, Artifact artifact, Path path) {
            getMavenProject(project)
                    .addAttachedArtifact(RepositoryUtils.toArtifact(
                            ((DefaultProject) project).getSession().toArtifact(artifact)));
            artifactManager.setPath(artifact, path);
        }
    
        @Override
        public List<Path> getCompileSourceRoots(Project project, ProjectScope scope) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                return delegate.pathOf(RepositoryUtils.toArtifact(artifact.setVersion(artifact.getBaseVersion())));
            }
            return delegate.pathOf(RepositoryUtils.toArtifact(artifact));
        }
    
        public String getPathForRemoteArtifact(Artifact artifact, RemoteRepository repository, String context) {
            return delegate.pathOf(RepositoryUtils.toArtifact(artifact));
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        }
    
        @Nonnull
        @Override
        public List<Artifact> getArtifacts() {
            org.eclipse.aether.artifact.Artifact pomArtifact = RepositoryUtils.toArtifact(new ProjectArtifact(project));
            org.eclipse.aether.artifact.Artifact projectArtifact = RepositoryUtils.toArtifact(project.getArtifact());
    
            ArrayList<Artifact> result = new ArrayList<>(2);
            result.add(session.getArtifact(pomArtifact));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultVersionRangeResolver.java

            try {
                VersionRangeResult res = repositorySystem.resolveVersionRange(
                        session.getSession(),
                        new VersionRangeRequest(
                                session.toArtifact(request.getArtifactCoordinate()),
                                session.toRepositories(session.getRemoteRepositories()),
                                null));
    
                Map<String, ArtifactRepository> repos =
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Dec 08 09:10:49 GMT 2023
    - 4.2K bytes
    - Viewed (0)
Back to top