Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for getArtifacts (0.11 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. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        @Override
        public List<ProducedArtifact> getArtifacts() {
            org.eclipse.aether.artifact.Artifact pomArtifact = RepositoryUtils.toArtifact(new ProjectArtifact(project));
            org.eclipse.aether.artifact.Artifact projectArtifact = RepositoryUtils.toArtifact(project.getArtifact());
    
            ArrayList<ProducedArtifact> result = new ArrayList<>(2);
            result.add(session.getArtifact(ProducedArtifact.class, pomArtifact));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/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");
            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
    - 3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/UnresolvedArtifacts.java

            this.remoteRepositories = remoteRepositories;
        }
    
        public Artifact getOriginatingArtifact() {
            return originatingArtifact;
        }
    
        public List<Artifact> getArtifacts() {
            return artifacts;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            return remoteRepositories;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

    /**
     * The Artifact Result
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactResolverResult {
        /**
         * @return {@link Artifact}
         */
        @Nonnull
        Collection<DownloadedArtifact> getArtifacts();
    
        @Nullable
        Path getPath(Artifact artifact);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top