Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for toArtifacts (0.24 sec)

  1. maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            return result;
        }
    
        public static void toArtifacts(
                Collection<org.apache.maven.artifact.Artifact> artifacts,
                Collection<? extends DependencyNode> nodes,
                List<String> trail,
                DependencyFilter filter) {
            for (DependencyNode node : nodes) {
                org.apache.maven.artifact.Artifact artifact = toArtifact(node.getDependency());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 16K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

        }
    
        private List<org.eclipse.aether.artifact.Artifact> toAetherArtifacts(final List<Artifact> pluginArtifacts) {
            return new ArrayList<>(RepositoryUtils.toArtifacts(pluginArtifacts));
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

            Set<Artifact> artifacts = new LinkedHashSet<>();
            if (result.getDependencyGraph() != null
                    && !result.getDependencyGraph().getChildren().isEmpty()) {
                RepositoryUtils.toArtifacts(
                        artifacts,
                        result.getDependencyGraph().getChildren(),
                        Collections.singletonList(project.getArtifact().getId()),
                        collectionFilter);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        @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) {
            File file = getService(ArtifactManager.class)
                    .getPath(artifact)
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  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/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            pd.setArtifacts(Collections.singletonList(artifact));
            DefaultDependencyNode node = new DefaultDependencyNode(
                    new org.eclipse.aether.graph.Dependency(RepositoryUtils.toArtifact(artifact), "compile"));
            pd.setDependencyNode(node);
    
            MojoDescriptor md = new MojoDescriptor();
            md.setGoal("my-goal");
            md.setPluginDescriptor(pd);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                ArtifactResult result;
    
                try {
                    ArtifactRequest artifactRequest = new ArtifactRequest();
                    artifactRequest.setArtifact(RepositoryUtils.toArtifact(artifact));
                    artifactRequest.setRepositories(RepositoryUtils.toRepos(remoteRepositories));
    
                    // Maven 2.x quirk: an artifact always points at the local repo, regardless whether resolved or not
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
Back to top