Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for getDependencyConflictId (0.2 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            assertTrue(a.getScope().equals("test"), "Incorrect scope for " + a.getDependencyConflictId());
    
            // transitive dep, overridden b depMgmt
            assertTrue(b.getScope().equals("runtime"), "Incorrect scope for " + b.getDependencyConflictId());
    
            // direct dep, overrides depMgmt
            assertTrue(c.getScope().equals("runtime"), "Incorrect scope for " + c.getDependencyConflictId());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            parents.add(parent.getKey());
            this.parent = parent;
        }
    
        public Artifact getArtifact() {
            return artifact;
        }
    
        public Object getKey() {
            return artifact.getDependencyConflictId();
        }
    
        public void addDependencies(
                Set<Artifact> artifacts, List<ArtifactRepository> remoteRepositories, ArtifactFilter filter)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            assertEquals(groupId + ":" + artifactId + ":" + type + ":" + classifier, artifact.getDependencyConflictId());
        }
    
        @Test
        void testGetDependencyConflictIdNullGroupId() {
            artifact.setGroupId(null);
            assertEquals(null + ":" + artifactId + ":" + type + ":" + classifier, artifact.getDependencyConflictId());
        }
    
        @Test
        void testGetDependencyConflictIdNullClassifier() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                for (Dependency dependency : dependencies) {
                    Artifact artifact = createDependencyArtifact(dependency);
                    if (!artifacts.containsKey(artifact.getDependencyConflictId())) {
                        artifacts.put(artifact.getDependencyConflictId(), artifact);
                    }
                }
    
                for (Artifact artifact : artifacts.values()) {
                    try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java

                Artifact artifact = (Artifact) aSet;
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Scope: " + artifact.getScope());
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java

                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        }
    
        /** {@inheritDoc} */
        public String getId() {
            return artifact.getId();
        }
    
        /** {@inheritDoc} */
        public String getDependencyConflictId() {
            return artifact.getDependencyConflictId();
        }
    
        /** {@inheritDoc} */
        public void addMetadata(ArtifactMetadata metadata) {
            artifact.addMetadata(metadata);
        }
    
        /** {@inheritDoc} */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top