Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for toArtifacts (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/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));
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. impl/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);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. impl/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()),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            return new ArrayList<>(RepositoryUtils.toArtifacts(pluginArtifacts));
        }
    
        private List<Artifact> toMavenArtifacts(DependencyResult dependencyResult) {
            return dependencyResult.getDependencyNodeResults().stream()
                    .filter(n -> n.getArtifact().getPath() != null)
                    .map(n -> RepositoryUtils.toArtifact(n.getDependency()))
                    .toList();
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/RepositoryUtilsTest.java

    class RepositoryUtilsTest {
    
        @Test
        void testToArtifactMethodsReturnNullWhenInputParameterIsNull() {
            assertNull(RepositoryUtils.toArtifact((Dependency) null));
            assertNull(RepositoryUtils.toArtifact((Artifact) null));
            assertNull(RepositoryUtils.toArtifact((org.apache.maven.artifact.Artifact) null));
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 28 09:44:37 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. impl/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",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

                }
                throw new IllegalArgumentException(message);
            }
            getMavenProject(project)
                    .addAttachedArtifact(
                            RepositoryUtils.toArtifact(getSession(project).toArtifact(artifact)));
            artifactManager.setPath(artifact, path);
        }
    
        @Nonnull
        @Override
        public Collection<SourceRoot> getSourceRoots(@Nonnull Project project) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

            request.setTrace(RequestTrace.newChild(null, legacySupport.getSession().getCurrentProject()));
    
            org.eclipse.aether.artifact.Artifact mainArtifact = RepositoryUtils.toArtifact(artifact);
            mainArtifact = mainArtifact.setFile(source);
            request.addArtifact(mainArtifact);
    
            String versionKey = artifact.getGroupId() + ':' + artifact.getArtifactId();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                            delegate.getMojoDescriptor().getPluginDescriptor().getPluginArtifact();
                    org.eclipse.aether.artifact.Artifact resolverArtifact = RepositoryUtils.toArtifact(artifact);
                    return resolverArtifact != null ? session.getArtifact(resolverArtifact) : null;
                }
    
                @Override
                public Map<String, Dependency> getDependenciesMap() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java

                if (decorated != null) {
                    session = decorated;
                }
            }
    
            CollectRequest collect = new CollectRequest();
            collect.setRootArtifact(RepositoryUtils.toArtifact(project.getArtifact()));
            collect.setRequestContext("project");
            collect.setRepositories(project.getRemoteProjectRepositories());
    
            if (project.getDependencyArtifacts() == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top