Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getDependency (0.1 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            List<DependencyNode> nodes = collectResult.getRoot().getChildren();
            assertEquals(2, nodes.size());
            checkUtSimpleArtifactDependencies(
                    nodes.get(0).getDependency(), nodes.get(1).getDependency());
        }
    
        @Test
        void testResolveArtifact() throws Exception {
            Artifact artifact = new DefaultArtifact("ut.simple:artifact:1.0");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/VersionNotFoundException.java

        private static String formatLocationInPom(Dependency dependency) {
            return "Dependency: " + ArtifactUtils.versionlessKey(dependency.getGroupId(), dependency.getArtifactId());
        }
    
        public Dependency getDependency() {
            return dependency;
        }
    
        public String getProjectId() {
            return projectId;
        }
    
        public File getPomFile() {
            return pomFile;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

        /**
         * @return artifact for this node
         */
        @Nullable
        Artifact getArtifact();
    
        /**
         * @return dependency for this node
         */
        @Nullable
        Dependency getDependency();
    
        /**
         * Gets the child nodes of this node.
         *
         * @return the child nodes of this node, never {@code null}
         */
        @Nonnull
        List<Node> getChildren();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                    return Collections.unmodifiableMap(node.stream()
                            .filter(Objects::nonNull)
                            .map(Node::getDependency)
                            .filter(Objects::nonNull)
                            .collect(Collectors.toMap(d -> d.getGroupId() + ":" + d.getArtifactId(), d -> d)));
                }
            };
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                List<String> trail,
                DependencyFilter filter) {
            for (DependencyNode node : nodes) {
                org.apache.maven.artifact.Artifact artifact = toArtifact(node.getDependency());
    
                List<String> nodeTrail = new ArrayList<>(trail.size() + 1);
                nodeTrail.addAll(trail);
                nodeTrail.add(artifact.getId());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top