Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 81 for getArtifact (0.07 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

         *
         * @return a Map of artifacts, never {@code null}
         * @see #getArtifacts()
         */
        public Map<String, Artifact> getArtifactMap() {
            if (artifactMap == null) {
                artifactMap = ArtifactUtils.artifactMapByVersionlessId(getArtifacts());
            }
    
            return artifactMap;
        }
    
        public boolean equals(Object object) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ResolutionGroup.java

        }
    
        public Artifact getPomArtifact() {
            return pomArtifact;
        }
    
        public Artifact getRelocatedArtifact() {
            return relocatedArtifact;
        }
    
        public Set<Artifact> getArtifacts() {
            return artifacts;
        }
    
        public List<ArtifactRepository> getResolutionRepositories() {
            return resolutionRepositories;
        }
    
        public Map<String, Artifact> getManagedVersions() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * if any. Hence, the list returned by this method depends on which lifecycle step of the build was it invoked.
         * The head of returned list is result of {@link Project#getArtifacts()} method, so same applies here: the list can have
         * minimum of one element. The maximum number of elements is in turn dependent on build configuration and lifecycle
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            System.out.println("Project " + project1.getId() + " " + project1);
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                    relatedMetadata.put(snapshotKey, (MergeableMetadata) metadata);
                }
            }
    
            artifact.setResolvedVersion(result.getArtifacts().iterator().next().getVersion());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java

            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
    
            for (Object aSet : set) {
                Artifact artifact = (Artifact) aSet;
    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/t04/ProjectInheritanceTest.java

            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            assertTrue(set.size() == 3, "Set size should be 3, is " + set.size());
    
            for (Object aSet : set) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

        public void addArtifact(Artifact artifact) {
            if (artifacts == null) {
                artifacts = new LinkedHashSet<>();
            }
    
            artifacts.add(artifact);
        }
    
        public Set<Artifact> getArtifacts() {
            return artifacts;
        }
    
        public void addRequestedArtifact(Artifact artifact) {
            if (requestedArtifacts == null) {
                requestedArtifacts = new LinkedHashSet<>();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

        public void addArtifact(Artifact artifact) {
            if (artifacts == null) {
                artifacts = new LinkedHashSet<>();
            }
    
            artifacts.add(artifact);
        }
    
        public Set<Artifact> getArtifacts() {
            if (artifacts == null) {
                artifacts = new LinkedHashSet<>();
            }
    
            return artifacts;
        }
    
        public void setArtifacts(Set<Artifact> artifacts) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top